Skip to content

Commit

Permalink
Add help to pack command
Browse files Browse the repository at this point in the history
  • Loading branch information
dennisjbell committed Sep 9, 2023
1 parent 33914b1 commit 6ae203d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pack
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ use MIME::Base64 qw(encode_base64);
use POSIX qw(strftime);

######################################################################
if (grep {/^(-h|--help)$/} @ARGV) {
printf STDERR "usage: ./pack [<version> [<output path/file>]]\n\n";
exit 0;
}

system "perl -c -Ilib bin/genesis";
die "Perl compilation failed, not packing\n" if $?;
Expand Down

0 comments on commit 6ae203d

Please sign in to comment.