~kornellapacz/gmnigit

636c885dba1038896ca7519aaff7b0e3be5f4dd6 — Korneliusz Łapacz 4 months ago 813c650
add Taskfile
3 files changed, 15 insertions(+), 1 deletions(-)

M .gitignore
M README.md
A Taskfile.yml
M .gitignore => .gitignore +1 -0
@@ 1,1 1,2 @@
gmnigit
.task/

M README.md => README.md +1 -1
@@ 11,7 11,7 @@ Unfortunately because of `replace` directive in `go.mod` you cannot simply get b
```
git clone https://git.sr.ht/~kornellapacz/gmnigit
cd gmnigit
go build -o gmnigit
task build # or: `go build -o gmnigit`
```
place `gmnigit` binary somewhere in your `$PATH`.


A Taskfile.yml => Taskfile.yml +13 -0
@@ 0,0 1,13 @@
version: '3'

tasks:
  build:
    cmds: 
      - go build -o gmnigit{{exeExt}}
    sources: 
      - ./*.go
    generates:
      - gmnigit{{exeExt}}

  # TODO: install task