Make -> just

This commit is contained in:
Imbus 2024-01-05 16:27:28 +01:00
parent 22f200c2b4
commit bbaf156601
2 changed files with 15 additions and 11 deletions

15
justfile Normal file
View file

@ -0,0 +1,15 @@
run:
cd src && go run .
build:
mkdir -p bin
cd src && go build -o ../bin/main .
test:
cd src && go test -v .
clean:
rm -rf bin/*
format:
go fmt src/*.go

View file

@ -1,11 +0,0 @@
run:
go run src/*.go
build:
go build -o bin/main src/main.go
clean:
rm -rf bin/*
format:
go fmt src/*.go