Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

go mod tidy -go=1.17 #30

Merged
merged 3 commits into from
Aug 29, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 8 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
PACKAGES := $(shell go list ./...)
GO ?= go

PACKAGES := $(shell $(GO) list ./...)

GREP := grep
ifeq ($(OS),Windows_NT)
Expand All @@ -9,10 +11,10 @@ endif
.PHONY: setup

setup:
go install golang.org/x/tools/cmd/goimports@latest
go install golang.org/x/lint/golint@latest
go install github.com/rakyll/gotest@latest
go mod tidy
$(GO) install golang.org/x/tools/cmd/goimports@latest
$(GO) install golang.org/x/lint/golint@latest
$(GO) install github.com/rakyll/gotest@latest
$(GO) mod tidy

# development tasks
.PHONY: fmt lint vet test test.nocache
Expand All @@ -25,7 +27,7 @@ lint:
golint -set_exit_status $(PACKAGES)

vet:
go vet $(PACKAGES)
$(GO) vet $(PACKAGES)

test:
gotest -v -race $(PACKAGES)
Expand Down
6 changes: 3 additions & 3 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ clone_folder: C:\follow
environment:
GOPATH: C:\gopath
PATH: C:\gopath\bin;C:\msys64\mingw64\bin\;C:\Program Files (x86)\NSIS\;%PATH%
GO: go1.17

install:
- go env
- go version
- gcc --version
- go get golang.org/dl/%GO%
- '%GO% download'

- choco install -y make
- make setup
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module github.com/kei2100/follow

go 1.12
go 1.17

require github.com/kei2100/filesharedelete v0.0.0-20210814234627-59643fb948be