From: Jean-Philippe Orsini Date: Wed, 11 Oct 2017 11:46:01 +0000 (+0200) Subject: added run script X-Git-Url: http://git.wpitchoune.net/gitweb/?p=pnews.git;a=commitdiff_plain;h=01a170158ec285805b898204fd051e6f84a51494 added run script --- diff --git a/run.sh b/run.sh new file mode 100755 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"