feat: bin -> .local/bin, vcs_info untracked
This commit is contained in:
parent
af14629939
commit
7c98658d24
30 changed files with 31 additions and 46 deletions
27
.local/bin/epitest
Executable file
27
.local/bin/epitest
Executable 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 \
|
||||
"$@"
|
Loading…
Add table
Add a link
Reference in a new issue