diff options
author | Craig Earls <enderw88@gmail.com> | 2015-08-06 19:38:39 -0700 |
---|---|---|
committer | Craig Earls <enderw88@gmail.com> | 2015-08-06 19:38:39 -0700 |
commit | 0e82bd0d63bd0a6e9a9c77f0ef55e332b357368c (patch) | |
tree | fea3628fe67824069641f517a659cd88287ffdfc /lib/utfcpp/v2_0/buildrelease.pl | |
parent | 254d82e5eb123feaf87e3f7096a1f8389bac60b3 (diff) | |
parent | 3c2d228ddc74b75122b07a87bbd06263092a9661 (diff) | |
download | fork-ledger-0e82bd0d63bd0a6e9a9c77f0ef55e332b357368c.tar.gz fork-ledger-0e82bd0d63bd0a6e9a9c77f0ef55e332b357368c.tar.bz2 fork-ledger-0e82bd0d63bd0a6e9a9c77f0ef55e332b357368c.zip |
Merge commit '3c2d228ddc74b75122b07a87bbd06263092a9661' into next
Diffstat (limited to 'lib/utfcpp/v2_0/buildrelease.pl')
-rwxr-xr-x | lib/utfcpp/v2_0/buildrelease.pl | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/utfcpp/v2_0/buildrelease.pl b/lib/utfcpp/v2_0/buildrelease.pl new file mode 100755 index 00000000..ed3a17bb --- /dev/null +++ b/lib/utfcpp/v2_0/buildrelease.pl @@ -0,0 +1,18 @@ +#! /usr/bin/perl + +$release_files = 'source/utf8.h source/utf8/core.h source/utf8/checked.h source/utf8/unchecked.h doc/utf8cpp.html doc/ReleaseNotes'; + +# First get the latest version +`svn update`; + +# Then construct the name of the zip file +$argc = @ARGV; +if ($argc > 0) { + $zip_name = $ARGV[0]; +} +else { + $zip_name = "utf8"; +} + +# Zip the files to an archive +`zip $zip_name $release_files`; |