Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (35 sloc) 1.18 KB
{
"app-id": "com.sharedpointer.mdbook",
"version": "master",
"runtime": "org.freedesktop.Platform",
"runtime-version": "1.6",
"sdk": "org.freedesktop.Sdk",
"sdk-extensions": [ "org.freedesktop.Sdk.Extension.rust" ],
"command": "mdbook",
"finish-args": ["--share=network", "--socket=x11", "--filesystem=host" ],
"build-options" : {
"cflags": "-O2 -g",
"cxxflags": "-O2 -g",
"env": {
"V": "1"
},
"build-args": [ "--share=network" ]
},
"cleanup": ["/include", "/lib/*/include", "/lib/pkgconfig", "/share/pkgconfig", "/share/aclocal", "/man", "/share/man", "/share/info", "/share/gtk-doc", "*.la", "*.a" ],
"modules": [
{
"name": "mdBook",
"sources": [
{
"type": "git",
"url": "https://github.com/azerupi/mdBook.git"
}
],
"buildsystem": "simple",
"build-commands": [
"/usr/lib/sdk/rust/install.sh",
"source /usr/lib/sdk/rust/use.sh && cargo build && mkdir -p /app/bin && cp target/debug/mdbook /app/bin"
]
}
]
}