2017-07-28 23:00:35 +00:00

47 lines
1.7 KiB
JSON

{
"homepage": "http://www.vim.org",
"license": "http://vimdoc.sourceforge.net/htmldoc/uganda.html#license",
"version": "8.0.0799",
"architecture": {
"32bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.0799/gvim_8.0.0799_x86.zip",
"hash": "5b07089ddf257a7730fcf724a7a98dc5fce23e9c31e6ba888e4c1e75fe856fc6"
},
"64bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.0799/gvim_8.0.0799_x64.zip",
"hash": "6718b34b244cbae0eb3915b566d283a4a22cf0843769e6e162ced06b390a1d1d"
}
},
"extract_dir": "vim\\vim80",
"bin": [
"vim.exe",
"gvim.exe"
],
"post_install": "if(!(test-path ~\\.vimrc)) {
cp \"$dir\\vimrc_example.vim\" ~\\.vimrc
\"set shell=$((gcm powershell).path)\\ -executionpolicy\\ bypass\" | out-file ~\\.vimrc -append -encoding ascii
echo '~/.vimrc was created with your shell set to Powershell.'
} else { echo '~/.vimrc exists, skipping' }",
"checkver": {
"github": "https://github.com/vim/vim-win32-installer"
},
"env_set": {
"VIM": "$dir"
},
"autoupdate": {
"architecture": {
"32bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v$version/gvim_$version_x86.zip",
"extract_dir": "vim\\vim$majorVersion$minorVersion"
},
"64bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v$version/gvim_$version_x64.zip",
"extract_dir": "vim\\vim$majorVersion$minorVersion"
}
}
},
"suggest": {
"vimtutor": "vimtutor"
}
}