-
Notifications
You must be signed in to change notification settings - Fork 20
/
Makefile
49 lines (37 loc) · 1.32 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
bootstrap: | resize bootstrap_node_javascript bootstrap_environment bootstrap_done
# The 2 slowest tasks are the cdk standing up the stacks
# and the python install
bootstrap_environment:
$(MAKE) bootstrap_cdk bootstrap_python bootstrap_java bootstrap_node_typescript -j 4
bootstrap_cdk:
$(MAKE) -C cdk bootstrap
bootstrap_node_javascript:
$(MAKE) -C exercises/node-javascript bootstrap
bootstrap_node_typescript:
$(MAKE) -C exercises/node-typescript bootstrap
bootstrap_python:
$(MAKE) -C exercises/python remove
$(MAKE) -C exercises/python bootstrap
bootstrap_java:
$(MAKE) -C exercises/java bootstrap
bootstrap_done:
@echo "*** BOOTSTRAP COMPLETE ***"
# Smoke tests for the CLIs
basic_cli_smoke_tests:
$(MAKE) -C exercises/node-javascript basic_cli_smoke_tests
$(MAKE) -C cdk data_purge
$(MAKE) -C exercises/node-typescript basic_cli_smoke_tests
$(MAKE) -C cdk data_purge
resize:
cdk/bin/resize.sh
# This is a helper to update all the npm modules in this project.
# Both the CDK and all the JavaScript excersises
npm_update:
$(MAKE) -C cdk npm_update
$(MAKE) -C exercises/node-javascript npm_update
$(MAKE) -C exercises/node-typescript npm_update
# Helper to run npm audit everywhere
npm_audit:
$(MAKE) -C cdk npm_audit
$(MAKE) -C exercises/node-javascript npm_audit
$(MAKE) -C exercises/node-typescript npm_audit