Last active
August 15, 2016 09:19
-
-
Save vvavrychuk/3e53296daa681414e0cec6da57296027 to your computer and use it in GitHub Desktop.
lime-qml vagrantfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Vagrant.configure("2") do |config| | |
config.vm.box = "ubuntu/xenial64" | |
config.vm.provision "shell", inline: <<-SHELL | |
apt-get update | |
apt-get -y install git golang libonig-dev libonig2 mercurial python3.5 python3.5-dev | |
apt-get -y install libqt5opengl5-dev libqt5qml-graphicaleffects qtbase5-private-dev \ | |
qtdeclarative5-controls-plugin qtdeclarative5-dev qtdeclarative5-dialogs-plugin \ | |
qtdeclarative5-qtquick2-plugin qtdeclarative5-quicklayouts-plugin qtdeclarative5-window-plugin | |
SHELL | |
config.vm.provision "shell", privileged: false, inline: <<-SHELL | |
export GOPATH=~/golang | |
go get github.com/limetext/backend | |
cd $GOPATH/src/github.com/limetext/backend | |
git submodule update --init --recursive | |
go test github.com/limetext/backend/... | |
go get github.com/limetext/lime-qml/main/... | |
cd $GOPATH/src/github.com/limetext/lime-qml | |
git submodule update --init --recursive | |
cd $GOPATH/src/github.com/limetext/lime-qml/main | |
go build | |
SHELL | |
config.ssh.forward_x11 = true | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment