summaryrefslogtreecommitdiff
path: root/raylib.nimble
diff options
context:
space:
mode:
authorOskari Timperi <oskari.timperi@iki.fi>2019-10-27 11:28:56 +0200
committerOskari Timperi <oskari.timperi@iki.fi>2019-10-27 11:28:56 +0200
commit53978c1878176ae21856e6b111d76dd1a80ecbca (patch)
treecc2b5921ecd761b1af92726a3cc93ad672d8477c /raylib.nimble
parentae63588509363363f0da4c156ee4bc59f2902a10 (diff)
downloadnimraylib-53978c1878176ae21856e6b111d76dd1a80ecbca.tar.gz
nimraylib-53978c1878176ae21856e6b111d76dd1a80ecbca.zip
Make it work and add an example
Diffstat (limited to 'raylib.nimble')
-rw-r--r--raylib.nimble17
1 files changed, 1 insertions, 16 deletions
diff --git a/raylib.nimble b/raylib.nimble
index efff637..bff40ad 100644
--- a/raylib.nimble
+++ b/raylib.nimble
@@ -1,26 +1,16 @@
-# Package
-
version = "0.1.0"
author = "Oskari Timperi"
description = "A new awesome nimble package"
license = "Zlib"
-
-
-# Dependencies
-
requires "nim >= 1.0.2"
requires "nimgen >= 0.5.1"
var
name = "raylib"
cmd = when defined(Windows): "cmd /c " else: ""
- ext = when defined(Windows): ".exe" else: ""
- ldpath = when defined(Linux): "LD_LIBRARY_PATH=x64 " else: ""
-
-# mkDir(name)
-task setup, "Checkout and generate":
+task setup, "Generate wrapper with nimgen":
if gorgeEx(cmd & "nimgen").exitCode != 0:
withDir(".."):
exec "nimble install nimgen -y"
@@ -28,8 +18,3 @@ task setup, "Checkout and generate":
before install:
setupTask()
-
-# task test, "Test nimbass":
-# exec "nim c -d:nimDebugDlOpen tests/basstest.nim"
-# withDir("nimbass"):
-# exec ldpath & "../tests/basstest" & ext