rename embed/noembed to internal-files/external-files

This commit is contained in:
Harvey Tindall 2021-02-17 14:41:44 +00:00
parent 403ad58274
commit 5d7972db56
Signed by: hrfee
GPG Key ID: BBC65952848FB1A2
2 changed files with 6 additions and 6 deletions

View File

@ -6,7 +6,7 @@ RUN apt update -y \
&& apt install build-essential python3-pip curl software-properties-common sed -y \
&& (curl -sL https://deb.nodesource.com/setup_14.x | bash -) \
&& apt install nodejs \
&& (cd /opt/build; make configuration npm email version typescript bundle-css swagger noembed copy GOESBUILD=on) \
&& (cd /opt/build; make configuration npm email version typescript bundle-css swagger external-files copy GOESBUILD=on) \
&& sed -i 's#id="password_resets-watch_directory" placeholder="/config/jellyfin"#id="password_resets-watch_directory" value="/jf" disabled#g' /opt/build/data/html/setup.html

View File

@ -83,10 +83,10 @@ copy:
$(info copying language files)
cp -r lang data/
embed:
internal-files:
python scripts/embed.py internal
noembed:
external-files:
python scripts/embed.py external
-mkdir -p build
$(info copying internal data into build/)
@ -95,6 +95,6 @@ noembed:
install:
cp -r build $(DESTDIR)/jfa-go
all: configuration npm email version typescript bundle-css swagger copy embed compile
all-external: configuration npm email version ts-debug bundle-css swagger copy noembed compile
debug: configuration npm email version ts-debug bundle-css swagger copy noembed compile-debug
all: configuration npm email version typescript bundle-css swagger copy internal-files compile
all-external: configuration npm email version typescript bundle-css swagger copy external-files compile
debug: configuration npm email version ts-debug bundle-css swagger copy external-files compile-debug