@@ -42,24 +42,12 @@ build-webnode: ## Build the frontend with webnode configuration
4242 cp dist/frontend/browser/assets/environments/webnode.js \
4343 dist/frontend/browser/assets/environments/env.js
4444
45- .PHONY : build-leaderboard
46- build-leaderboard : build-production # # Build the frontend with leaderboard configuration
47- cp dist/frontend/browser/assets/environments/leaderboard.js \
48- dist/frontend/browser/assets/environments/env.js
49-
5045.PHONY : build-staging
5146build-staging : # # Build the frontend with staging configuration
5247 npx ng build --configuration production
5348 cp dist/frontend/browser/assets/environments/staging.js \
5449 dist/frontend/browser/assets/environments/env.js
5550
56- .PHONY : build-leaderboard-sentry
57- build-leaderboard-sentry : # # Build the frontend with leaderboard configuration and Sentry sourcemaps
58- npx ng build --configuration production
59- cp dist/frontend/browser/assets/environments/leaderboard.js \
60- dist/frontend/browser/assets/environments/env.js
61- $(MAKE ) sentry-sourcemaps
62-
6351.PHONY : check-prettify
6452check-prettify : # # Check if files are formatted with Prettier
6553 npx prettier --check ' src/**/*.{ts,js,html,scss,css,json}'
@@ -73,18 +61,6 @@ copy-env: ## Copy webnode.js to env.js
7361 cp dist/frontend/browser/assets/environments/webnode.js \
7462 dist/frontend/browser/assets/environments/env.js
7563
76- .PHONY : deploy
77- deploy : prebuild build-production-sentry copy-env # # Deploy the application
78- firebase deploy
79-
80- .PHONY : deploy-leaderboard
81- deploy-leaderboard : prebuild build-leaderboard # # Deploy the leaderboard application
82- firebase deploy
83-
84- .PHONY : deploy-leaderboard-sentry
85- deploy-leaderboard-sentry : prebuild build-leaderboard-sentry # # Deploy the leaderboard application with Sentry sourcemaps
86- firebase deploy
87-
8864.PHONY : install-deps
8965install-deps : # # Install npm dependencies (alias)
9066 npm install
0 commit comments