Generate the website before viewing the test version
This commit is contained in:
parent
a1cea42b7d
commit
dd6fde8e16
|
@ -1,7 +1,9 @@
|
||||||
all:
|
generate-site:
|
||||||
ls | grep issue- | sort -n | xargs ./make_issue.sh
|
ls | grep issue- | sort -n | xargs ./make_issue.sh
|
||||||
./make_issue.sh _index ../public/index.html
|
./make_issue.sh _index ../public/index.html
|
||||||
|
|
||||||
|
all: generate-site
|
||||||
|
|
||||||
clean:
|
clean:
|
||||||
rm ../dev/*html
|
rm ../dev/*html
|
||||||
|
|
||||||
|
@ -9,6 +11,6 @@ test:
|
||||||
./make_issue.sh current /tmp/current-issue.html
|
./make_issue.sh current /tmp/current-issue.html
|
||||||
xdg-open /tmp/current-issue.html
|
xdg-open /tmp/current-issue.html
|
||||||
|
|
||||||
testsite:
|
testsite: generate-site
|
||||||
cp -fr ../public /tmp/
|
cp -fr ../public /tmp/
|
||||||
xdg-open /tmp/public/index.html
|
xdg-open /tmp/public/index.html
|
||||||
|
|
Loading…
Reference in New Issue