first install scripts, not working fully yet

This commit is contained in:
Erik Örtenberg 2025-02-14 11:45:26 +01:00
parent 13d4967290
commit ff39403875
4 changed files with 14 additions and 0 deletions

1
scripts/.gitignore vendored
View File

@ -5,3 +5,4 @@ lib
lib64
pyvenv.cfg
__pycache__
gantry

3
scripts/ghdl Executable file
View File

@ -0,0 +1,3 @@
#!/bin/bash
docker run -t -v /$(pwd):/src -w /src ghdl/ghdl:5.0.0-dev-gcc-ubuntu-24.04 bash -c "ghdl $@"

4
scripts/install_docker_ghdl.sh Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/fish
docker pull ghdl/ghdl:5.0.0-dev-gcc-ubuntu-24.04
fish_add_path "$(pwd)"

6
scripts/install_gantry.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/bash
PWD=$(pwd)
printf "#!/bin/bash \n$PWD/bin/python3 $PWD/gantry.py \$@" > "$PWD/gantry"
chmod +x "$PWD/gantry"