Files
abra/devbox.json
T
Linus Gasser 73d6196e7a
continuous-integration/drone/pr Build is passing
Adding devbox and compile xgettext on Mac
Devbox is a nice shell-configuration tool which replaces your PATH
to point to nix-installed packages:

https://www.jetify.com/docs/devbox/installing-devbox

This allows to have a well-defined developer environment.

This also changes the Makefile to compile xgettext, because the
download of the binary only works for Linux.
2026-06-13 21:54:50 +02:00

29 lines
554 B
JSON

{
"$schema": "https://raw.githubusercontent.com/jetify-com/devbox/0.17.2/.schema/devbox.schema.json",
"packages": [
"go@1.26",
"gnumake@latest",
"gettext@latest"
],
"env": {
"GOPATH": "$PWD/.devbox",
"PATH": "$PWD/.devbox/bin:$PATH"
},
"shell": {
"init_hook": [
"mkdir -p .devbox/bin"
],
"scripts": {
"xgettext-go": [
"go install git.coopcloud.tech/toolshed/xgettext-go@latest"
],
"build": [
"make build"
],
"test": [
"make test"
]
}
}
}