[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] 03/03: every frontend has its own "updat
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] 03/03: every frontend has its own "update" script |
Date: |
Sat, 25 Nov 2017 11:00:29 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository deployment.
commit 5cf8fba0d8e7c7019ccfb7e6a329a45028887458
Author: Marcello Stanisci <address@hidden>
AuthorDate: Sat Nov 25 10:59:23 2017 +0100
every frontend has its own "update" script
---
taler-build/Makefile | 10 +++++++---
taler-build/update_blog.sh | 17 +++++++++++++++++
taler-build/update_donations.sh | 17 +++++++++++++++++
taler-build/update_merchant_frontends.sh | 19 -------------------
taler-build/update_survey.sh | 17 +++++++++++++++++
5 files changed, 58 insertions(+), 22 deletions(-)
diff --git a/taler-build/Makefile b/taler-build/Makefile
index 9b45e5c..3d1a0fb 100644
--- a/taler-build/Makefile
+++ b/taler-build/Makefile
@@ -37,12 +37,16 @@ libgnurl-stamp: deployment-stamp
./update_libgnurl.sh
touch $@
-merchant-frontends-stamp: deployment-stamp
- ./update_merchant_frontends.sh
+donations-stamp: deployment-stamp
+ ./update_donations.sh
+ touch $@
+
+blog-stamp: deployment-stamp
+ ./update_blog.sh
touch $@
survey-stamp: deployment-stamp
- ./update_merchant_survey.sh
+ ./update_survey.sh
touch $@
lcov: gnunet-stamp deployment-stamp
diff --git a/taler-build/update_blog.sh b/taler-build/update_blog.sh
new file mode 100755
index 0000000..44c8fca
--- /dev/null
+++ b/taler-build/update_blog.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+set -eu
+
+cd $HOME/blog/
+git clean -fxd
+
+git fetch
+# reset to updated upstream branch, but only if we're tracking a branch
+branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null ||
echo HEAD)
+git reset --hard "$branch"
+
+git submodule update --init --force
+
+./bootstrap
+./configure --prefix="$HOME/local"
+make install check
diff --git a/taler-build/update_donations.sh b/taler-build/update_donations.sh
new file mode 100755
index 0000000..0551159
--- /dev/null
+++ b/taler-build/update_donations.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+set -eu
+
+cd $HOME/donations/
+git clean -fxd
+
+git fetch
+# reset to updated upstream branch, but only if we're tracking a branch
+branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null ||
echo HEAD)
+git reset --hard "$branch"
+
+git submodule update --init --force
+
+./bootstrap
+./configure --prefix="$HOME/local"
+make install check
diff --git a/taler-build/update_merchant_frontends.sh
b/taler-build/update_merchant_frontends.sh
deleted file mode 100755
index 8713b08..0000000
--- a/taler-build/update_merchant_frontends.sh
+++ /dev/null
@@ -1,19 +0,0 @@
-#!/bin/bash
-
-set -eu
-
-for frontend in blog donations survey; do
- cd $HOME/frontend/
- git clean -fxd
-
- git fetch
- # reset to updated upstream branch, but only if we're tracking a branch
- branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null ||
echo HEAD)
- git reset --hard "$branch"
-
- git submodule update --init --force
-
- ./bootstrap
- ./configure --prefix="$HOME/local"
- make install check
-done
diff --git a/taler-build/update_survey.sh b/taler-build/update_survey.sh
new file mode 100755
index 0000000..4293eb9
--- /dev/null
+++ b/taler-build/update_survey.sh
@@ -0,0 +1,17 @@
+#!/bin/bash
+
+set -eu
+
+cd $HOME/survey/
+git clean -fxd
+
+git fetch
+# reset to updated upstream branch, but only if we're tracking a branch
+branch=$(git rev-parse --abbrev-ref --symbolic-full-name @{u} 2>/dev/null ||
echo HEAD)
+git reset --hard "$branch"
+
+git submodule update --init --force
+
+./bootstrap
+./configure --prefix="$HOME/local"
+make install check
--
To stop receiving notification emails like this one, please contact
address@hidden