Clean up the configs a bit

This commit is contained in:
Joey Yakimowich-Payne 2018-06-22 15:53:20 +09:00
commit a596c86f50
2 changed files with 7 additions and 5 deletions

View file

@ -9,12 +9,16 @@ srcDir = "src"
# Deps # Deps
requires "nim >= 0.18.0", "https://github.com/jyapayne/nimgenEx#head" requires "nim >= 0.18.0", "https://github.com/jyapayne/nimgenEx#head"
requires "https://github.com/jyapayne/switch-build#head"
task setup, "Download and generate": task setup, "Download and generate bindings":
exec "nimgen libnxGen.cfg" exec "nimgen libnxGen.cfg"
before install: task buildExamples, "Build switch examples":
setupTask() exec "switch_build --author='jyapayne' --version='1.0.0' examples/helloworld/helloworld.nim"
#before install:
# setupTask()
task test, "Run tests": task test, "Run tests":
exec "nim c -r tests/test.nim" exec "nim c -r tests/test.nim"

View file

@ -25,8 +25,6 @@ filter=lock
gitremote = "https://github.com/switchbrew/libnx" gitremote = "https://github.com/switchbrew/libnx"
gitsparse = """ gitsparse = """
nx/include/* nx/include/*
nx/source/*
nx/external/bsd/*
""" """
[n.after] [n.after]