# Scry build recipes

# Default recipe - show available commands
default:
    @just --list

# Build both standard and embedded versions for all platforms
build apk="delver.apk":
    rm -rf dist
    dotnet publish -c Release -r win-x64 -o dist/win-x64/standard
    dotnet publish -c Release -r win-x64 -p:EmbeddedApk={{apk}} -o dist/win-x64/embedded
    dotnet publish -c Release -r linux-x64 -o dist/linux-x64/standard
    dotnet publish -c Release -r linux-x64 -p:EmbeddedApk={{apk}} -o dist/linux-x64/embedded
    dotnet publish -c Release -r osx-x64 -o dist/osx-x64/standard
    dotnet publish -c Release -r osx-x64 -p:EmbeddedApk={{apk}} -o dist/osx-x64/embedded

# Clean build artifacts
clean:
    rm -rf bin obj dist
