Update Nim to 0.15.2. (#1094)

This commit is contained in:
Konstantin Molchanov 2016-10-24 11:23:31 +04:00 committed by Luke Sampson
parent 1f11a61ab3
commit e04d2129a6

View File

@ -1,26 +1,22 @@
{ {
"homepage": "http://nim-lang.org/", "homepage": "http://nim-lang.org/",
"version": "0.15.0", "version": "0.15.2",
"license": "MIT", "license": "MIT",
"architecture": { "architecture": {
"64bit": { "64bit": {
"url": "http://nim-lang.org/download/nim-0.15.0_x64.exe#/dl.7z", "url": "http://nim-lang.org/download/nim-0.15.2_x64.zip",
"hash": "7bb9321cd9fb2860d36ee9b248e0202d7d4e36e2272a2f128fbce96fd4a9bfd6" "hash": "ceea42de6ebcd41032ee51f04526dc4cf2cbb0958ca6ad2321cf21944e05f553"
}, },
"32bit": { "32bit": {
"url": "http://nim-lang.org/download/nim-0.15.0_x32.exe#/dl.7z", "url": "http://nim-lang.org/download/nim-0.15.2_x32.zip",
"hash": "0ca8931e3369735bbafdf93de98a8fd0f425870f1173845e7601922a5e00c3c2" "hash": ""
} }
}, },
"depends": "gcc", "depends": "gcc",
"extract_dir": "nim-0.15.2",
"post_install": " "post_install": "
# Copy Nimble package # Copy Nimble package
Copy-Item -Recurse $dir\\dist\\nimble\\src\\nimblepkg $dir\\bin Copy-Item -Recurse $dir\\dist\\nimble\\src\\nimblepkg $dir\\bin
# Download DLLs ",
Invoke-WebRequest http://nim-lang.org/download/dlls.zip -OutFile $dir\\dlls.zip
Expand-Archive $dir\\dlls.zip $dir\\bin
# Removes installation cruft
rm -r $dir\\`$PLUGINSDIR
rm $dir\\dlls.zip",
"env_add_path": "bin" "env_add_path": "bin"
} }