Vim installs vimtutor and sets up ~/.vimrc automatically. condense hash format in .json manifests

This commit is contained in:
Luke Sampson 2013-06-29 14:10:44 +10:00
parent c680bfb299
commit 18aee0c7d1
15 changed files with 33 additions and 34 deletions

View File

@ -5,12 +5,12 @@
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920-x64.msi", "url": "http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920-x64.msi",
"hash": { "sha256": "62df458bc521001cd9a947643a84810ecbaa5a16b5c8e87d80df8e34c4a16fe2" }, "hash": "sha256:62df458bc521001cd9a947643a84810ecbaa5a16b5c8e87d80df8e34c4a16fe2",
"msi": { "code": "{23170F69-40C1-2702-0920-000001000000}" } "msi": { "code": "{23170F69-40C1-2702-0920-000001000000}" }
}, },
"32bit": { "32bit": {
"url": "http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920.msi", "url": "http://downloads.sourceforge.net/project/sevenzip/7-Zip/9.20/7z920.msi",
"hash": { "sha256": "fe4807b4698ec89f82de7d85d32deaa4c772fc871537e31fb0fccf4473455cb8" }, "hash": "sha256:fe4807b4698ec89f82de7d85d32deaa4c772fc871537e31fb0fccf4473455cb8",
"msi": { "code": "{23170F69-40C1-2701-0920-000001000000}" } "msi": { "code": "{23170F69-40C1-2701-0920-000001000000}" }
} }
}, },

View File

@ -4,6 +4,6 @@
"licence": "MIT", "licence": "MIT",
"url": "http://curl.haxx.se/gknw.net/7.30.0/dist-w32/curl-7.30.0-rtmp-ssh2-ssl-sspi-zlib-idn-static-bin-w32.zip", "url": "http://curl.haxx.se/gknw.net/7.30.0/dist-w32/curl-7.30.0-rtmp-ssh2-ssl-sspi-zlib-idn-static-bin-w32.zip",
"unzip_folder": "curl-7.30.0-rtmp-ssh2-ssl-sspi-zlib-idn-static-bin-w32", "unzip_folder": "curl-7.30.0-rtmp-ssh2-ssl-sspi-zlib-idn-static-bin-w32",
"hash": { "sha256": "90af768c246136c14a2ae52e8775fa4d976eda4632159bc565e1a539b4f15e1a" }, "hash": "sha256:90af768c246136c14a2ae52e8775fa4d976eda4632159bc565e1a539b4f15e1a",
"bin": "curl.exe" "bin": "curl.exe"
} }

View File

@ -3,7 +3,7 @@
"license": "GPL2", "license": "GPL2",
"version": "1.8.3", "version": "1.8.3",
"url": "https://msysgit.googlecode.com/files/Git-1.8.3-preview20130601.exe", "url": "https://msysgit.googlecode.com/files/Git-1.8.3-preview20130601.exe",
"hash": { "sha256": "ddd2e02aec58c48ae6812a7df0287b03c6c26063fe5ac36bf757efd60fd7d2e4" }, "hash": "sha256:ddd2e02aec58c48ae6812a7df0287b03c6c26063fe5ac36bf757efd60fd7d2e4",
"installer": { "args": ["/verysilent", "/dir=\"$dir\"", "/noicons", "/components=\"\"", "/tasks=\"\"" ] }, "installer": { "args": ["/verysilent", "/dir=\"$dir\"", "/noicons", "/components=\"\"", "/tasks=\"\"" ] },
"bin": [ "cmd\\git.exe", "cmd\\gitk.cmd" ], "bin": [ "cmd\\git.exe", "cmd\\gitk.cmd" ],
"post_install": [ "post_install": [

View File

@ -7,8 +7,8 @@
"http://downloads.sourceforge.net/gnuwin32/grep-2.5.4-dep.zip" "http://downloads.sourceforge.net/gnuwin32/grep-2.5.4-dep.zip"
], ],
"hash": [ "hash": [
{ "md5": "c1733d1bc0def1e47f99bad83a0e3116" }, "md5:c1733d1bc0def1e47f99bad83a0e3116",
{ "md5": "cc990f643b460ce4ee37264cc00713c6" } "md5:cc990f643b460ce4ee37264cc00713c6"
], ],
"bin": [ "bin\\grep.exe" ] "bin": [ "bin\\grep.exe" ]
} }

View File

@ -7,8 +7,8 @@
"http://downloads.sourceforge.net/project/gnuwin32/less/394/less-394-dep.zip" "http://downloads.sourceforge.net/project/gnuwin32/less/394/less-394-dep.zip"
], ],
"hash": [ "hash": [
{"md5": "20f94bcc8a3347bd9a9ca32587d82eae"}, "md5:20f94bcc8a3347bd9a9ca32587d82eae",
{"md5": "539dce63be2b89a22af7b526d1022f72"} "md5:539dce63be2b89a22af7b526d1022f72"
], ],
"bin": ["bin\\less.exe"] "bin": ["bin\\less.exe"]
} }

View File

