[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [taler-deployment] branch master updated: auto-compile docs
From: |
gnunet |
Subject: |
[GNUnet-SVN] [taler-deployment] branch master updated: auto-compile docs landing |
Date: |
Wed, 17 Jan 2018 09:23:14 +0100 |
This is an automated email from the git hooks/post-receive script.
marcello pushed a commit to branch master
in repository deployment.
The following commit(s) were added to refs/heads/master by this push:
new c0c895b auto-compile docs landing
c0c895b is described below
commit c0c895b2d93797aa0da109b208dbec6f08dd56f0
Author: Marcello Stanisci <address@hidden>
AuthorDate: Wed Jan 17 09:22:04 2018 +0100
auto-compile docs landing
---
etc/nginx/sites-enabled/docs-ssl.site | 4 ++--
taler-build/update_doc_landing.sh | 24 ++++++++++++++++++++++++
2 files changed, 26 insertions(+), 2 deletions(-)
diff --git a/etc/nginx/sites-enabled/docs-ssl.site
b/etc/nginx/sites-enabled/docs-ssl.site
index 93d7a99..ae4dc37 100644
--- a/etc/nginx/sites-enabled/docs-ssl.site
+++ b/etc/nginx/sites-enabled/docs-ssl.site
@@ -3,8 +3,8 @@ server {
listen [::]:443 ssl; ## listen for ipv4; this line is default and
implied
# listen [::]:80 default_server ipv6only=on; ## listen for ipv6
- # Temporary, as this is doesn't do i18n
- root /home/docbuilder/landing/docs/;
+ # Temporary, as this doesn't do i18n
+ root /home/docbuilder/build/docs-landing/;
# Make site accessible from http://localhost/
server_name docs.taler.net
diff --git a/taler-build/update_doc_landing.sh
b/taler-build/update_doc_landing.sh
new file mode 100644
index 0000000..d8bdfa4
--- /dev/null
+++ b/taler-build/update_doc_landing.sh
@@ -0,0 +1,24 @@
+#!/bin/bash
+
+set -eu
+
+fetch () {
+ git clean -fdx
+ 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"
+}
+
+cd $HOME/landing
+fetch
+
+git submodule update --force --init
+AUTOMAKE="automake --foreign" autoreconf -fiv
+./configure
+cd demo/
+make
+
+# copy files over.
+mkdir -p $HOME/build/docs-landing/
+cp -t $HOME/build/docs-landing/ docs/*.{html,css,svg}
--
To stop receiving notification emails like this one, please contact
address@hidden
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [GNUnet-SVN] [taler-deployment] branch master updated: auto-compile docs landing,
gnunet <=