Skip to content

Commit 523b2f3

Browse files
committed
Adding yes no prompt
1 parent 7195278 commit 523b2f3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

publishing/Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,12 @@
2323
# create an email-friendly HTML version of the "BLOG_DOWNLOAD" page.
2424
# This is the equivalent of running `juice --web-resources-images false /tmp/in.html /tmp/out.html`
2525
#
26-
# $ make optimize-email
26+
# $ make optimize-email
2727
#
2828
# This results in the desired email-friendly HTML version: "juice/out.html".
2929

3030
# CHANGE ME! vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
31-
BLOG_DOWNLOAD=http://127.0.0.1:8000/blog/2022/07/27/this-week-in-rust-453/
31+
BLOG_DOWNLOAD=http://127.0.0.1:8000/blog/2022/08/10/this-week-in-rust-455/
3232

3333
build:
3434
cd .. && docker build -t twir -f publishing/Dockerfile . && cd -
@@ -56,6 +56,7 @@ host-content:
5656
bash run_server.sh
5757

5858
optimize-email:
59+
@echo -n "Is this '${BLOG_DOWNLOAD}' your desired blog? [y/N] " && read ans && [ $${ans:-N} = y ]
5960
rm -rf juice
6061
mkdir juice
6162
curl ${BLOG_DOWNLOAD} > juice/in.html

0 commit comments

Comments
 (0)