-
Notifications
You must be signed in to change notification settings - Fork 6
/
make-targz.sh
executable file
·35 lines (30 loc) · 1023 Bytes
/
make-targz.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
VERSION="$(cat ./VERSION)"
rm -rf rnaQUAST-$VERSION
mkdir -p rnaQUAST-$VERSION
cp -r ./metrics rnaQUAST-$VERSION/metrics
cp -r ./objects rnaQUAST-$VERSION/objects
cp -r ./general rnaQUAST-$VERSION/general
cp -r ./report rnaQUAST-$VERSION/report
cp -r ./test_data rnaQUAST-$VERSION/test_data
cp -r ./quast_libs rnaQUAST-$VERSION/quast_libs
cp ./LICENSE rnaQUAST-$VERSION
cp ./README.md rnaQUAST-$VERSION
cp ./VERSION rnaQUAST-$VERSION
cp ./rnaQUAST.py rnaQUAST-$VERSION
cp ./manual.html rnaQUAST-$VERSION
cp ./changelog.html rnaQUAST-$VERSION
cp ./fig1.png rnaQUAST-$VERSION
cp ./GPL2.txt rnaQUAST-$VERSION
# cleaning .pyc and .pyo
rm -f rnaQUAST-$VERSION/*.pyc
rm -f rnaQUAST-$VERSION/*.pyo
rm -f rnaQUAST-$VERSION/*/*.pyc
rm -f rnaQUAST-$VERSION/*/*.pyo
rm -f rnaQUAST-$VERSION/*/*/*.pyc
rm -f rnaQUAST-$VERSION/*/*/*.pyo
rm -f rnaQUAST-$VERSION/*~
rm -f rnaQUAST-$VERSION/*/*~
rm -f rnaQUAST-$VERSION/*/*/*~
rm -f rnaQUAST-$VERSION.tar.gz
tar -pczf rnaQUAST-$VERSION.tar.gz rnaQUAST-$VERSION
rm -r rnaQUAST-$VERSION