projects
/
pnews.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
various fixes
[pnews.git]
/
pnews
/
run.sh
1
#!/bin/bash
2
3
set -e
4
5
DEST_DIR=`realpath $1`
6
TMP_DIR="/tmp/$$.tmp"
7
8
mkdir -p "$TMP_DIR"
9
10
cd $TMP_DIR
11
git clone https://git.wpitchoune.net/pnews.git
12
13
cd pnews
14
15
mvn clean install
16
17
target/pnews.sh
18
19
cp -p *html style.css $DEST_DIR
20
21
rm -rf "$TMP_DIR"