github.com/emmahsax/go-git-helper@v0.0.8-0.20240519163017-907b9de0fa52/Taskfile.yml (about)

     1  version: "3"
     2  
     3  tasks:
     4    build:
     5      desc: Build git-helper for all arches and OSes
     6      cmds:
     7        - task: build:darwin:arm64
     8  
     9    build:darwin:arm64:
    10      desc: Build git-helper for darwin arm64
    11      cmds:
    12        - cmd: GOOS=darwin GOARCH=arm64 go build -o git-helper_darwin_arm64
    13  
    14    build:test:
    15      desc: Build test-git-helper for testing purposes
    16      cmds:
    17        - cmd: GOOS=darwin GOARCH=arm64 go build -o test-git-helper
    18        - cmd: sudo mv test-git-helper /usr/local/bin/test-git-helper