fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
d72adc012
master
1Vagrant.configure("2") do |config| 2 config.vm.box = "generic/dragonflybsd6" 3 config.vm.guest = :dragonflybsd 4 5 # Host-only network; not public 6 config.vm.network "private_network", ip: "192.168.121.13" 7 8 # Make /sync once as vagrant:vagrant so rsync doesn't need sudo 9 config.vm.provision "shell", inline: <<~'SH' 10 set -e 11 install -d -o vagrant -g vagrant /sync 12 13 # Packages (runs as root) 14 export PKG_PATH=http://avalon.dragonflybsd.org/dports/dragonfly:6.4:x86:64/LATEST/All/ 15 pkg install -y git python3 rust 16 git --version 17 python3 --version 18 rustc --version 19 cargo --version 20 SH 21 22 # sync fish-shell to /vagrant/fish-shell 23 config.vm.synced_folder "../../..", "/home/vagrant/fish-shell", 24 type: "rsync", 25 rsync__rsync_path: "sudo rsync", # sudo in guest 26 rsync__exclude: [".git/", ".git", "fish-shell/target/", "fish-shell/build/"], 27 rsync__args: [ 28 "--archive", "--delete", 29 "--no-owner", "--no-group", 30 "--omit-dir-times", 31 "--info=progress2", "--stats" 32 ] 33 34 35 config.vm.provider :libvirt do |v| 36 v.cpus = 4 37 v.graphics_type = "none" 38 end 39end