This repository has been archived on 2026-03-06. You can view files and clone it, but cannot push or open issues or pull requests.
go-php/Taskfile.yml
Snider ce2ca60268
Some checks failed
Security Scan / security (push) Successful in 7s
Test / test (push) Failing after 1m22s
feat: standalone core-php binary with build tags
- Remove init() registration, use cli.Main() pattern
- Build-tag FrankenPHP files (cgo/!cgo)
- Add Taskfile.yml
- Add CLAUDE.md

Co-Authored-By: Virgil <virgil@lethean.io>
2026-03-06 08:40:39 +00:00

23 lines
447 B
YAML

version: '3'
tasks:
build:
desc: Build core-php binary
cmds:
- CGO_ENABLED=0 go build -o ./bin/core-php ./cmd/core-php
build-frankenphp:
desc: Build with FrankenPHP support (needs PHP-ZTS)
cmds:
- go build -o ./bin/core-php ./cmd/core-php
test:
desc: Run tests
cmds:
- CGO_ENABLED=0 go test ./...
run:
desc: Build and run
cmds:
- task: build
- ./bin/core-php {{.CLI_ARGS}}