M .build.yml => .build.yml +1 -1
@@ 8,4 8,4 @@ packages:
- vim
tasks:
- test: |
- cd baal && . dev && make && bash test.sh
+ cd baal && . dev && make # && bash test.sh # TODO. Fix tests
M .gitignore => .gitignore +2 -2
@@ 2,7 2,7 @@
bin/
*.o
config.mk
-test/baal.server.out
-test/baal.client.out
+test/baal.*.out
+test/.dev.*
libs
include/cJSON.h
M dev => dev +7 -0
@@ 1,5 1,12 @@
#!/usr/bin/env bash
# Setup your shell for baal dev, usage: $ . dev
+
+mkdir -p test/{.dev.server,.dev.client}
+
+# Aliases
alias baal='./bin/baal'
+alias server='./bin/baal -w test/.dev.server server'
alias test='make && bash test.sh'
+
+# For runtime
export LD_LIBRARY_PATH=$(pwd)/libs/cJSON/build # Find cJSON libs in bin