We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1e91292 commit 3f8a7ddCopy full SHA for 3f8a7dd
1 file changed
build.sh
100644
100755
@@ -1,21 +1,4 @@
1
#!/bin/bash
2
-${1?"Usage: $0 VERSION"}
3
-version=$1
+version=`cat VERSION`
4
echo "Building vdebug version $version"
5
-echo
6
-echo " -> Running tests"
7
-if python vdebugtests.py
8
-then
9
- echo " -> OK."
10
- echo " -> Creating tar from working directory..."
11
- if tar -cvzf vdebug-$version.tar.gz doc/Vdebug.txt plugin syntax tests HISTORY LICENCE README.md requirements.txt vdebugtests.py VERSION
12
- then
13
- echo " -> OK, created tar at vdebug-$version.tar.gz."
14
- else
15
- echo " -> ERROR: failed to build tar, exiting"
16
- exit 1
17
- fi
18
-else
19
- echo " -> ERROR: tests failed, exiting"
20
21
-fi
+tar -cvzf vdebug-$version.tar.gz doc/Vdebug.txt plugin syntax tests CHANGELOG LICENCE README.md requirements.txt vdebugtests.py VERSION
0 commit comments