nifty.json
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 |
{ "storage": "packages", "commands": { "install": { "git+src": { "cmd": "git clone {{src}} --depth 1" }, "git+src+tag": { "cmd": "git clone --branch {{tag}} {{src}} --depth 1" }, "curl+src+name": { "cmd": "curl {{src}} -o {{name}}" }, "_syntax": "install [<package>]", "_description": "Installs the specified package (or all mapped packages) to the storage directory." }, "update": { "git+name": { "cmd": "git pull", "pwd": "{{name}}" }, "curl+src+name": { "cmd": "curl {{src}} -o {{name}}" }, "_syntax": "update [<package>]", "_description": "Updates the specified previously-installed package (or all packages)." }, "upgrade": { "_syntax": "upgrade [<package>]", "_description": "Upgrades the specified previously-installed package (or all packages).", "git+name": { "cmd": "git pull", "pwd": "{{name}}" }, "curl+src+name": { "cmd": "curl {{src}} -o {{name}}" } } }, "packages": { "nim-sgregex": { "name": "nim-sgregex", "src": "https://github.com/h3rald/nim-sgregex.git", "git": true }, "nim-miniz": { "name": "nim-miniz", "src": "https://github.com/h3rald/nim-miniz.git", "git": true }, "nimSHA2": { "name": "nimSHA2", "src": "https://github.com/jangko/nimSHA2.git", "git": true }, "sha1": { "name": "sha1", "src": "https://github.com/onionhammer/sha1.git", "git": true }, "nimline": { "name": "nimline", "src": "https://github.com/h3rald/nimline.git", "git": true }, "niftylogger.nim": { "name": "niftylogger.nim", "src": "https://raw.githubusercontent.com/h3rald/nifty/master/lib/niftylogger.nim", "curl": true } } } |