From 3cef082a10a9f47bc477a0672f5e690c1f2ea31f Mon Sep 17 00:00:00 2001 From: Fabien Freling Date: Fri, 1 Nov 2019 16:23:53 +0100 Subject: [PATCH] Update Makefile --- Makefile | 12 +++++------- README.md | 5 ----- rsync_excludes.txt | 5 ++--- 3 files changed, 7 insertions(+), 15 deletions(-) delete mode 100644 README.md diff --git a/Makefile b/Makefile index 6fe50cd..37cfae1 100644 --- a/Makefile +++ b/Makefile @@ -1,17 +1,15 @@ -all: tup +all: build -tup: +build: tup build graph: tup graph . | dot -Tpng > graph.png -deploy: tup +deploy: build rsync --checksum --copy-links -ave 'ssh -p 4242' \ --exclude-from=rsync_excludes.txt \ build/* fab@ffreling.com:public_html/ffreling.com/public/ -preview: tup - rsync --checksum --copy-links -ave 'ssh -p 4242' \ - --exclude-from=rsync_excludes.txt \ - build/* preview/ +preview: build + open build/index.html diff --git a/README.md b/README.md deleted file mode 100644 index 826302c..0000000 --- a/README.md +++ /dev/null @@ -1,5 +0,0 @@ -Web fonts ---------- - -- https://developer.mozilla.org/en-US/docs/Learn/CSS/Styling_text/Web_fonts -- https://www.fontsquirrel.com/tools/webfont-generator diff --git a/rsync_excludes.txt b/rsync_excludes.txt index 27eb259..bc8a019 100644 --- a/rsync_excludes.txt +++ b/rsync_excludes.txt @@ -1,4 +1,3 @@ -templates* -tup.config README.html -*_tmp.* +templates +tup.config