зеркало из https://github.com/mozilla/pluotsorbet.git
37 строки
696 B
Makefile
37 строки
696 B
Makefile
.PHONY: all test tests java certs app clean
|
|
|
|
all: java tests
|
|
|
|
test: all
|
|
rm -f test.log
|
|
killall python Python || true
|
|
python tests/httpServer.py &
|
|
python tests/echoServer.py &
|
|
cd tests && python httpsServer.py &
|
|
cd tests && python sslEchoServer.py &
|
|
casperjs --engine=slimerjs test `pwd`/tests/automation.js > test.log
|
|
killall python Python || true
|
|
python dumplog.py
|
|
if grep -q FAIL test.log; \
|
|
then false; \
|
|
else true; \
|
|
fi
|
|
|
|
tests:
|
|
make -C tests
|
|
|
|
java:
|
|
make -C java
|
|
|
|
certs:
|
|
make -C certs
|
|
|
|
# Makes an output/ directory containing the packaged open web app files.
|
|
app: java certs
|
|
tools/package.sh
|
|
|
|
clean:
|
|
rm -f j2me.js `find . -name "*~"`
|
|
make -C tests clean
|
|
make -C java clean
|