ocu
TypeScript icon, indicating that this package has built-in type declarations

0.1.1 • Public • Published

OCU Package Manager

OpenOS package manager for community driven development

Demo

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

Readme

Keywords

none

Package Sidebar

Install

npm i ocu

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

212 kB

Total Files

18

Last publish

Collaborators

  • 0x77