~welt/murse

ref: v0.0.3 murse/.builds/build.yml -rw-r--r-- 656 bytes
59f92316welt Move some command descriptions to constants, fix marshaler for realsies, and stop being anal about slashes. 7 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
image: alpine/edge
packages:
  - go
  - rsync
secrets:
  - f9c53b5e-7a8b-4ea1-a0b0-99725eb1c641
sources:
  - https://git.sr.ht/~welt/murse
tasks:
- build: |  
    cd murse
    CGO_ENABLED=0 go build -tags netgo -ldflags "-s -w" ./
    GOOS="windows" CGO_ENABLED=0 go build -tags netgo -ldflags "-s -w" ./
    if [ "$(git rev-parse origin/master)" != "$(git rev-parse HEAD)" ]; then \
      complete-build; \
    fi
- upload: |
    echo "StrictHostKeyChecking=no" >> ~/.ssh/config
    rsync murse/murse dl@willow.spiderden.net:/var/www/dl.spiderden.net/murse/murse
    rsync murse/murse.exe dl@willow.spiderden.net:/var/www/dl.spiderden.net/murse/murse.exe