From c08eea19559e938c693026c1ad5c132278cb5c43 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Wed, 25 Oct 2023 19:21:17 -0600 Subject: [PATCH] Add Makefile --- Makefile | 31 +++++++++++++++++++++++++++++++ fix-issue-1.sh | 7 ++++++- public/docs/generate/index.html | 2 +- public/sitemap.xml | 2 +- 4 files changed, 39 insertions(+), 3 deletions(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..e6ed8a7 --- /dev/null +++ b/Makefile @@ -0,0 +1,31 @@ +# Makefile +# +# Copyright (C) 2023, Jeff Moe +# +# This program is free software: you can redistribute it and/or modify +# it under the terms of the GNU Affero General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# This program is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU Affero General Public License for more details. +# +# You should have received a copy of the GNU Affero General Public License +# along with this program. If not, see . + +all: + $(MAKE) site + $(MAKE) fix + +site: + hugo + +fix: + ./fix-issue-1.sh + ./fix-favicon.sh + +push: + git push + git push --tags diff --git a/fix-issue-1.sh b/fix-issue-1.sh index e49527e..d0d54ef 100755 --- a/fix-issue-1.sh +++ b/fix-issue-1.sh @@ -10,7 +10,10 @@ wget --no-clobber --quiet \ FIXFILES=`grep -lRI "https://code.jquery.com/jquery-3.6.3.min.js" public/` -sed -i -e 's/https:\/\/code.jquery.com\/jquery-3.6.3.min.js/\/js\/jquery-3.6.3.min.js/g' ${FIXFILES} +if [[ ${FIXFILES} ]] + then \ + sed -i -e 's/https:\/\/code.jquery.com\/jquery-3.6.3.min.js/\/js\/jquery-3.6.3.min.js/g' ${FIXFILES} +fi grep -lRI "https://code.jquery.com/" public/ @@ -30,3 +33,5 @@ wget --no-clobber --quiet \ # sed ? # https://parrot.codes/webfonts/memvYaGs126MiZpBA-UvWbX2vVnXBbObj2OVTS-muw.woff2 + +exit 0 diff --git a/public/docs/generate/index.html b/public/docs/generate/index.html index 181d489..617d3c8 100644 --- a/public/docs/generate/index.html +++ b/public/docs/generate/index.html @@ -169,7 +169,7 @@ Steps: 99, Seed: 1191627118, Sampler: Default, CFG scale: 5, Size: 1920x1080, Pa
- Last modified October 25, 2023: Add AI generated Parrot background, noted (2ccf5a0) + Last modified October 25, 2023: sdxl parrot server background (d77ea47)
diff --git a/public/sitemap.xml b/public/sitemap.xml index 30ccbbc..783138e 100644 --- a/public/sitemap.xml +++ b/public/sitemap.xml @@ -3,7 +3,7 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> /docs/generate/ - 2023-10-25T09:16:09-06:00 + 2023-10-25T19:04:58-06:00 /docs/overview/ 2023-10-23T08:18:18-06:00