Skip to content

Commit

Permalink
Fix build scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
paragonie-security committed Sep 13, 2022
1 parent 716deda commit 906e0b9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion build-phar.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ curl -LSs https://box-project.github.io/box2/installer.php | php
mkdir ~/box
mv box.phar ~/box/box
PATH=$PATH:~/box/ make -C dist/ build-phar
# PATH=$PATH:~/box/ make -C dist/ sign-phar
PATH=$PATH:~/box/ make -C dist/ sign-phar

5 changes: 5 additions & 0 deletions dist/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,14 @@ clean:
# Inside workdir/:

sodium-compat.phar: dist/box.json composer.lock
if [ ! -d dist ]; then mkdir dist; fi
if [ ! -f dist/box.json ]; then cp ../dist/box.json dist/box.json; fi
cp dist/box.json .
php -d phar.readonly=0 $(box) build -c box.json -v

dist/box.json:
cp ../box.json box.json

composer.lock:
$(composer) config autoloader-suffix $(gitcommit)
$(composer) install --no-dev
Expand Down

0 comments on commit 906e0b9

Please sign in to comment.