1
0
mirror of https://github.com/janet-lang/janet synced 2025-10-16 16:27:40 +00:00

Change test-install

This commit is contained in:
Calvin Rose
2019-05-28 12:59:21 -04:00
parent 09ab391d13
commit f12f896020
5 changed files with 12 additions and 13 deletions

View File

@@ -1,11 +0,0 @@
(import cook)
(cook/make-native
:name "testmod"
:source @["testmod.c"])
(import build/testmod :as testmod)
(if (not= 5 (testmod/get5)) (error "testmod/get5 failed"))
(print "OK!")

View File

@@ -0,0 +1,7 @@
(declare-project
:name "testmod")
(declare-native
:name "testmod"
:source @["testmod.c"])

View File

@@ -0,0 +1,3 @@
(import build/testmod :as testmod)
(if (not= 5 (testmod/get5)) (error "testmod/get5 failed"))