File tree 2 files changed +6
-3
lines changed
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change 1
1
version =fake
2
2
ifeq ($(OS ) ,Windows_NT)
3
3
bin =main.exe
4
+ export =set
4
5
else
5
6
bin =main
7
+ export =export
6
8
endif
7
9
# Example:
8
10
# make
40
42
dependencies :
41
43
ifeq ($(bin ) ,main.exe)
42
44
@make prep-ci-local-windows
45
+ yarn add react-scripts@latest
43
46
else
44
47
@make prep-ci-local
45
48
endif
48
51
49
52
.PHONY : build-frontend
50
53
build-frontend :
51
- cd web && yarn build && cd ..
54
+ cd web && $( export ) BUILD_PATH=../cmd/build && CI=false yarn build && cd ..
52
55
53
56
.PHONY : serve-backend
54
57
serve-backend :
Original file line number Diff line number Diff line change 28
28
},
29
29
"scripts" : {
30
30
"start" : " react-scripts start" ,
31
- "build" : " BUILD_PATH='../cmd/build' react-scripts build" ,
31
+ "build" : " react-scripts build" ,
32
32
"test" : " react-scripts test" ,
33
33
"eject" : " react-scripts eject"
34
34
},
50
50
" last 1 safari version"
51
51
]
52
52
}
53
- }
53
+ }
You can’t perform that action at this time.
0 commit comments