OCM - OpenOS packge manager for community-driven development in Programs Posted May 11, 2021 OCU Package Manager Open Computers minecraft mod 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-get paste following into OpenOS Terminal Example ocu install 0x77dev/ocu-example@master Updating ocu update Creating 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) Example repo
OCM - OpenOS packge manager for community-driven development
in Programs
Posted
OCU Package Manager
Open Computers minecraft mod 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-get
paste following into OpenOS Terminal
Example
ocu install 0x77dev/ocu-example@master
Updating
ocu update
Creating own package
ocu will execute
install.lua
file at repo root, and provides toolchain calledocu-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)
Example repo