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

fix: better Makefile and dependency bump for example #27

Merged
merged 1 commit into from
Mar 11, 2024
Merged
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
10 changes: 8 additions & 2 deletions example/Makefile
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
.PHONY: clean build run

build:
@echo "Building..."
@go build -o bin/example-bot cmd/example-bot/main.go
@echo "Finished script. Check bin directory."
run:
@bin/example-bot
clean:
@echo "Cleaning up..."
@rm bin/example-bot
@echo "Done!"
run: build
@bin/example-bot
3 changes: 1 addition & 2 deletions example/go.mod
Original file line number Diff line number Diff line change
@@ -3,5 +3,4 @@ module example-bot
go 1.22.0

require github.com/joho/godotenv v1.5.1

require github.com/Amatsagu/Tempest v1.1.7-0.20240310145558-c48446d33797
require github.com/Amatsagu/Tempest v1.2.0
6 changes: 2 additions & 4 deletions example/go.sum
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
github.com/Amatsagu/Tempest v1.1.7-0.20240309110700-da99bbed97db h1:ztyfq7rt+sjfNAlhwmUsxvte+ALyEIGSG59pTSpV1Ic=
github.com/Amatsagu/Tempest v1.1.7-0.20240309110700-da99bbed97db/go.mod h1:6pJb/I5+sg0g0bc78zRPVh7G5s1pL7FxCzGDoHlVugE=
github.com/Amatsagu/Tempest v1.1.7-0.20240310145558-c48446d33797 h1:QIAHr00H1UbOGLL76NRZM3L5qUJOX5HfbK661TdGwMs=
github.com/Amatsagu/Tempest v1.1.7-0.20240310145558-c48446d33797/go.mod h1:6pJb/I5+sg0g0bc78zRPVh7G5s1pL7FxCzGDoHlVugE=
github.com/Amatsagu/Tempest v1.2.0 h1:beLRJNona64e1putLBpbd7PrVZnBSeBTG8GD/uyjPak=
github.com/Amatsagu/Tempest v1.2.0/go.mod h1:6pJb/I5+sg0g0bc78zRPVh7G5s1pL7FxCzGDoHlVugE=
github.com/joho/godotenv v1.5.1 h1:7eLL/+HRGLY0ldzfGMeQkb7vMd0as4CfYvUVzLqw0N0=
github.com/joho/godotenv v1.5.1/go.mod h1:f4LDr5Voq0i2e/R5DDNOoa2zzDfwtkZa6DnEwAbqwq4=