Add a testsite mode to view the whole site

This commit is contained in:
Solene Rapenne 2021-09-27 14:05:49 +02:00
parent 0bac11a409
commit 42e82603b9
1 changed files with 6 additions and 1 deletions

View File

@ -1,9 +1,14 @@
all:
find . -maxdepth 1 -type d -name 'issue-*' -exec ./make_issue.sh {} \;
./make_issue.sh _index ../public/index.html
clean:
rm ../dev/*html
test:
./make_issue.sh current/ && cp ../dev/*.html ~/Downloads/current-issue.html
./make_issue.sh current ~/Downloads/current-issue.html
xdg-open ~/Downloads/current-issue.html
testsite:
cp -fr ../public ~/Downloads/
xdg-open ~/Downloads/public/index.html