Skip to content

Commit

Permalink
Update build script for github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
vjf committed Aug 29, 2024
1 parent 27d3da8 commit 49f8d4a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions web_build/build_api_dir.sh
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
# Use the 'make_boreholes.py' script to create the sqlite db
#
test "$1" = "" && echo "Usage: `basename $0` <db file>" && exit 1
API_TAR=`date +%Y%m%d`-api.tar
API_TAR=api.tar.gz
\rm -f $API_TAR

# Create data dir and copy in db
Expand All @@ -25,7 +25,7 @@ find api/lib -type f | egrep -v ".*py$" | xargs -iX \rm -f X
find api/lib -type d | grep __pycache__ | xargs -iX \rm -rf X

# Add in data
tar uf $API_TAR ./api
tar cfvz $API_TAR ./api
\rm -rf api

echo "Done. Results are in: $API_TAR"

0 comments on commit 49f8d4a

Please sign in to comment.