-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathMakefile
More file actions
23 lines (17 loc) · 1.06 KB
/
Makefile
File metadata and controls
23 lines (17 loc) · 1.06 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
WEKO3_DIR := /work/weko_dev35
all: items_author_add items_author_search refresh
install:
docker run --rm -w /code --mount type=bind,source="$(CURDIR)/app-author-add",target=/code node:13 npm install
docker run --rm -w /code --mount type=bind,source="$(CURDIR)/app-author-search",target=/code node:13 npm install
docker run --rm -w /code --mount type=bind,source="$(CURDIR)/app-items-author-search",target=/code node:13 npm install
items_author_add:
docker run --rm -w /code --mount type=bind,source="$(CURDIR)/app-author-add",target=/code node:13 npm run ng build -- --prod
./cp_app_author_add.sh "${WEKO3_DIR}"
author_search:
docker run --rm -w /code --mount type=bind,source="$(CURDIR)/app-author-search",target=/code node:13 npm run ng build -- --prod
./cp_app_author_search.sh "${WEKO3_DIR}"
items_author_search:
docker run --rm -w /code --mount type=bind,source="$(CURDIR)/app-items-author-search",target=/code node:13 npm run ng build -- --prod
./cp_app_items_author_search.sh "${WEKO3_DIR}"
refresh:
cd "${WEKO3_DIR}" && docker-compose exec -T web invenio collect -v