summaryrefslogtreecommitdiff
path: root/raylib.nimble
diff options
context:
space:
mode:
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