@ -5,11 +5,11 @@
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "http://mercurial.selenic.com/release/windows/Mercurial-2.6.2-x64.exe", "url": "http://mercurial.selenic.com/release/windows/Mercurial-2.6.2-x64.exe",
"hash": { "sha256": "d61b7ce3193507aee3214bbd890bdd9cda9d6bc45f134d2563a038f81e2a2331" } "hash": "sha256:d61b7ce3193507aee3214bbd890bdd9cda9d6bc45f134d2563a038f81e2a2331"
}, },
"32bit": { "32bit": {
"url": "http://mercurial.selenic.com/release/windows/Mercurial-2.6.2.exe", "url": "http://mercurial.selenic.com/release/windows/Mercurial-2.6.2.exe",
"hash": { "sha256": "4ea3d91831521e720517c48fd80bcbbeb54a514186118cb2f6b9e023893443b6"} "hash": "sha256:4ea3d91831521e720517c48fd80bcbbeb54a514186118cb2f6b9e023893443b6"
} }
}, },
"installer": { "args": [ "/verysilent", "/dir=\"$dir\"", "/noicons" ] }, "installer": { "args": [ "/verysilent", "/dir=\"$dir\"", "/noicons" ] },

View File

@ -5,11 +5,11 @@
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "http://www.flos-freeware.ch/zip/notepad2_4.2.25_x64.zip", "url": "http://www.flos-freeware.ch/zip/notepad2_4.2.25_x64.zip",
"hash": { "sha256": "37a62f7e891335a1e671f444cefe761fcd814a2fa1a3141fe2501d8433d8920b" } "hash": "sha256:37a62f7e891335a1e671f444cefe761fcd814a2fa1a3141fe2501d8433d8920b"
}, },
"32bit": { "32bit": {
"url": "http://www.flos-freeware.ch/zip/notepad2_4.2.25_x86.zip", "url": "http://www.flos-freeware.ch/zip/notepad2_4.2.25_x86.zip",
"hash": { "sha256": "c87a20d6953fd3c33475dd7391e7e0dd7dde1faca6b86c7478bd009ae65eace5" } "hash": "sha256:c87a20d6953fd3c33475dd7391e7e0dd7dde1faca6b86c7478bd009ae65eace5"
} }
}, },
"bin": "Notepad2.exe" "bin": "Notepad2.exe"

View File

@ -5,11 +5,11 @@
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "http://get.enterprisedb.com/postgresql/postgresql-9.2.4-1-windows-x64-binaries.zip", "url": "http://get.enterprisedb.com/postgresql/postgresql-9.2.4-1-windows-x64-binaries.zip",
"hash": { "sha256": "94cfc08dfaec35fad3558e17c22b89473c006b306d40535210f5a6830739d0d5" } "hash": "sha256:94cfc08dfaec35fad3558e17c22b89473c006b306d40535210f5a6830739d0d5"
}, },
"32bit": { "32bit": {
"url": "http://get.enterprisedb.com/postgresql/postgresql-9.2.4-1-windows-binaries.zip", "url": "http://get.enterprisedb.com/postgresql/postgresql-9.2.4-1-windows-binaries.zip",
"hash": { "sha256": "26bd5d1555a3c010b0c58a4aaf5e1acd16bcf819926984f0716496d326768502" } "hash": "sha256:26bd5d1555a3c010b0c58a4aaf5e1acd16bcf819926984f0716496d326768502"
} }
}, },
"unzip_folder": "pgsql", "unzip_folder": "pgsql",

View File

@ -6,12 +6,12 @@
"64bit": { "64bit": {
"url": "http://www.python.org/ftp/python/3.3.2/python-3.3.2.amd64.msi", "url": "http://www.python.org/ftp/python/3.3.2/python-3.3.2.amd64.msi",
"msi": { "code": "{9FA9A2A6-19E4-381A-8AF3-F8CF12F0DCF0}", "args": ["addlocal=\"DefaultFeature\""] }, "msi": { "code": "{9FA9A2A6-19E4-381A-8AF3-F8CF12F0DCF0}", "args": ["addlocal=\"DefaultFeature\""] },
"hash": { "md5": "2477b4bd8e9a337705f7b5fda8b3b45f" } "hash": "md5:2477b4bd8e9a337705f7b5fda8b3b45f"
}, },
"32bit": { "32bit": {
"url": "http://www.python.org/ftp/python/3.3.2/python-3.3.2.msi", "url": "http://www.python.org/ftp/python/3.3.2/python-3.3.2.msi",
"msi": { "code": "{92389DE9-939E-341B-A076-1D52D7DBCA71}", "args": ["addlocal=\"DefaultFeature\""] }, "msi": { "code": "{92389DE9-939E-341B-A076-1D52D7DBCA71}", "args": ["addlocal=\"DefaultFeature\""] },
"hash": { "md5": "0d9db9c2316562c62e1e4c347b6f9430" } "hash": "md5:0d9db9c2316562c62e1e4c347b6f9430"
} }
}, },
"bin": [ "python.exe", "py.exe" ], "bin": [ "python.exe", "py.exe" ],

