12 lines
350 B
Bash
12 lines
350 B
Bash
#!/usr/bin/env bash
|
|||
|
|
# Run a command inside the oko-dev distrobox (Fedora 44, OpenCV 4.13, Go toolchain).
|
||
|
|
#
|
||
|
|
# Usage:
|
||
|
|
# ./dev.sh <command...>
|
||
|
|
# Examples:
|
||
|
|
# ./dev.sh go test -short ./... # run from any module dir
|
||
|
|
# ./dev.sh go vet ./...
|
||
|
|
# ./dev.sh ../oko-run/oko-run -config ../config.yaml
|
||
|
|
set -e
|
||
|
|
exec distrobox enter oko-dev -- "$@"
|