Clean up the configs a bit
This commit is contained in:
parent
a5ae425318
commit
a596c86f50
2 changed files with 7 additions and 5 deletions
10
libnx.nimble
10
libnx.nimble
|
|
@ -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"
|
||||||
|
|
|
||||||
|
|
@ -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]
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue