forked from flyteorg/flyteconsole
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
executable file
·60 lines (47 loc) · 1.17 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
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
58
59
60
export REPOSITORY=flyteconsole
include boilerplate/flyte/docker_build/Makefile
.PHONY: update_boilerplate
update_boilerplate:
@curl https://raw.githubusercontent.com/flyteorg/boilerplate/master/boilerplate/update.sh -o boilerplate/update.sh
@boilerplate/update.sh
.PHONY: install
install: #installs dependencies
yarn
.PHONY: lint
lint: #lints the package for common code smells
yarn run lint
.PHONY: build_prod
build_prod:
yarn run clean
make types
BASE_URL=/console yarn run build:prod
.PHONY: pack
pack:
yarn run build:pack
.PHONY: types
types:
yarn workspaces focus --production --all
yarn run build:types
# test_unit runs all unit tests
.PHONY: test_unit
test_unit:
yarn test
# server starts the service in development mode
.PHONY: server
server:
yarn start
.PHONY: clean
clean:
yarn run clean
# test_unit_codecov runs unit tests with code coverage turned on and
# submits the coverage to codecov.io
.PHONY: test_unit_codecov
test_unit_codecov:
yarn run test-coverage
.PHONY: generate_ssl
generate_ssl:
./script/generate_ssl.sh
PLACEHOLDER_NPM := "version": "0.0.0-develop"
.PHONY: update_npmversion
update_npmversion:
./script/update_npmversion.sh ${VERSION}