Skip to content

Commit

Permalink
ci: bump mage-tools
Browse files Browse the repository at this point in the history
Moving to (hopefully) stable Makefile format.
  • Loading branch information
odsod committed Jan 18, 2022
1 parent 0d64dd1 commit 0e1fd65
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 39 deletions.
2 changes: 1 addition & 1 deletion .mage/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.17

require (
github.com/magefile/mage v1.12.1
go.einride.tech/mage-tools v0.17.0
go.einride.tech/mage-tools v0.27.0
)

require (
Expand Down
6 changes: 4 additions & 2 deletions .mage/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,7 @@ github.com/iancoleman/strcase v0.2.0 h1:05I4QRnGpI0m37iZQRuskXh+w77mr6Z41lwQzuHL
github.com/iancoleman/strcase v0.2.0/go.mod h1:iwCmte+B7n89clKwxIoIXy/HfoL7AsD47ZCWhYzw7ho=
github.com/magefile/mage v1.12.1 h1:oGdAbhIUd6iKamKlDGVtU6XGdy5SgNuCWn7gCTgHDtU=
github.com/magefile/mage v1.12.1/go.mod h1:z5UZb/iS3GoOSn0JgWuiw7dxlurVYTu+/jHXqQg881A=
go.einride.tech/mage-tools v0.17.0 h1:2TgDv0KukR61WbAk+AWz6vBkb7E1ryMYc37zcgelvPw=
go.einride.tech/mage-tools v0.17.0/go.mod h1:Z6r1+t7AAzM8G59LtsD8nM4anNGDHyo2lioYRXL8Ggs=
go.einride.tech/mage-tools v0.27.0 h1:WHDPcv9Om7p5vM8/KRf+5bWPwnPpT1tNhONTJltWvxc=
go.einride.tech/mage-tools v0.27.0/go.mod h1:pFpCBZ0U7a6862mks4y6v5xBkT4IhdrcJdEeTEjweMI=
gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0=
gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM=
8 changes: 0 additions & 8 deletions .mage/mgmake_gen.go

This file was deleted.

10 changes: 0 additions & 10 deletions .mage/tools.mk

This file was deleted.

44 changes: 26 additions & 18 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,40 +1,48 @@
# Code generated by Mage-tools. DO NOT EDIT.
# Code generated by go.einride.tech/mage-tools. DO NOT EDIT.
# To learn more, see .mage/magefile.go and https://github.com/einride/mage-tools.

.DEFAULT_GOAL := all

include .mage/tools.mk
magefile := .mage/tools/bin/magefile

$(magefile): .mage/go.mod .mage/*.go
@cd .mage && go run go.einride.tech/mage-tools/cmd/build

.PHONY: clean-mage-tools
clean-mage-tools:
@git clean -fdx .mage/tools

.PHONY: all
all: $(mage)
@$(mage) all
all: $(magefile)
@$(magefile) all

.PHONY: convco-check
convco-check: $(mage)
convco-check: $(magefile)
ifndef rev
$(error missing argument rev="...")
endif
@$(mage) convcoCheck $(rev)
@$(magefile) convcoCheck $(rev)

.PHONY: format-markdown
format-markdown: $(mage)
@$(mage) formatMarkdown
format-markdown: $(magefile)
@$(magefile) formatMarkdown

.PHONY: git-verify-no-diff
git-verify-no-diff: $(mage)
@$(mage) gitVerifyNoDiff
git-verify-no-diff: $(magefile)
@$(magefile) gitVerifyNoDiff

.PHONY: go-mod-tidy
go-mod-tidy: $(mage)
@$(mage) goModTidy
go-mod-tidy: $(magefile)
@$(magefile) goModTidy

.PHONY: go-test
go-test: $(mage)
@$(mage) goTest
go-test: $(magefile)
@$(magefile) goTest

.PHONY: golangci-lint
golangci-lint: $(mage)
@$(mage) golangciLint
golangci-lint: $(magefile)
@$(magefile) golangciLint

.PHONY: goreview
goreview: $(mage)
@$(mage) goreview
goreview: $(magefile)
@$(magefile) goreview

0 comments on commit 0e1fd65

Please sign in to comment.