Generate the website before viewing the test version

This commit is contained in:
Solene Rapenne 2021-09-29 13:26:30 +02:00
parent a1cea42b7d
commit dd6fde8e16
1 changed files with 4 additions and 2 deletions

View File

@ -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