Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
raxod502 committed Oct 18, 2024
1 parent ba91c7d commit 0ddb085
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions test/formatters/installers/vfmt.bash
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
ver="$(latest_release vlang/v)"

apt-get install -y gcc
wget "https://github.com/vlang/v/releases/download/${ver}/v_linux.zip" -O v.zip
unzip v.zip
chmod a=u,go-w -R v
apt-get install -y gcc libx11-dev

wget -nv "https://github.com/vlang/v/releases/download/${ver}/v_linux.zip" -O v.zip
unzip -q v.zip

sudo mkdir /opt/vlang
sudo cp -R v/. /opt/vlang/.
sudo /opt/vlang/v symlink

sudo v build-tools

# thx https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=vlang
sudo touch /opt/vlang/cmd/tools/.disable_autorecompilation

0 comments on commit 0ddb085

Please sign in to comment.