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
|
||||
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"
|
||||
|
||||
before install:
|
||||
setupTask()
|
||||
task buildExamples, "Build switch examples":
|
||||
exec "switch_build --author='jyapayne' --version='1.0.0' examples/helloworld/helloworld.nim"
|
||||
|
||||
#before install:
|
||||
# setupTask()
|
||||
|
||||
task test, "Run tests":
|
||||
exec "nim c -r tests/test.nim"
|
||||
|
|
|
|||
|
|
@ -25,8 +25,6 @@ filter=lock
|
|||
gitremote = "https://github.com/switchbrew/libnx"
|
||||
gitsparse = """
|
||||
nx/include/*
|
||||
nx/source/*
|
||||
nx/external/bsd/*
|
||||
"""
|
||||
|
||||
[n.after]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue