From: Nathan Youngman Date: Sun, 8 Sep 2013 06:59:59 +0000 (-0600) Subject: Vagrant file for Linux 32-bit, ref #59 X-Git-Tag: v1.7.2~342 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=2c9a8b84fccf466666dfd86bfbbbbd849c28f657;p=fsnotify.git Vagrant file for Linux 32-bit, ref #59 * git ignore .vagrant * fixup example test to use the github path (otherwise need to install as a test dependency) --- diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e4706a9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,5 @@ +# Setup a Global .gitignore for OS and editor generated files: +# https://help.github.com/articles/ignoring-files +# git config --global core.excludesfile ~/.gitignore_global + +.vagrant diff --git a/Vagrantfile b/Vagrantfile new file mode 100644 index 0000000..ac6f26d --- /dev/null +++ b/Vagrantfile @@ -0,0 +1,47 @@ +# -*- mode: ruby -*- +# vi: set ft=ruby : + +# Vagrantfile API/syntax version. Don't touch unless you know what you're doing! +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 + +$bootstrap_linux = <