diff --git a/bucket/rebar3.json b/bucket/rebar3.json new file mode 100644 index 0000000000..a9a78b2a74 --- /dev/null +++ b/bucket/rebar3.json @@ -0,0 +1,22 @@ +{ + "version": "3.25.0", + "description": "An Erlang tool that makes it easy to create, develop, and release Erlang libraries, applications, and systems in a repeatable manner.", + "homepage": "https://rebar3.org/", + "license": "Apache-2.0", + "suggest": { + "Erlang compiler": "erlang" + }, + "url": "https://github.com/erlang/rebar3/releases/download/3.25.0/rebar3", + "hash": "2d46024331792aa31c8d12242c0073042d24e2650b45fedba6c17156a8220fa3", + "pre_install": [ + "$cmd = @('@echo off', 'setlocal', 'set rebarscript=%~f0', 'escript.exe \"%rebarscript:.cmd=%\" %*')", + "Set-Content \"$dir\\rebar3.cmd\" -Value $cmd -Encoding ascii" + ], + "bin": "rebar3.cmd", + "checkver": { + "github": "https://github.com/erlang/rebar3" + }, + "autoupdate": { + "url": "https://github.com/erlang/rebar3/releases/download/$version/rebar3" + } +}