11# Frontend Makefile
22
33# These are threaded from the outside env into build-webnode
4- MINA_WEBNODE_SEED_URLS ?=
5- MINA_WEBNODE_BOOTNODES ?=
4+ MINA_WEBNODE_SEED_URLS ?=
5+ MINA_WEBNODE_BOOTNODES ?=
66
77.PHONY : help
88help : # # Display this help message
@@ -15,12 +15,6 @@ help: ## Display this help message
1515build : # # Build the frontend
1616 npx ng build
1717
18- .PHONY : build-fuzzing
19- build-fuzzing : # # Build the frontend with fuzzing configuration
20- npx ng build --configuration fuzzing
21- cp dist/frontend/browser/assets/environments/fuzzing.js \
22- dist/frontend/browser/assets/environments/env.js
23-
2418.PHONY : build-local
2519build-local : # # Build the frontend with local configuration
2620 npx ng build --configuration local
@@ -49,12 +43,6 @@ build-webnode: ## Build the frontend with webnode configuration
4943 cp dist/frontend/browser/assets/environments/webnode.js \
5044 dist/frontend/browser/assets/environments/env.js
5145
52- .PHONY : build-staging
53- build-staging : # # Build the frontend with staging configuration
54- npx ng build --configuration production
55- cp dist/frontend/browser/assets/environments/staging.js \
56- dist/frontend/browser/assets/environments/env.js
57-
5846.PHONY : check-prettify
5947check-prettify : # # Check if files are formatted with Prettier
6048 npx prettier --check ' src/**/*.{ts,js,html,scss,css,json}'
@@ -102,11 +90,6 @@ start-bundle: ## Serve the built bundle
10290start-dev-mobile : # # Start the development server for mobile (accessible on network)
10391 npx ng serve --configuration development --host 0.0.0.0
10492
105- .PHONY : start-fuzzing
106- start-fuzzing : install-deps # # Start the fuzzing build and serve
107- npx ng build --configuration fuzzing
108- $(MAKE ) start-bundle
109-
11093.PHONY : start-local
11194start-local : # # Start the development server with local configuration
11295 npx ng serve --configuration local
0 commit comments