mirror of
https://github.com/switchbrew/libnx.git
synced 2025-07-02 17:52:13 +02:00
37 lines
696 B
JSON
37 lines
696 B
JSON
{
|
|
"targets": {
|
|
"lib": {
|
|
|
|
"buildenv": "docker:devkitpro/devkita64",
|
|
|
|
"buildcmd": [
|
|
"sudo -E make -j${PARALLEL} -C nx 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"
|
|
}
|
|
}]
|
|
}
|
|
}
|
|
}
|