Subversion Repositories Projects

Rev

Rev 559 | Rev 571 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 559 Rev 561
Line 1... Line 1...
1
#! /usr/bin/bash
1
#! /usr/bin/bash
Line -... Line 2...
-
 
2
 
-
 
3
 
-
 
4
VERSION=$(cat CurrVersion.txt)
-
 
5
echo "Vesrion = "$VERSION
2
 
6
 
3
HOME=$(pwd)
7
HOME=$(pwd)
4
DIST=$HOME/dist
8
DIST=$HOME/dist
-
 
9
TMP=$DIST/tmp
Line 5... Line 10...
5
TMP=$DIST/tmp
10
HEXFILE=$HOME/Executables/FlightCtrl/VibrationTest-FC.hex
6
 
11
 
7
echo Python Code...
12
echo Python Code...
8
mkdir $DIST/VibrationTest -p
13
mkdir $DIST/VibrationTest -p
-
 
14
cd $DIST/VibrationTest
Line 9... Line 15...
9
cd $DIST/VibrationTest
15
cp $HOME/VibrationTest/*.py  ./
10
cp $HOME/VibrationTest/*.py  ./
16
cp $HEXFILE ./
11
 
17
 
12
echo Compiled Python Code...
18
echo Compiled Python Code...
Line 23... Line 29...
23
 
29
 
24
mkdir $DIST/VibrationTestExe -p
30
mkdir $DIST/VibrationTestExe -p
25
cd $DIST/VibrationTestExe
31
cd $DIST/VibrationTestExe
Line -... Line 32...
-
 
32
cp $TMP/dist/* ./ -a
-
 
33
 
26
cp $TMP/dist/* ./ -a
34
cp $HEXFILE ./
27
 
35
 
Line 28... Line 36...
28
echo Cleanup...
36
echo Cleanup...
29
rm $TMP -rf
37
rm $TMP -rf
30
 
38
 
31
echo Zipping...
39
echo Zipping...