Author: Honza Pokorny <honza@pokorny.ca>
Rebuild when go.mod changes
Makefile | 2 +-
diff --git a/Makefile b/Makefile index 789e30047f3a790c3f29cefdad06bdd3bb42702e..294eaa3aaa7b78b4d9cf83b50d6d12a758efc86d 100644 --- a/Makefile +++ b/Makefile @@ -13,7 +13,7 @@ export CGO_ENABLED=0 all: smithy smithy.yml -smithy: pkg/smithy/* +smithy: go.mod pkg/smithy/* go build -ldflags $(LDFLAGS) -o smithy main.go smithy.yml: