-
Notifications
You must be signed in to change notification settings - Fork 1
/
copy_to_web.sh
executable file
·55 lines (41 loc) · 1.08 KB
/
copy_to_web.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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash
# copy all for publishing at web page
#echo "OBSOLETE"
#echo "OBSOLETE -- need to check the paths and modify"
#echo "Pack source code and copy them to local web site"
#echo "Running ..."
VERSION="0.3.30"
# build html
echo "Copy documentation"
make html -C doc
cp -r doc/_build/html/* ~/dokumenty/web/spilkaj2015ciirc/software/CTGViewer/
#echo "Pack and copy source files and documentation"
#FILE="CTGViewer-$VERSION.zip"
#DIR="CTGViewer-$VERSION"
#echo $FILE
# remove existing
#rm $FILE
# new dir
#mkdir $DIR
#
#echo "Copy documentation"
#echo "$DIR/doc"
#mkdir "$DIR/doc"
#cp -r doc/_build/html/* "$DIR/doc"
#echo "Copy source file"
#cp *.py $DIR
#cp *.ui $DIR
#cp *.qrc $DIR
##cp default.ini $DIR
#cp README.md $DIR
#cp LICENSE $DIR
#cp -r unittest_files $DIR
#echo "Packing ...."
#zip -rq $FILE $DIR
#zip -r $FILE *.py *.ui *.qrc default.ini README unittest_files/*
#cp $FILE ~/dokumenty/web/spilkaj2015ciirc/software/
# copy exe files
FILE_EXE="CTGViewer_v${VERSION}_setup.exe"
cp src/build/$FILE_EXE ~/dokumenty/web/spilkaj2015ciirc/software/$FILE_EXE
#rm -r $DIR
echo "DONE"