From 62e27c394d8f2b301ab5b69a2e13cd6760b6fbf8 Mon Sep 17 00:00:00 2001 From: Harvey Tindall Date: Sun, 4 Aug 2024 21:03:36 +0100 Subject: [PATCH] build: include latest banner automatically now copied from images/ into static/ on build. --- .gitignore | 1 + .goreleaser.yml | 1 + Makefile | 1 + static/banner.svg | 283 ---------------------------------------------- 4 files changed, 3 insertions(+), 283 deletions(-) delete mode 100644 static/banner.svg diff --git a/.gitignore b/.gitignore index 0bd63e2..3f620e8 100644 --- a/.gitignore +++ b/.gitignore @@ -25,3 +25,4 @@ scripts/langmover/lang scripts/langmover/lang2 scripts/langmover/out tinyproxy.conf +static/banner.svg diff --git a/.goreleaser.yml b/.goreleaser.yml index 13574b1..972e025 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -11,6 +11,7 @@ before: - go mod download - rm -rf data/web - mkdir -p data/web/css + - cp images/banner.svg static/banner.svg - bash -c 'cp -r static/* data/web/' - npm install - npm install esbuild diff --git a/Makefile b/Makefile index 7f2e36f..686b2ac 100644 --- a/Makefile +++ b/Makefile @@ -167,6 +167,7 @@ copy: mv $(DATA)/crash.html $(DATA)/html/ $(info copying static data) mkdir -p $(DATA)/web + cp images/banner.svg static/banner.svg cp -r static/* $(DATA)/web/ $(info copying systemd service) cp jfa-go.service $(DATA)/ diff --git a/static/banner.svg b/static/banner.svg deleted file mode 100644 index 627a830..0000000 --- a/static/banner.svg +++ /dev/null @@ -1,283 +0,0 @@ - -image/svg+xml - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -