From d61222176ef3b759e28f8b7988d256a6b1399032 Mon Sep 17 00:00:00 2001 From: DTB Date: Fri, 24 Nov 2023 08:00:51 -0700 Subject: [PATCH] fix build 2 i hope --- .build.yml | 4 +++- Makefile | 10 ++++++---- 2 files changed, 9 insertions(+), 5 deletions(-) diff --git a/.build.yml b/.build.yml index a98cc37..61e790d 100644 --- a/.build.yml +++ b/.build.yml @@ -4,10 +4,12 @@ packages: - hut - python3 tasks: +- generate: | + make -C src dist/homepage - package: | make -C src dist/homepage.tar.gz - vocalize: | tar tzf dist/homepage.tar.gz ls -l homepage.tar.gz - upload: | - hut pages publish -d trinity.moe dist/homepage.tar.gz + hut pages publish -d trinity.moe src/dist/homepage.tar.gz diff --git a/Makefile b/Makefile index 674378c..06933e2 100644 --- a/Makefile +++ b/Makefile @@ -8,10 +8,12 @@ RM = rm -f all: HOMEPAGE_FILES = homepage favicon.ico banners/* -dist/homepage.tar.gz: - mkdir -p dist/homepage - cp $(HOMEPAGE_FILES) dist/homepage - cd dist/homepage; sh homepage; cd ../.. +dist/homepage: + mkdir -p dist/homepage.tmp + cp $(HOMEPAGE_FILES) dist/homepage.tmp + cd dist/homepage.tmp; sh homepage; cd ../.. + mv dist/homepage.tmp dist/homepage +dist/homepage.tar.gz: dist/homepage tar cz -C dist/homepage . >dist/homepage.tar.gz # i made this script to fetch icons for my grandmother and put them in icons/