added example artifacts for JPM-enabled build for Janet port of Scoundrel: project.janet and Makefile
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
# Makefile for Scoundrel Janet port JPM build
|
||||||
|
|
||||||
|
JC := jpm build --build-type=release --ldflags="-s"
|
||||||
|
|
||||||
|
all: clean
|
||||||
|
$(JC)
|
||||||
|
|
||||||
|
static: clean
|
||||||
|
$(JC) --janet-cflags="-static"
|
||||||
|
|
||||||
|
clean:
|
||||||
|
jpm clean
|
||||||
|
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
(declare-project
|
||||||
|
:name "scoundrel"
|
||||||
|
:description "A Janet port of Scoundrel roguelike solitaire game")
|
||||||
|
|
||||||
|
(declare-source
|
||||||
|
:source ["scoundrel.janet"])
|
||||||
|
|
||||||
|
(declare-executable
|
||||||
|
:name "scoundrel"
|
||||||
|
:entry "scoundrel.janet"
|
||||||
|
:install true)
|
||||||
Reference in New Issue
Block a user