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:
@@ -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
test/install/project.janet
Normal file
7
test/install/project.janet
Normal file
@@ -0,0 +1,7 @@
|
||||
(declare-project
|
||||
:name "testmod")
|
||||
|
||||
(declare-native
|
||||
:name "testmod"
|
||||
:source @["testmod.c"])
|
||||
|
3
test/install/test/test1.janet
Normal file
3
test/install/test/test1.janet
Normal file
@@ -0,0 +1,3 @@
|
||||
(import build/testmod :as testmod)
|
||||
|
||||
(if (not= 5 (testmod/get5)) (error "testmod/get5 failed"))
|
Reference in New Issue
Block a user