mirror of
https://github.com/hrfee/jfa-go.git
synced 2024-12-22 09:00:10 +00:00
rename embed/noembed to internal-files/external-files
This commit is contained in:
parent
403ad58274
commit
5d7972db56
@ -6,7 +6,7 @@ RUN apt update -y \
|
|||||||
&& apt install build-essential python3-pip curl software-properties-common sed -y \
|
&& apt install build-essential python3-pip curl software-properties-common sed -y \
|
||||||
&& (curl -sL https://deb.nodesource.com/setup_14.x | bash -) \
|
&& (curl -sL https://deb.nodesource.com/setup_14.x | bash -) \
|
||||||
&& apt install nodejs \
|
&& 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
|
&& 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
|
||||||
|
|
||||||
|
|
||||||
|
10
Makefile
10
Makefile
@ -83,10 +83,10 @@ copy:
|
|||||||
$(info copying language files)
|
$(info copying language files)
|
||||||
cp -r lang data/
|
cp -r lang data/
|
||||||
|
|
||||||
embed:
|
internal-files:
|
||||||
python scripts/embed.py internal
|
python scripts/embed.py internal
|
||||||
|
|
||||||
noembed:
|
external-files:
|
||||||
python scripts/embed.py external
|
python scripts/embed.py external
|
||||||
-mkdir -p build
|
-mkdir -p build
|
||||||
$(info copying internal data into build/)
|
$(info copying internal data into build/)
|
||||||
@ -95,6 +95,6 @@ noembed:
|
|||||||
install:
|
install:
|
||||||
cp -r build $(DESTDIR)/jfa-go
|
cp -r build $(DESTDIR)/jfa-go
|
||||||
|
|
||||||
all: configuration npm email version typescript bundle-css swagger copy embed compile
|
all: configuration npm email version typescript bundle-css swagger copy internal-files compile
|
||||||
all-external: configuration npm email version ts-debug bundle-css swagger copy noembed 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 noembed compile-debug
|
debug: configuration npm email version ts-debug bundle-css swagger copy external-files compile-debug
|
||||||
|
Loading…
Reference in New Issue
Block a user