fork/fish-shell

git clone https://git.julia.blue/fork/fish-shell

Peter AmmonAdd some vagrantfiles for building on BSDsd72adc012

master
997 B36 linesraw
1Vagrant.configure("2") do |config|
2  config.vm.box   = "generic/freebsd14"
3  config.vm.guest = :freebsd
4
5  # Packages provision (runs once on first boot)
6  config.vm.provision "shell", inline: <<~'SH'
7    set -e
8    # Packages (runs as root)
9    pkg install -y git python3 rust
10    git --version
11    python3 --version
12    rustc --version
13    cargo --version
14  SH
15
16
17  # sync fish-shell to /vagrant/fish-shell
18  config.vm.synced_folder "../../..", "/home/vagrant/fish-shell",
19    type: "rsync",
20    rsync__rsync_path: "sudo rsync", # sudo in guest
21    rsync__exclude: [".git/", ".git", "fish-shell/target/", "fish-shell/build/"],
22    rsync__args: [
23      "--archive", "--delete",
24      "--no-owner", "--no-group",
25      "--omit-dir-times",
26      "--info=progress2", "--stats"
27    ]
28
29  config.vm.provider :libvirt do |v|
30    v.cpus = 4
31    v.memory = 2048
32    # Max I/O for disposable builds. Remove if you need durability.
33    v.disk_driver :cache => 'unsafe'
34    v.graphics_type = "none"
35  end
36end