build(Makefile): reintroduce well-known
This commit is contained in:
parent
67e659521e
commit
3db65597fe
9
Makefile
9
Makefile
@ -41,7 +41,7 @@ help:
|
||||
.PHONY: clean
|
||||
# HELP: remove all compilation results in the directory but leave containers and images unharmed
|
||||
clean:
|
||||
rm -rf node_modules .npm .cache assets/icons assets/favicons static
|
||||
rm -rf node_modules .npm .cache assets/icons assets/favicons static well-known
|
||||
rm -rf .stack .stack-work .stack-work-build .stack-work-run .stack-work-test .stack-work-doc
|
||||
rm -rf bin/ .Dockerfile .dev-port-http .dev-port-https
|
||||
.PHONY: clean-all
|
||||
@ -113,10 +113,10 @@ test: test-frontend test-backend i18n-check
|
||||
%-frontend: FRADRIVE_SERVICE=frontend
|
||||
%-frontend: --image-build --containerized---%-frontend;
|
||||
|
||||
--%-frontend: --containerized-static-frontend;
|
||||
--%-frontend: --containerized-static-frontend --containerized-well-known-frontend;
|
||||
|
||||
# HELP(compile-frontend): compile frontend
|
||||
--compile-frontend: static
|
||||
--compile-frontend: static well-known
|
||||
npm run build
|
||||
|
||||
.PHONY: serve-frontend
|
||||
@ -143,7 +143,7 @@ node_modules: package.json package-lock.json
|
||||
package-lock.json: package.json
|
||||
npm install --cache .npm --prefer-offline
|
||||
|
||||
assets: assets/favicons assets/icons
|
||||
assets: assets/favicons assets/icons;
|
||||
assets/favicons:
|
||||
./utils/faviconize.pl assets/favicon.svg long assets/favicons
|
||||
assets/icons: node_modules
|
||||
@ -152,6 +152,7 @@ assets/icons: node_modules
|
||||
|
||||
static: node_modules esbuild.config.mjs assets
|
||||
npm run build
|
||||
well-known: static;
|
||||
|
||||
##### FRONTEND TARGETS #####
|
||||
############################
|
||||
|
||||
Reference in New Issue
Block a user