Enchantrix/Taskfile.yml
google-labs-jules[bot] 1c2d667b49 feat: Make trix magic number configurable
This commit makes the magic number in the trix file format configurable.

- The `Encode` and `Decode` functions in the `trix` package now accept a `magicNumber` string as a parameter.
- The example in `examples/main.go` has been updated to demonstrate the use of the new configurable magic number.
- The tests for the `trix` package have been updated to verify the new functionality, including tests for invalid magic numbers.
2025-10-31 01:53:49 +00:00

12 lines
166 B
YAML

version: '3'
tasks:
test:
desc: "Run all tests"
cmds:
- go test -v ./...
build:
desc: "Build the project"
cmds:
- go build -v ./...