Commit 71f8ad9574eccab571ea634ad74ad4725738140e

Authored by Georg Hopp
1 parent c796f10f

Some fixes for the build.

@@ -17,6 +17,7 @@ all: docker @@ -17,6 +17,7 @@ all: docker
17 17
18 $(GOEXE): $(APP_NAME).go 18 $(GOEXE): $(APP_NAME).go
19 go install $(GOPROJECT) 19 go install $(GOPROJECT)
  20 + strip $@
20 21
21 docker: react $(GOEXE) 22 docker: react $(GOEXE)
22 $(MAKE) -C $@ 23 $(MAKE) -C $@
@@ -15,6 +15,7 @@ all: $(LIBS) $(EXE) react Dockerfile @@ -15,6 +15,7 @@ all: $(LIBS) $(EXE) react Dockerfile
15 15
16 $(LIBS): 16 $(LIBS):
17 install -D /lib64/$(notdir $@) $@ 17 install -D /lib64/$(notdir $@) $@
  18 + strip $@
18 19
19 $(EXE): 20 $(EXE):
20 install -D $(GOEXE) $@ 21 install -D $(GOEXE) $@
@@ -33,8 +33,12 @@ SOURCES = src/About.css \ @@ -33,8 +33,12 @@ SOURCES = src/About.css \
33 all: .buildchk 33 all: .buildchk
34 34
35 .buildchk: $(SOURCES) 35 .buildchk: $(SOURCES)
  36 + npm install
36 npm run build 37 npm run build
37 touch $@ 38 touch $@
38 39
39 clean: 40 clean:
40 - rm -Rf build/* 41 + rm -Rf build
  42 + rm -Rf coverage
  43 + rm -Rf node_modules
  44 + rm -Rf .buildchk
1 { 1 {
2 - "name": "my-app", 2 + "name": "steffers.org",
3 "version": "0.1.0", 3 "version": "0.1.0",
4 "lockfileVersion": 1, 4 "lockfileVersion": 1,
5 "requires": true, 5 "requires": true,
Please register or login to post a comment