mirror of
https://github.com/janet-lang/janet
synced 2025-10-16 16:27:40 +00:00
Fix normal native building and make test-install.
Add executable generation testing to make test-install.
This commit is contained in:
2
test/install/.gitignore
vendored
2
test/install/.gitignore
vendored
@@ -1,2 +1,4 @@
|
||||
/build
|
||||
.cache
|
||||
.manifest
|
||||
json.*
|
||||
|
@@ -1 +0,0 @@
|
||||
/home/calvin/code/janet/test/install/json.so
|
@@ -5,3 +5,6 @@
|
||||
:name "testmod"
|
||||
:source @["testmod.c"])
|
||||
|
||||
(declare-executable
|
||||
:name "testexec"
|
||||
:entry "testexec.janet")
|
||||
|
2
test/install/testexec.janet
Normal file
2
test/install/testexec.janet
Normal file
@@ -0,0 +1,2 @@
|
||||
(defn main [&]
|
||||
(print "Hello from executable!"))
|
Reference in New Issue
Block a user