-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
57 lines (42 loc) · 963 Bytes
/
Makefile
File metadata and controls
57 lines (42 loc) · 963 Bytes
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
IMAGE_NAME := kowala-app-web
CUCUMBER_IMAGE_NAME := kowala-app-web-tests
install:
@yarn install --network-concurrency 1
build:
@yarn run build
test:
@yarn run test
lint:
@yarn run lint
start:
KOWALA_NETWORK="kusd-zygote" yarn run start
storybook:
@yarn run storybook
build-storybook:
@yarn run storybook
clean:
@rm -rf node_modules/
@rm -rf dist/
@rm -rf coverage/
cucumber-test:
@cucumber --tags 'not @ignore'
test-e2e:
@docker-compose exec $(CUCUMBER_IMAGE_NAME) make cucumber-test
.started:
@docker-compose build
@docker-compose up -d
@touch .started
@echo "Docker containers are now running."
start-docker-images: .started
# Alias for watch
serve: watch
# Start the website on port 3000
watch: .started
@docker-compose exec $(IMAGE_NAME) make install
@docker-compose exec $(IMAGE_NAME) yarn run start:server
stop:
@docker-compose kill
@docker-compose stop
@docker-compose down
@docker-compose rm -f
-@rm .started