diff --git a/.gitignore b/.gitignore index ad27083..939f9b0 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ bin proto_out -src/google/* \ No newline at end of file +src/google/* +build_output \ No newline at end of file diff --git a/Taskfile.yml b/Taskfile.yml index 5de625e..a053534 100644 --- a/Taskfile.yml +++ b/Taskfile.yml @@ -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