aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2022-04-24 13:12:59 +0900
committernsfisis <nsfisis@gmail.com>2022-04-24 13:12:59 +0900
commit83754f16833766420cdca1f8527177dbc4b6ace1 (patch)
treee713bf6e0d6d9ce74e9b361b2aeebb6f4f45c51b /Makefile
parent7f4f96b94f1111fbbe71dc99c4bed506a4b4b406 (diff)
downloadterm-banner-83754f16833766420cdca1f8527177dbc4b6ace1.tar.gz
term-banner-83754f16833766420cdca1f8527177dbc4b6ace1.tar.zst
term-banner-83754f16833766420cdca1f8527177dbc4b6ace1.zip
implementv1.0.0
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile24
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!' 'こんにちは、' '世界!'