M .build.yml => .build.yml +2 -1
@@ 5,6 5,7 @@ packages:
- netcat
- cmake
- clang
+ - vim
tasks:
- test: |
- cd baal && make && bash test.sh
+ cd baal && . dev && make && bash test.sh
M Makefile => Makefile +0 -2
@@ 14,8 14,6 @@ all: baal
init:
mkdir -p bin
- -@[ ! -f bin/libcjson.so ] && ln -s ../libs/cJSON/build/libcjson.so bin/libcjson.so \
- || echo "libcjson symlink already exists"
-@[ ! -f include/cJSON.h ] && ln -s ../libs/cJSON/cJSON.h include/cJSON.h \
|| echo "include/cJSON.h symlink already exists"
-@[ ! -f config.mk ] && \
M dev => dev +1 -0
@@ 2,3 2,4 @@
# Setup your shell for baal dev, usage: $ . dev
alias baal='./bin/baal'
alias test='make && bash test.sh'
+export LD_LIBRARY_PATH=$(pwd)/libs/cJSON/build # Find cJSON libs in bin