This repository contains scripts to automate task of building -current version of vim-qt.
All build process is done in VM in order not to contaminate host system with development packages. Snapcraft installs packages necessary for building in host environment, which may intervene with normally installed packages.
vim-qt build into snap in order to allow clean install/uninstall of testing versions.
Docker is not quite suitable, because it had problems running snapd
inside it
(in order to install core
snap), that's why Vagrant is used.
- recent version of Vagrant
- snapd installed on the system
- vim-qt snap expects vim to be installed on host system in /usr/share/vim
To build or rebuild package simply run vagrant up
in current directory.
Output of the build will be in snap/qvim_dev_amd64.snap
file.
To install snap package use following command:
sudo snap install --dangerous --classic snap/qvim_dev_amd64.snap
Please note that it uses classical confinement in ordet to give qvim
access
to all locally installed tools. This means it is not isolated in snap
directory, but can access all your system information.
--dangerous
necessary to allow installation of unsigned snaps.
Use there commands (available under /snap/bin/
path):
- qvim
- qvim.vim to run console-based version of vim from snap