Last change
on this file since 37063 was 37063, checked in by davidb, 16 months ago |
Script to simplify recreating the .tar.gz after code changes made to the fork
|
-
Property svn:executable
set to
*
|
File size:
670 bytes
|
Line | |
---|
1 | #!/bin/bash
|
---|
2 |
|
---|
3 |
|
---|
4 |
|
---|
5 | if [ ! -d mirador-integration-annotations-gitfork ] ; then
|
---|
6 | echo "No such directory 'mirador-integration-annotations-gitfork'" 1>&2
|
---|
7 | echo "=> Nothing to clean and tar-up" 1>&2
|
---|
8 | exit 1
|
---|
9 | fi
|
---|
10 |
|
---|
11 | cd mirador-integration-annotations-gitfork \
|
---|
12 | && /bin/rm -rf node_modules package-lock.json webpack/dist-gs-annotations \
|
---|
13 | && cd ..
|
---|
14 |
|
---|
15 | if [ $? = 0 ] ; then
|
---|
16 | echo ""
|
---|
17 | echo "Away to freshly tar up: mirador-integration-annotations-gitfork.tar.gz"
|
---|
18 | echo ""
|
---|
19 |
|
---|
20 | tar cvzf mirador-integration-annotations-gitfork.tar.gz mirador-integration-annotations-gitfork
|
---|
21 | else
|
---|
22 | echo "Error encountered removed npm/webpack generated files" 1>&2
|
---|
23 | fi
|
---|
24 |
|
---|
25 |
|
---|
26 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.