Skip to content

Commit

Permalink
Builder: Ship LICENSE in binary
Browse files Browse the repository at this point in the history
  • Loading branch information
yannoff committed Apr 6, 2024
1 parent 11337e4 commit 39e35aa
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,13 @@ args+=(--output $phar)
# Set the legal banner file
args+=(--banner .banner)

# Add license file
args+=(--file LICENSE)

# Add archive metadata properties
args+=(--meta license:MIT)
args+=(--meta author:yannoff)
args+=(--meta copyright:yannoff)

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

0 comments on commit 39e35aa

Please sign in to comment.