libnx/.doozer.json
2018-05-19 16:23:36 -04:00

40 lines
761 B
JSON

{
"targets": {
"lib": {
"buildenv": "docker:devkitpro/devkita64",
"environment": {
"DEVKITPRO": "/opt/devkitpro",
},
"buildcmd": [
"sudo -E make -j${PARALLEL} install",
"git clone --depth 1 https://github.com/switchbrew/switch-examples",
"make -C switch-examples/"
]
},
"docs": {
// Only invoke docs target when building from master branch
"branch": "master",
"buildenv": "xenial-amd64",
"builddeps": [
"doxygen"
],
"buildcmd": [
"cd nx", "doxygen"
],
"artifacts": [{
"source": "nx/docs/html",
"destination": {
"type": "git",
"branch": "gh-pages"
}
}]
}
}
}