2016-05-02 13:49:18 +00:00
|
|
|
{
|
|
|
|
"app-id": "org.test.Hello2",
|
|
|
|
"runtime": "org.test.Platform",
|
|
|
|
"sdk": "org.test.Sdk",
|
|
|
|
"command": "hello2.sh",
|
|
|
|
"tags": ["test"],
|
|
|
|
"finish-args": [
|
|
|
|
"--share=network"
|
|
|
|
],
|
|
|
|
"build-options" : {
|
|
|
|
"cflags": "-O2 -g",
|
|
|
|
"cxxflags": "-O2 -g",
|
|
|
|
"env": {
|
|
|
|
"FOO": "bar",
|
|
|
|
"V": "1"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"cleanup": ["/cleanup", "*.cleanup"],
|
|
|
|
"cleanup-commands": [ "touch /app/cleaned_up" ],
|
|
|
|
"modules": [
|
|
|
|
{
|
|
|
|
"name": "test",
|
|
|
|
"config-opts": ["--some-arg"],
|
|
|
|
"post-install": [ "touch /app/bin/file.cleanup" ],
|
|
|
|
"make-args": ["BAR=2" ],
|
|
|
|
"make-install-args": ["BAR=3" ],
|
|
|
|
"sources": [
|
|
|
|
{
|
|
|
|
"type": "file",
|
2016-05-02 15:18:00 +00:00
|
|
|
"path": "test-configure",
|
2016-05-02 13:49:18 +00:00
|
|
|
"dest-filename": "configure",
|
2016-05-17 10:26:43 +00:00
|
|
|
"sha256": "675a1ac2feec4d4f54e581b4b01bc3cfd2c1cf31aa5963574d31228c8a11b7e7"
|
2016-05-02 13:49:18 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "file",
|
|
|
|
"path": "app-data"
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "script",
|
|
|
|
"dest-filename": "hello2.sh",
|
|
|
|
"commands": [ "echo \"Hello world2, from a sandbox\"" ]
|
|
|
|
},
|
|
|
|
{
|
|
|
|
"type": "shell",
|
|
|
|
"commands": [
|
|
|
|
"mkdir /app/cleanup/",
|
|
|
|
"touch /app/cleanup/a_file"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|