{ "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" } }] } } }