~zethra/stargazer

ref: fbbf828c33087d1601d81db7c99c41d71fcb930f stargazer/scripts/bundle -rwxr-xr-x 530 bytes
fbbf828c — Ben Aaron Goldberg config: add bad config for testing 4 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh

# Build with musl libc
export CGFLAGS='--target=x86_64-unknown-linux-musl --release'
export CGOUT='./target/x86_64-unknown-linux-musl/release/stargazer'
./scripts/build

mkdir -p out
install -Dm755 "$CGOUT" ./out/stargazer
install -Dm644 ./stargazer.1 ./out/stargazer.1
install -Dm644 ./stargazer.ini.5 ./out/stargazer.ini.5
install -Dm644 ./config.ini ./out/config.ini

TAG_NAME="$(git describe --tags $(git rev-list --tags --max-count=1))"

tar cvJf "./stargazer-$TAG_NAME-x86_64-linux-musl.tar.xz" ./out

rm -rf out