0.1.1 • Published 4 years ago
ocu v0.1.1
OCU Package Manager
OpenOS package manager for community driven development
Demo

Installing
wget -f https://raw.githubusercontent.com/0x77dev/ocu/dist/get.lua /tmp/ocu-get && cd /tmp && ocu-getpaste following into OpenOS Terminal
Example
ocu install 0x77dev/ocu-example@masterUpdating
ocu updateCreating own package
ocu will execute install.lua file at repo root, and provides toolchain called ocu-lib
Example install.lua
local ____ocu_2Dlib = require("ocu-lib")
local getGitHubFileUrl = ____ocu_2Dlib.getGitHubFileUrl
local getFiles = ____ocu_2Dlib.getFiles
local files = {
["/bin/ocu-example.lua"] = getGitHubFileUrl(nil, "ocu-example.lua", "master", "0x77dev/ocu-example")
}
print("OCU-Example installer")
getFiles(nil, files)