Skip to content

Commit

Permalink
Added build step to Taskfile
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfarrelldev committed Dec 31, 2023
1 parent 09baef0 commit 04d77c8
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
bin
proto_out
src/google/*
src/google/*
build_output
6 changes: 6 additions & 0 deletions Taskfile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,12 @@ tasks:
- echo Starting dev server...
- (cd src && go run .)

build:
cmds:
- task protos
- mkdir -p build_output
- (cd src && go build -o ../build_output/open-ctp-server)

test:
cmds:
- go test
Expand Down

0 comments on commit 04d77c8

Please sign in to comment.