Skip to content

Commit f9061e5

Browse files
committed
Roave#159 Install box in /tmp
1 parent 9993d6c commit f9061e5

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

build-phar.sh

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,18 @@
22

33
set -e
44

5-
mkdir -p tmp
5+
BOX_DIR="/tmp/box"
6+
7+
mkdir -p ${BOX_DIR}
68

79
# Install humbug/box
8-
composer --working-dir=tmp require humbug/box "^3.8" --no-interaction --no-progress --no-suggest
10+
composer --working-dir=${BOX_DIR} require humbug/box "^3.8" --no-interaction --no-progress --no-suggest
911

1012
# Remove dev dependencies for package distribution
1113
composer install --no-dev
1214

13-
tmp/vendor/bin/box compile
15+
${BOX_DIR}/vendor/bin/box compile
1416

1517
composer install
1618

17-
rm -rf tmp
19+
rm -rf ${BOX_DIR}

0 commit comments

Comments
 (0)