summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2016-04-18 16:50:38 +0200
committerFlorian Dold <florian.dold@gmail.com>2016-04-18 16:50:38 +0200
commit5d32413e0708d825c927cbe2356a86ea3c7b9578 (patch)
tree935366dfe6b5e1c6e36ae13ee166795d3041063c
parent060d27e872d49177d802450e0b425d34b5a9c28b (diff)
downloaddeployment-5d32413e0708d825c927cbe2356a86ea3c7b9578.tar.gz
deployment-5d32413e0708d825c927cbe2356a86ea3c7b9578.tar.bz2
deployment-5d32413e0708d825c927cbe2356a86ea3c7b9578.zip
concept for buildbot rebuild scripts
-rw-r--r--taler-build/Makefile20
-rw-r--r--taler-build/README2
-rw-r--r--taler-build/invalidate.sh15
3 files changed, 37 insertions, 0 deletions
diff --git a/taler-build/Makefile b/taler-build/Makefile
new file mode 100644
index 0000000..9c13867
--- /dev/null
+++ b/taler-build/Makefile
@@ -0,0 +1,20 @@
+
+all: exchange-stamp bank-stamp merchant-stamp
+
+exchange-stamp: gnunet-stamp
+ ~/deplyoment/update_exchange.sh
+ touch $@
+
+gnunet-stamp:
+ ~/deplyoment/update_exchange.sh
+ touch $@
+
+bank-stamp: exchange-stamp
+ ~/deplyoment/update_bank.sh
+ touch $@
+
+
+merchant-stamp: exchange-stamp
+ ~/deplyoment/update_bank.sh
+ touch $@
+
diff --git a/taler-build/README b/taler-build/README
new file mode 100644
index 0000000..115fe29
--- /dev/null
+++ b/taler-build/README
@@ -0,0 +1,2 @@
+Makefile for all taler components, using one timestamp
+file in this folder to represent each component.
diff --git a/taler-build/invalidate.sh b/taler-build/invalidate.sh
new file mode 100644
index 0000000..8055b21
--- /dev/null
+++ b/taler-build/invalidate.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+
+# Invalidate build stamps
+
+
+cd ~/merchant
+git fetch
+if git status -sb | grep behind; then
+ rm merchant-stamp
+fi
+
+# TODO: also do it for the other repos
+# TODO: also do it for SVN
+
+