tDo not remove resize, fill, or fit images - andersdamsgaard.com - my photograp… | |
git clone git://src.adamsgaard.dk/andersdamsgaard.com | |
Log | |
Files | |
Refs | |
Submodules | |
README | |
LICENSE | |
--- | |
commit c90fc92b59b6c6d385602c8d786e148add1c9d90 | |
parent fe549d577987cb1c8b6e4d81308fabe6eefa7180 | |
Author: Anders Damsgaard <[email protected]> | |
Date: Sun, 4 Nov 2018 21:31:38 +0100 | |
Do not remove resize, fill, or fit images | |
Diffstat: | |
M Makefile | 11 +++++++++-- | |
1 file changed, 9 insertions(+), 2 deletions(-) | |
--- | |
diff --git a/Makefile b/Makefile | |
t@@ -18,7 +18,10 @@ deploy-staging: | |
# remove unprocessed images | |
find public/ \ | |
-name '.DS_Store' \ | |
- -name '*.jpg' -not -name '*resize*.jpg' -not -name '*box*.jpg'… | |
+ -name '*.jpg' \ | |
+ -not -name '*resize*.jpg' \ | |
+ -not -name '*fill*.jpg' \ | |
+ -not -name '*fit*.jpg' \ | |
-delete | |
# upload to fastmail | |
@lftp -c "set ftp:list-options -a; \ | |
t@@ -32,7 +35,11 @@ deploy: | |
hugo | |
# remove unprocessed images | |
find public/ \ | |
- -name '*.jpg' -not -name '*resize*.jpg' -not -name '*box*.jpg'… | |
+ -name '.DS_Store' \ | |
+ -name '*.jpg' \ | |
+ -not -name '*resize*.jpg' \ | |
+ -not -name '*fill*.jpg' \ | |
+ -not -name '*fit*.jpg' \ | |
-delete | |
# upload to fastmail | |
@lftp -c "set ftp:list-options -a; \ |