projects
/
pnews.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added run script
[pnews.git]
/
run.sh
diff --git a/run.sh
b/run.sh
new file mode 100755
(executable)
index 0000000..
0ccad36
--- /dev/null
+++ b/
run.sh
@@ -0,0
+1,20
@@
+#!/bin/bash
+
+set -e
+
+TMP_DIR="/tmp/$$.tmp"
+
+mkdir -p "$TMP_DIR"
+
+cd $TMP_DIR
+git clone https://git.wpitchoune.net/pnews.git
+
+cd pnews
+
+mvn clean install
+
+target/pnews.sh
+
+cp -p *html style.css $1
+
+rm -rf "$TMP_DIR"