posaune
authorMichael Wagner <info@wagnertech.de>
Mon, 7 Mar 2016 16:51:41 +0000 (17:51 +0100)
committerMichael Wagner <info@wagnertech.de>
Mon, 7 Mar 2016 16:51:41 +0000 (17:51 +0100)
build/kivitendo.co [new file with mode: 0755]
build/kivitendo.cp [new file with mode: 0755]
build/start-build [new file with mode: 0755]

diff --git a/build/kivitendo.co b/build/kivitendo.co
new file mode 100755 (executable)
index 0000000..d9d1bcd
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+set -e
+
+# parameter: $1: git tag to build
+git clone https://github.com/wagner-tech/kivitendo-erp
+cd kivitendo-erp
+git checkout $1
diff --git a/build/kivitendo.cp b/build/kivitendo.cp
new file mode 100755 (executable)
index 0000000..f0935cf
--- /dev/null
@@ -0,0 +1,7 @@
+#!/bin/bash
+set -e
+
+# parameter: $1: base dir for copy (optional)
+
+mkdir -p $1/opt
+cp -a src/kivitendo-erp $1/opt
diff --git a/build/start-build b/build/start-build
new file mode 100755 (executable)
index 0000000..d12dd59
--- /dev/null
@@ -0,0 +1,11 @@
+#!/bin/bash
+set -e
+
+# checkout build utilities
+if [ ! -d projects ]; then
+       git clone https://github.com/wagner-tech/projects/
+fi
+
+ln -sf projects/tools/make/configure .
+
+echo "Nexr step: call 'configure <project> <tag>'"