forked from Opentrons/opentrons
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
40 lines (33 loc) · 768 Bytes
/
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
.PHONY: app api-exe app-shell api-valid-exe
app:
cd app-src &&\
npm --version &&\
node --version &&\
npm config get python &&\
npm i &&\
npm run unit &&\
./node_modules/.bin/webpack --out ../api/opentrons/server/templates
api-exe:
cd api &&\
make api
api-valid-exe:
cd api &&\
make api-valid-exe
# Note(ahmed) Integration tests do not pass on windows
app-shell: app-shell-setup app-shell-e2e-test app-shell-build
app-shell-win: app-shell-setup app-shell-build
app-shell-setup:
cd app-shell &&\
npm --version &&\
node --version &&\
npm config get python &&\
npm i &&\
npm run unit-main
app-shell-build:
cd app-shell &&\
npm run build:frontend &&\
ls dist/* &&\
ls releases
app-shell-e2e-test:
cd app-shell &&\
npm run e2e