updated make

This commit is contained in:
Leon van Kammen 2023-03-30 15:44:29 +02:00
parent 0608483492
commit cace67d02c
1 changed files with 5 additions and 0 deletions

5
make
View File

@ -30,5 +30,10 @@ tests(){
grep error /tmp/log.txt && exit 1 || exit 0
}
doc(){
extract(){ cat $1 | awk '/\/\/ / { gsub(".*// ","",$0); print $0; }'; }
extract src/xrfragment/Url.hx > doc/url.md
}
test -z $1 && { try rm dist/* ; haxe build.hxml; exit $?; }
test -z $1 || "$@"