From 71f8ad9574eccab571ea634ad74ad4725738140e Mon Sep 17 00:00:00 2001 From: Georg Hopp Date: Sat, 11 Nov 2017 01:19:08 +0100 Subject: [PATCH] Some fixes for the build. --- Makefile | 1 + docker/Makefile | 1 + react/Makefile | 6 +++++- react/package-lock.json | 2 +- 4 files changed, 8 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 6bbb195..2eed156 100644 --- a/Makefile +++ b/Makefile @@ -17,6 +17,7 @@ all: docker $(GOEXE): $(APP_NAME).go go install $(GOPROJECT) + strip $@ docker: react $(GOEXE) $(MAKE) -C $@ diff --git a/docker/Makefile b/docker/Makefile index cb92875..8600e7e 100644 --- a/docker/Makefile +++ b/docker/Makefile @@ -15,6 +15,7 @@ all: $(LIBS) $(EXE) react Dockerfile $(LIBS): install -D /lib64/$(notdir $@) $@ + strip $@ $(EXE): install -D $(GOEXE) $@ diff --git a/react/Makefile b/react/Makefile index fa71865..baa5cb9 100644 --- a/react/Makefile +++ b/react/Makefile @@ -33,8 +33,12 @@ SOURCES = src/About.css \ all: .buildchk .buildchk: $(SOURCES) + npm install npm run build touch $@ clean: - rm -Rf build/* + rm -Rf build + rm -Rf coverage + rm -Rf node_modules + rm -Rf .buildchk diff --git a/react/package-lock.json b/react/package-lock.json index a7c7130..1483aca 100644 --- a/react/package-lock.json +++ b/react/package-lock.json @@ -1,5 +1,5 @@ { - "name": "my-app", + "name": "steffers.org", "version": "0.1.0", "lockfileVersion": 1, "requires": true,