View File

@ -4,6 +4,6 @@
"license": "Apache 2.0", "license": "Apache 2.0",
"url": "https://www.myget.org/F/scriptcsnightly/api/v2/package/scriptcs/0.6.0-alpha-130626?fn=/dl.zip", "url": "https://www.myget.org/F/scriptcsnightly/api/v2/package/scriptcs/0.6.0-alpha-130626?fn=/dl.zip",
"unzip_folder": "tools\\scriptcs", "unzip_folder": "tools\\scriptcs",
"hash": { "sha256": "2c7074361d1df8806c0036e3f78ce2e4c55e708c4fe26cba5a9e8b1c819266b5" }, "hash": "sha256:2c7074361d1df8806c0036e3f78ce2e4c55e708c4fe26cba5a9e8b1c819266b5",
"bin": "scriptcs.exe" "bin": "scriptcs.exe"
} }

View File

@ -7,8 +7,8 @@
"http://downloads.sourceforge.net/project/gnuwin32/sed/4.2.1/sed-4.2.1-dep.zip" "http://downloads.sourceforge.net/project/gnuwin32/sed/4.2.1/sed-4.2.1-dep.zip"
], ],
"hash": [ "hash": [
{ "md5": "d94e045d98bcd3142bc3c665a5d82a84" }, "md5:d94e045d98bcd3142bc3c665a5d82a84",
{ "md5": "6b0997fa87158fff67457ec1eb96e332" } "md5:6b0997fa87158fff67457ec1eb96e332"
], ],
"bin": [ "bin\\sed.exe"] "bin": [ "bin\\sed.exe"]
} }

View File

@ -7,8 +7,8 @@
"http://downloads.sourceforge.net/project/gnuwin32/tar/1.13-1/tar-1.13-1-dep.zip" "http://downloads.sourceforge.net/project/gnuwin32/tar/1.13-1/tar-1.13-1-dep.zip"
], ],
"hash": [ "hash": [
{ "md5": "a92857ec82db569f0a8fa5370642dc69" }, "md5:a92857ec82db569f0a8fa5370642dc69",
{ "md5": "2606b30c140eb1d1ea15612150eb2e6b" } "md5:2606b30c140eb1d1ea15612150eb2e6b"
], ],
"bin": [ "bin\\tar.exe" ] "bin": [ "bin\\tar.exe" ]
} }

View File

@ -4,15 +4,19 @@
"version": "7.3.046", "version": "7.3.046",
"url": [ "url": [
"ftp://ftp.vim.org/pub/vim/pc/vim73_46rt.zip", "ftp://ftp.vim.org/pub/vim/pc/vim73_46rt.zip",
"ftp://ftp.vim.org/pub/vim/pc/vim73_46w32.zip" "ftp://ftp.vim.org/pub/vim/pc/vim73_46w32.zip",
"https://raw.github.com/lukesampson/psutils/master/vimtutor.ps1"
], ],
"hash": [ "hash": [
{ "md5": "29142b7d4ff0b65c394c4a1ef1263ded" }, "md5:29142b7d4ff0b65c394c4a1ef1263ded",
{ "md5": "e16ec5b633d2f00bf511529e6abf3670" } "md5:e16ec5b633d2f00bf511529e6abf3670",
"sha256:4e810abcf8155ac50a452ead32d286ff057e46c31e433c267f3170f825983e46"
], ],
"unzip_folder": "vim\\vim73", "unzip_folder": "vim\\vim73",
"bin": [ "vim.exe" ], "bin": [ "vim.exe", "vimtutor.ps1" ],
"notes": "The `vimtutor` in this distribution doesn't work with Scoop (it's a .bat file). "post_install": "if(!(test-path ~\\.vimrc)) {
cp \"$(split-path(scoop which vim))\\vimrc_example.vim\" ~\\.vimrc
Run `scoop install vimtutor` to get a Vim Tutor that will work." echo \"set shell=$((gcm powershell).path)\" >> ~\\.vimrc
echo '~/.vimrc was created with your shell set to Powershell.'
} else { echo '~/.vimrc exists, skipping' }"
} }

View File

@ -1,5 +0,0 @@
{
"version": "2013-06-28",
"url": "https://raw.github.com/lukesampson/psutils/master/vimtutor.ps1",
"bin": "vimtutor.ps1"
}

View File

@ -3,6 +3,6 @@
"license": "GPL3", "license": "GPL3",
"version": "1.11.4", "version": "1.11.4",
"url": "http://users.ugent.be/~bpuype/cgi-bin/fetch.pl?dl=wget/wget.exe", "url": "http://users.ugent.be/~bpuype/cgi-bin/fetch.pl?dl=wget/wget.exe",
"hash": { "sha1": "457b1cd985ed07baffd8c66ff40e9c1b6da93753"}, "hash": "sha1:457b1cd985ed07baffd8c66ff40e9c1b6da93753",
"bin": "wget.exe" "bin": "wget.exe"
} }