-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (23 loc) · 1.23 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
.PHONY: test e2e cypress dictionary kanjis kanjisvgs names browser db extension deploy
test:
docker-compose exec -T --env KANJIMI_API_URL=http://localhost:3000 server ./node_modules/.bin/ts-node ./node_modules/jasmine/bin/jasmine --config=jasmine.json
e2e:
./node_modules/.bin/cypress run --browser=firefox --headless
cypress:
./node_modules/.bin/cypress open
browser:
./node_modules/.bin/web-ext --config=web-ext.js run --firefox-profile ./.firefox-profile --keep-profile-changes
dictionary:
docker run -v ${PWD}:/kanjimi:delegated -w /kanjimi -it --init --rm --network=host $$(docker build -q ./Dictionary) php ./Dictionary/Dictionary.php
kanjis:
docker run -v ${PWD}:/kanjimi:delegated -w /kanjimi -it --init --rm --network=host $$(docker build -q ./Dictionary) php ./Dictionary/Kanjis.php
kanjisvgs:
docker run -v ${PWD}:/kanjimi:delegated -w /kanjimi -it --init --rm --network=host $$(docker build -q ./Dictionary) php ./Dictionary/KanjiSVGs.php
names:
docker run -v ${PWD}:/kanjimi:delegated -w /kanjimi -it --init --rm --network=host $$(docker build -q ./Dictionary) php ./Dictionary/Names.php
db:
docker-compose exec database psql -h localhost -U test -d test
extension:
./src/Extension/build.sh
deploy:
./dist/kubernetes/deploy.sh