aap.bash
Version:
language-agnostic buildpacks using aap.json: a npm-inspired, highlevel dependecy manager/buildtool using bash+git
40 lines (39 loc) • 1.23 kB
JSON
{
"name": "foobar",
"version": "1.0.0",
"description": "",
"website": "https://small-sharp-tool.com/",
"repository": "https://github.com/jane-doe/small-sharp-tool",
"logo": "https://small-sharp-tool.com/logo.svg",
"scripts": {
"postinstall": ["install_modules"]
"postdeploy": ["start"],
"start": "echo start",
"stop": "echo stop",
"build": "echo build",
"backup": "zip -r data-`date +`.zip data",
"test": "echo "Error: no test specified" && exit 0",
"install_modules":"which npm && npm install; which composer && composer install"
},
"dependencies":{
"mypythonpackage:python/mypythonpackage": "pip://mypythonpackage",
"myphppackage": "composer://myphppackage",
"css2js": "npm://css2js",
"mygitrepo.git": "ssh+git://user@github.com/username/mygitrepo.git",
"mybbrepo.git": "ssh+git://user@bitbucket.org/username/mybbrepo.git",
},
"env": {
"ADMIN_PASSWD": {
"description": "A secret key for verifying the integrity of signed cookies.",
"file": "data/.pw"
},
"WEB_CONCURRENCY": {
"description": "The number of processes to run.",
"value": "5"
}
},
"devDependencies":{
},
"author": "",
"license": "ISC"
}