File: Vagrantfile

package info (click to toggle)
browserpass 2.0.22-2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 568 kB
  • sloc: sh: 128; makefile: 112
file content (15 lines) | stat: -rw-r--r-- 665 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Vagrant.configure("2") do |config|
  config.vm.box = "minimal/xenial64"
  config.vm.provision "shell" do |s|
    s.inline = %q{
      apt-get update
      apt-get install -y nodejs npm golang cmdtest
      ln -sfn $(which nodejs) /usr/local/bin/node

      grep -q GOPATH /home/vagrant/.profile || echo 'export GOPATH="${HOME}/go"' >> /home/vagrant/.profile
      grep -q browserify /home/vagrant/.profile || echo 'PATH="$PATH:/home/vagrant/go/src/github.com/dannyvankooten/browserpass/node_modules/.bin"' >> /home/vagrant/.profile
      mkdir -p go/src/github.com/dannyvankooten/
      ln -sfn /vagrant go/src/github.com/dannyvankooten/browserpass
    }
  end
end