From 289354370d568a6192b7cee1087a74cfa6c73824 Mon Sep 17 00:00:00 2001 From: Vasile Popescu Date: Sat, 19 May 2018 15:38:59 +0200 Subject: [PATCH] Add the sender as part of the `dist` make target as well --- .gitignore | 4 ++-- Makefile | 4 +++- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/.gitignore b/.gitignore index 26ee814..0b5d793 100644 --- a/.gitignore +++ b/.gitignore @@ -5,7 +5,7 @@ output.log bundle.js playground/ .vscode/ -tty_sender -tty_server +tty_sender* +tty_server* tmp-* tty-server/assets_bundle.go diff --git a/Makefile b/Makefile index 63e5509..67bca74 100644 --- a/Makefile +++ b/Makefile @@ -23,9 +23,11 @@ $(TTY_SENDER): $(TTY_SENDER_SRC) $(EXTRA_BUILD_DEPS) tty-server/assets_bundle.go: $(TTY_SERVER_ASSETS) go-bindata --prefix frontend/public/ -o $@ $^ -dist: frontend $(TTY_SENDER_SRC) $(EXTRA_BUILD_DEPS) +dist: frontend $(TTY_SERVER_SRC) $(TTY_SENDER_SRC) $(EXTRA_BUILD_DEPS) GOOS=linux go build -o tty_server.linux $(TTY_SERVER_SRC) GOOS=darwin go build -o tty_server.darwin $(TTY_SERVER_SRC) + GOOS=linux go build -o tty_sender.linux $(TTY_SENDER_SRC) + GOOS=darwin go build -o tty_sender.darwin $(TTY_SENDER_SRC) frontend: FORCE cd frontend && npm run build && cd -