We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 11470b8 commit 89aa164Copy full SHA for 89aa164
build.sh
@@ -0,0 +1,21 @@
1
+#!/bin/bash
2
+${1?"Usage: $0 VERSION"}
3
+version=$1
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
0 commit comments