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
-11
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!")
+7
View File
@@ -0,0 +1,7 @@
(declare-project
:name "testmod")
(declare-native
:name "testmod"
:source @["testmod.c"])
+3
View File
@@ -0,0 +1,3 @@
(import build/testmod :as testmod)
(if (not= 5 (testmod/get5)) (error "testmod/get5 failed"))