Build / build (push) Successful in 9m40s
CMake the way CLion does it (profiles and presets, targets, run and debug configurations, CTest) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: Tomáš Černík <Tom.cernik@gmail.com> Reviewed-on: #1
11 lines
501 B
Bash
Executable File
11 lines
501 B
Bash
Executable File
#!/bin/sh
|
|
# Runs a command in the development image, in this folder, as you (so the
|
|
# files it makes are yours): ./scripts/docker.sh npm run package
|
|
# Without a command: a shell. The image is (re)built when the Dockerfile changes.
|
|
set -e
|
|
root=$(cd "$(dirname "$0")/.." && pwd)
|
|
image=vs-code-cmake-helper-dev
|
|
docker build -q -t "$image" "$root" >/dev/null
|
|
tty=; [ -t 0 ] && tty=-it
|
|
exec docker run --rm $tty -u "$(id -u):$(id -g)" -e HOME=/tmp -v "$root:/workspace" -w /workspace "$image" "${@:-bash}"
|