Showing
4 changed files
with
8 additions
and
2 deletions
@@ -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 |
Please
register
or
login
to post a comment