From 2406f1a5cc5f99a41f53b8c32f715e0d537cb244 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A9my?= Date: Sun, 12 Mar 2017 20:14:30 +0100 Subject: [PATCH] update julia 0.5.1 / add autoupdate --- julia.json | 42 ++++++++++++++++++++++++++++++------------ 1 file changed, 30 insertions(+), 12 deletions(-) diff --git a/julia.json b/julia.json index f40ff59a33..2e154c6aae 100644 --- a/julia.json +++ b/julia.json @@ -1,27 +1,27 @@ { "homepage": "http://julialang.org", - "version": "0.5.0", + "version": "0.5.1", "license": "MIT", "architecture": { "64bit": { - "url": "https://s3.amazonaws.com/julialang/bin/winnt/x64/0.5/julia-0.5.0-win64.exe#/dl.7z", - "hash": "25106e4687d93b183b15d36bdbf13e91b8dccce44f33590a0cd6026e3dc0416f" + "url": "https://s3.amazonaws.com/julialang/bin/winnt/x64/0.5/julia-0.5.1-win64.exe#/dl.7z", + "hash": "ef49e38098e9734a3f2991647c9ec4bbee24c04073617a8bc199662864cd4e06" }, "32bit": { - "url": "https://s3.amazonaws.com/julialang/bin/winnt/x86/0.5/julia-0.5.0-win32.exe#/dl.7z", - "hash": "63f98f35b84ead944dc3b3533cac69247fe1f47c6535eb199a0a79c2dbe67bef" + "url": "https://s3.amazonaws.com/julialang/bin/winnt/x86/0.5/julia-0.5.1-win32.exe#/dl.7z", + "hash": "8d60fdd9131ef3ced4fb5ad06aeb015289e561f1eab89f17f7949c554edf93db" } }, "installer": { "file": "julia-installer.exe", "args": [ - "/S", - "/D=$dir" - ] + "/S", + "/D=$dir" + ] }, "uninstaller": { - "file": "uninstall.exe", - "args": "/S" + "file": "uninstall.exe", + "args": "/S" }, "env_set": { "JULIA_HOME": "$dir\\bin", @@ -30,10 +30,28 @@ "JL_PRIVATE_LIB_DIR": "bin" }, "bin": [ - [ "bin\\julia.exe", "julia" ] + [ + "bin\\julia.exe", + "julia" + ] ], "checkver": { "url": "http://julialang.org/downloads/", - "re": "]+>Current Release \\(v([\\d.]+)\\)<\/h1>" + "re": "]+>Current Release \\(v([\\d.]+)\\)" + }, + "autoupdate": { + "architecture": { + "64bit": { + "url": "https://s3.amazonaws.com/julialang/bin/winnt/x64/$majorVersion.$minorVersion/julia-$version-win64.exe#/dl.7z" + }, + "32bit": { + "url": "https://s3.amazonaws.com/julialang/bin/winnt/x86/$majorVersion.$minorVersion/julia-$version-win32.exe#/dl.7z" + } + }, + "hash": { + "mode": "extract", + "url": "https://s3.amazonaws.com/julialang/bin/checksums/julia-$version.sha256", + "find": "([a-z0-9]{64})\\s+\\*(?:$basename)" + } } }