From e290c05f53bf441fe35a5250d79b2de12f0cd309 Mon Sep 17 00:00:00 2001 From: Yakiyo Date: Tue, 22 Aug 2023 16:03:05 +0000 Subject: [PATCH] feat: update justfile --- justfile | 24 ++++++++++++++---------- 1 file changed, 14 insertions(+), 10 deletions(-) diff --git a/justfile b/justfile index 19fb2b4..5c2c2e0 100644 --- a/justfile +++ b/justfile @@ -1,19 +1,23 @@ +set positional-arguments + alias b := build alias u := update -alias r := run default: - @just --list - -update: - go mod tidy - go get - -build: - go build -o tilde main.go + @just --list @run *arg: go run main.go $@ +test: + go test ./... + +build: + go build -o tldr main.go + fmt: - go fmt ./... \ No newline at end of file + go fmt ./... + +update: + go get + go mod tidy \ No newline at end of file