2017-08-28 23:00:31 +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.1010",
"architecture": {
"32bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.1010/gvim_8.0.1010_x86.zip",
"hash": "d246c14c79f904950d7fa981a7df4929842de79f1dd56b084a66a34edb3b3b88"
},
"64bit": {
"url": "https://github.com/vim/vim-win32-installer/releases/download/v8.0.1010/gvim_8.0.1010_x64.zip",
"hash": "a0bc2b484ee139117b3e769e741a5add0c18d9cd3e4f8068bed9806519fd49cd"
}
},
"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"
}
}