Skip to content
Snippets Groups Projects
Commit f6c14a70 authored by Alex Ellis's avatar Alex Ellis
Browse files

Add gofmt to watchdog


Signed-off-by: default avatarAlex Ellis <alexellis2@gmail.com>
parent b9be8293
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,9 @@ COPY requesthandler_test.go .
#COPY requestHandler.go .
COPY types types
# Run a gofmt and exclude all vendored code.
RUN gofmt -l -d $(find . -type f -name '*.go' -not -path "./vendor/*")
RUN go test
# Stripping via -ldflags "-s -w"
......
......@@ -11,9 +11,10 @@ else
fi
docker create --name buildoutput functions/watchdog:build echo
docker cp buildoutput:/go/src/github.com/alexellis/faas/watchdog/watchdog ./fwatchdog
docker cp buildoutput:/go/src/github.com/alexellis/faas/watchdog/watchdog ./fwatchdog
docker cp buildoutput:/go/src/github.com/alexellis/faas/watchdog/watchdog-armhf ./fwatchdog-armhf
docker cp buildoutput:/go/src/github.com/alexellis/faas/watchdog/watchdog.exe ./fwatchdog.exe
docker rm buildoutput
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment