-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
31 lines (25 loc) · 1 KB
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Reference commands for publishing.
# Subdirectory including trailing /
TARGET_SUBDIR=dev/
# project name within https://<your-account>.github.io/GITHUB_PROJECT_NAME
GITHUB_PROJECT_NAME=iccm-eu-schedule/$(TARGET_SUBDIR)
# Also update the spreadsheet ID in src/app/data/spreadsheetIDs.ts
all:
npm run build -- --configuration production --output-path docs/$(TARGET_SUBDIR) --base-href /$(GITHUB_PROJECT_NAME)
cp docs/index.html docs/404.html
# Omit Test Data
-rm -f docs/assets/sheet-export.json
# install bof display pages
cp -r bof/ docs/
@echo
@echo "Configure github project to publish from docs folder:"
@echo "https://help.github.com/en/github/working-with-github-pages/configuring-a-publishing-source-for-your-github-pages-site#publishing-your-github-pages-site-from-a-docs-folder-on-your-master-branch"
@echo "make project available at https://<user_name>.github.io/$(GITHUB_PROJECT_NAME)"
npm-install:
npm install
update-packages:
npm audit fix
update-angular:
npm run ng update
serve:
npm run serve