diff options
| author | nsfisis <nsfisis@gmail.com> | 2022-04-24 13:12:59 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2022-04-24 13:12:59 +0900 |
| commit | 83754f16833766420cdca1f8527177dbc4b6ace1 (patch) | |
| tree | e713bf6e0d6d9ce74e9b361b2aeebb6f4f45c51b /Makefile | |
| parent | 7f4f96b94f1111fbbe71dc99c4bed506a4b4b406 (diff) | |
| download | term-banner-1.0.0.tar.gz term-banner-1.0.0.tar.zst term-banner-1.0.0.zip | |
implementv1.0.0
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..d4abc9b --- /dev/null +++ b/Makefile @@ -0,0 +1,24 @@ +BIN := term-banner + +all: build + +.PHONY: run +run: build + ./$(BIN) + +.PHONY: build +build: $(BIN) + +$(BIN): main.go + go build -o $(BIN) + +.PHONY: fmt +fmt: + go fmt + +.PHONY: clean +clean: + go clean + +test: build + ./$(BIN) 'Hello, World!' 'こんにちは、' '世界!' |
