File tree Expand file tree Collapse file tree 4 files changed +19
-18
lines changed Expand file tree Collapse file tree 4 files changed +19
-18
lines changed Original file line number Diff line number Diff line change 1+ root = " ../"
2+
3+ [build ]
4+ cmd = " go build -o cli ."
5+ bin = " /bin/true"
6+ delay = 1000
7+ exclude_regex = [" _test.go" ]
8+ exclude_unchanged = false
9+ follow_symlink = false
10+ include_dir = [" pkg" , " cli" ]
11+ include_ext = [" go" ]
12+ kill_delay = " 0s"
13+ stop_on_error = true
14+
15+ [misc ]
16+ clean_on_exit = true
Original file line number Diff line number Diff line change @@ -33,7 +33,8 @@ RUN go build
3333FROM builder AS development
3434
3535RUN apk add --update openssl build-base docker-cli
36- RUN go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.3
36+ RUN go install github.com/cosmtrek/air@v1.51.0 && \
37+ go install github.com/golangci/golangci-lint/cmd/golangci-lint@v1.53.3
3738
3839WORKDIR $GOPATH/src/github.com/shellhub-io/shellhub
3940
Original file line number Diff line number Diff line change 11#! /bin/sh
22
3- go build
4-
5- exec " $@ "
3+ exec air
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments