diff options
Diffstat (limited to 'create_dist.sh')
-rwxr-xr-x | create_dist.sh | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/create_dist.sh b/create_dist.sh index 58cdac4..408d05e 100755 --- a/create_dist.sh +++ b/create_dist.sh @@ -1,3 +1,16 @@ #!/bin/sh mkdir luceneanalyzer-0.0.1 +mkdir luceneanalyzer-0.0.1/lib +cp target/luceneanalyzer-0.0.1.jar luceneanalyzer-0.0.1/lib/. +cp target/lib/* luceneanalyzer-0.0.1/lib/. +tar zcvf luceneanalyzer-0.0.1.tgz luceneanalyzer-0.0.1 +rm -rf luceneanalyzer-0.0.1 + +mkdir luceneanalyzer-0.0.1-src +cp -a pom.xml sw src *.txt *.sh luceneanalyzer-0.0.1-src/. +tar zcvf luceneanalyzer-0.0.1-src.tgz luceneanalyzer-0.0.1-src +rm -rf luceneanalyzer-0.0.1-src + +cp *.tgz dist/. + |