fix build 2 i hope
This commit is contained in:
parent
14687a0d60
commit
d61222176e
@ -4,10 +4,12 @@ packages:
|
|||||||
- hut
|
- hut
|
||||||
- python3
|
- python3
|
||||||
tasks:
|
tasks:
|
||||||
|
- generate: |
|
||||||
|
make -C src dist/homepage
|
||||||
- package: |
|
- package: |
|
||||||
make -C src dist/homepage.tar.gz
|
make -C src dist/homepage.tar.gz
|
||||||
- vocalize: |
|
- vocalize: |
|
||||||
tar tzf dist/homepage.tar.gz
|
tar tzf dist/homepage.tar.gz
|
||||||
ls -l homepage.tar.gz
|
ls -l homepage.tar.gz
|
||||||
- upload: |
|
- upload: |
|
||||||
hut pages publish -d trinity.moe dist/homepage.tar.gz
|
hut pages publish -d trinity.moe src/dist/homepage.tar.gz
|
||||||
|
10
Makefile
10
Makefile
@ -8,10 +8,12 @@ RM = rm -f
|
|||||||
all:
|
all:
|
||||||
|
|
||||||
HOMEPAGE_FILES = homepage favicon.ico banners/*
|
HOMEPAGE_FILES = homepage favicon.ico banners/*
|
||||||
dist/homepage.tar.gz:
|
dist/homepage:
|
||||||
mkdir -p dist/homepage
|
mkdir -p dist/homepage.tmp
|
||||||
cp $(HOMEPAGE_FILES) dist/homepage
|
cp $(HOMEPAGE_FILES) dist/homepage.tmp
|
||||||
cd dist/homepage; sh homepage; cd ../..
|
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
|
tar cz -C dist/homepage . >dist/homepage.tar.gz
|
||||||
|
|
||||||
# i made this script to fetch icons for my grandmother and put them in icons/
|
# i made this script to fetch icons for my grandmother and put them in icons/
|
||||||
|
Loading…
Reference in New Issue
Block a user