Skip to content

Commit 39e35aa

Browse files
committed
Builder: Ship LICENSE in binary
1 parent 11337e4 commit 39e35aa

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

build.sh

+4
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,13 @@ args+=(--output $phar)
4242
# Set the legal banner file
4343
args+=(--banner .banner)
4444

45+
# Add license file
46+
args+=(--file LICENSE)
47+
4548
# Add archive metadata properties
4649
args+=(--meta license:MIT)
4750
args+=(--meta author:yannoff)
4851
args+=(--meta copyright:yannoff)
4952

53+
echo php -dphar.readonly=0 bin/compile.php "${args[@]}"
5054
php -dphar.readonly=0 bin/compile.php "${args[@]}"

0 commit comments

Comments
 (0)