Crystal bindings: build stuff.
parent
23de66befc
commit
1269b55c05
|
@ -14,3 +14,12 @@ valgrind:
|
||||||
|
|
||||||
run:
|
run:
|
||||||
LD_LIBRARY_PATH=$(LDPATH) $(SRC)
|
LD_LIBRARY_PATH=$(LDPATH) $(SRC)
|
||||||
|
|
||||||
|
run-pongd:
|
||||||
|
LD_LIBRARY_PATH=$(LDPATH) ./bin/pongd
|
||||||
|
|
||||||
|
build-pongd:
|
||||||
|
CRYSTAL_LIBRARY_PATH=$(LDPATH) shards build pongd
|
||||||
|
|
||||||
|
run-test:
|
||||||
|
crystal run src/libauth.cr
|
||||||
|
|
|
@ -5,8 +5,10 @@ authors:
|
||||||
- Philippe Pittoli <karchnu@karchnu.fr>
|
- Philippe Pittoli <karchnu@karchnu.fr>
|
||||||
|
|
||||||
targets:
|
targets:
|
||||||
some-crystal-app:
|
main:
|
||||||
main: src/some-crystal-app.cr
|
main: src/main.cr
|
||||||
|
pongd:
|
||||||
|
main: src/pongd.cr
|
||||||
|
|
||||||
crystal: 1.7.1
|
crystal: 1.7.1
|
||||||
|
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
require "./some-crystal-app.cr"
|
require "./main.cr"
|
||||||
|
|
||||||
# In 5 messages: quit
|
# In 5 messages: quit
|
||||||
count = 5
|
count = 5
|
||||||
|
|
Reference in New Issue