Skip to content

WIP: Automatic build #1

WIP: Automatic build

WIP: Automatic build #1

Workflow file for this run

build:
go build -o bin/

Check failure on line 2 in .github/workflows/on-release.yml

View workflow run for this annotation

GitHub Actions / .github/workflows/on-release.yml

Invalid workflow file

You have an error in your yaml syntax on line 2
build-prod:
go build -ldflags "-s -w" -o bin/
run:
go run .
tests:
go test ./...
clean:
rm -rf bin/ muscurdi_db/
build-mac: clean
mkdir bin
fyne package -os darwin -icon assets/logo.png --release
mv Pinecone.app bin/
cp -r data/ bin/data/
build-linux: clean
mkdir bin
fyne package -os linux -icon assets/logo.png --release
mv Pinecone.tar.xz bin/
cp -r data/ bin/data/
build-win: clean
mkdir bin
fyne package -os windows -icon assets/logo.png --release
mv Pinecone.exe bin/
cp -r data/ bin/data/