From: Nathan Youngman Date: Sun, 8 Sep 2013 18:38:26 +0000 (-0600) Subject: provisioning freebsd with the help of @petecheslock X-Git-Tag: v1.7.2~341 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=dff52e7685f407ca60db9fd12b2ac59e45de4dfa;p=fsnotify.git provisioning freebsd with the help of @petecheslock --- diff --git a/Vagrantfile b/Vagrantfile index ac6f26d..25f747f 100644 --- a/Vagrantfile +++ b/Vagrantfile @@ -1,47 +1,82 @@ # -*- mode: ruby -*- # vi: set ft=ruby : -# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! +# Vagrantfile API/syntax version. VAGRANTFILE_API_VERSION = "2" -# shell script to bootstrap Go on Linux -GO_LINUX = 'go1.1.2.linux-386.tar.gz' -# Everything after /src/ in the host operating system's path -PROJECT_PATH = File.dirname(__FILE__).partition("#{File::SEPARATOR}src#{File::SEPARATOR}").last -PARENT_PATH = File.split(PROJECT_PATH).first +INSTALL = { + "linux" => "apt-get update -qq; apt-get install -qq -y git mercurial bzr curl", + "bsd" => "pkg_add -r git mercurial" +} -$bootstrap_linux = <