Skip to content

Commit

Permalink
Add the sender as part of the dist make target as well
Browse files Browse the repository at this point in the history
  • Loading branch information
elisescu committed May 19, 2018
1 parent cfa0640 commit 2893543
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ output.log
bundle.js
playground/
.vscode/
tty_sender
tty_server
tty_sender*
tty_server*
tmp-*
tty-server/assets_bundle.go
4 changes: 3 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 -
Expand Down

0 comments on commit 2893543

Please sign in to comment.