mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-11-09 20:00:12 +00:00
build: include latest banner automatically
now copied from images/ into static/ on build.
This commit is contained in:
parent
8f3c723b07
commit
62e27c394d
1
.gitignore
vendored
1
.gitignore
vendored
@ -25,3 +25,4 @@ scripts/langmover/lang
|
|||||||
scripts/langmover/lang2
|
scripts/langmover/lang2
|
||||||
scripts/langmover/out
|
scripts/langmover/out
|
||||||
tinyproxy.conf
|
tinyproxy.conf
|
||||||
|
static/banner.svg
|
||||||
|
@ -11,6 +11,7 @@ before:
|
|||||||
- go mod download
|
- go mod download
|
||||||
- rm -rf data/web
|
- rm -rf data/web
|
||||||
- mkdir -p data/web/css
|
- mkdir -p data/web/css
|
||||||
|
- cp images/banner.svg static/banner.svg
|
||||||
- bash -c 'cp -r static/* data/web/'
|
- bash -c 'cp -r static/* data/web/'
|
||||||
- npm install
|
- npm install
|
||||||
- npm install esbuild
|
- npm install esbuild
|
||||||
|
1
Makefile
1
Makefile
@ -167,6 +167,7 @@ copy:
|
|||||||
mv $(DATA)/crash.html $(DATA)/html/
|
mv $(DATA)/crash.html $(DATA)/html/
|
||||||
$(info copying static data)
|
$(info copying static data)
|
||||||
mkdir -p $(DATA)/web
|
mkdir -p $(DATA)/web
|
||||||
|
cp images/banner.svg static/banner.svg
|
||||||
cp -r static/* $(DATA)/web/
|
cp -r static/* $(DATA)/web/
|
||||||
$(info copying systemd service)
|
$(info copying systemd service)
|
||||||
cp jfa-go.service $(DATA)/
|
cp jfa-go.service $(DATA)/
|
||||||
|
File diff suppressed because one or more lines are too long
Before Width: | Height: | Size: 58 KiB |
Loading…
Reference in New Issue
Block a user