feat: bin -> .local/bin, vcs_info untracked

This commit is contained in:
ange 2024-04-24 19:22:30 +02:00
parent af14629939
commit 7c98658d24
Signed by: ange
GPG key ID: 9E0C4157BB7BEB1D
30 changed files with 31 additions and 46 deletions

27
.local/bin/epitest Executable file
View file

@ -0,0 +1,27 @@
#!/bin/bash -e
OPT=()
if [ -z "$WAYLAND_DISPLAY" ]; then
OPT+=(
--network=host
-e XAUTHORITY=/app/.Xauthority
-v "$XAUTHORITY:/app/.Xauthority:ro"
)
fi
podman run --rm -it --name epitest \
"${OPT[@]}" \
--ipc=host \
--device /dev/dri/ \
-e DISPLAY \
-e XDG_RUNTIME_DIR \
-e MAKEFLAGS \
-e CFLAGS=-g3 \
-e CXXFLAGS=-g3 \
-v /tmp/.X11-unix/:/tmp/.X11-unix/ \
-v "$XDG_RUNTIME_DIR:$XDG_RUNTIME_DIR" \
-v /usr/share/fonts/:/usr/share/fonts/:ro \
-v "$PWD:$PWD" \
-w "$PWD" \
docker.io/epitechcontent/epitest-docker:latest \
"$@"