File: prep_mac.sh

package info (click to toggle)
stringtie 3.0.3%2Bds-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 14,888 kB
  • sloc: cpp: 32,956; sh: 448; python: 429; makefile: 146
file content (21 lines) | stat: -rwxr-xr-x 738 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/env bash
ver=$(fgrep '#define VERSION ' stringtie.cpp)
ver=${ver#*\"}
ver=${ver%%\"*}
pack=stringtie-$ver
macpack=$pack.OSX_x86_64
echo "preparing $macpack.tar.gz"
echo "-------------------"
/bin/rm -rf $macpack
/bin/rm -f $macpack.tar.gz
mkdir -p $macpack/tests
make clean
make release
cp -p LICENSE README.md run_tests.sh stringtie prepDE.py prepDE.py3 $macpack/
cp -p tests/README.md $macpack/tests/
#cp -r tests_exp_out $macpack/
tar cvfz $macpack.tar.gz $macpack
ls -l $macpack.tar.gz
#echo "If you're on igmN machines you can also update the web files:"
echo "scp $macpack.tar.gz  salz:~/html/software/stringtie/dl/"
#echo "perl -i -pe 's/stringtie-[0123]\.\d+\./stringtie-$ver./g' ~/html/software/stringtie/index.shtml"