Skip to content

Instantly share code, notes, and snippets.

@holzingk
Created June 5, 2019 21:11
Show Gist options
  • Save holzingk/b0564050c99fc7c650117bdab0db15f5 to your computer and use it in GitHub Desktop.
Save holzingk/b0564050c99fc7c650117bdab0db15f5 to your computer and use it in GitHub Desktop.
➜ otp22test rebar3 shell
===> Compiling grisp_tools
===> Compiling rebar3_grisp
===> Verifying dependencies...
===> Compiling grisp
===> Compiling otp22test
Erlang/OTP 21 [erts-10.2.2] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1] [hipe]
Eshell V10.2.2 (abort with ^G)
1> ===> The rebar3 shell is a development tool; to deploy applications in production, consider using releases (http://www.rebar3.org/docs/releases)
dbg:start().
{ok,<0.213.0>}
2> dbg:tracer().
{ok,<0.213.0>}
3> dbg:tpl(rebar3_grisp_deploy, release_handler, []).
{ok,[{matched,nonode@nohost,1}]}
4> dbg:p(all,c).
{ok,[{matched,nonode@nohost,62}]}
5> r3:do("grisp deploy -v 0.1.0 -n otp22test").
===> This feature is experimental and may be modified or removed at any time.
===> Compiling grisp_tools
===> Compiling rebar3_grisp
Verifying dependencies...
Compiling grisp
Compiling otp22test
* Downloading pre-built OTP package (4b6b40bb)
* Cached file is up to date
{error,{error,function_clause}}
6> (<0.8.0>) call rebar3_grisp_deploy:release_handler(#{erts =>
"/Users/kilian/Library/Caches/grisp/packages/otp/grisp_otp_build_21.0_4b6b40bbf45ceb917269a0ee957bbba0410182ffe8130d34f406256f741c0755",
name => "otp22test",version => "0.1.0"},{state_t,"/Users/kilian/stritzinger/otp22test",
{dict,25,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[[grisp,
{otp,[{version,"21.0"}]},
{deploy,[{destination,"/tmp/deploy"}]}]],
[[{locks,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
1}],
[{deps,default},<<"grisp">>],
[{project_plugins,default}],
[{plugins,default}],
[{parsed_deps,default},
{app_info_t,<<"grisp">>,
"/Users/kilian/stritzinger/otp22test/_checkouts/grisp/src/grisp.app.src",
undefined,
"/Users/kilian/stritzinger/otp22test/_checkouts/grisp/ebin/grisp.app",
"1.1.4",root,
[{description,"GRiSP Erlang Runtime Library"},
{vsn,"1.1.4"},
{registered,[]},
{mod,{grisp_app,[]}},
{applications,[kernel,stdlib,mapz]},
{env,[]},
{modules,
[grisp,grisp_app,grisp_bitmap,grisp_devices,
grisp_devices_sup,grisp_gpio,grisp_gpio_drv,
grisp_gpio_poller,grisp_gpio_printer,grisp_i2c,
grisp_i2c_drv,grisp_led,grisp_onewire,grisp_spi,
grisp_spi_drv,grisp_sup,grisp_termios_drv,
onewire_ds18b20,onewire_ds2408,pmod_acl2,pmod_als,
pmod_gyro,pmod_hb5,pmod_maxsonar,pmod_nav]},
{maintainers,
["Adam Lindberg","Peer Stritzinger","Sebastien Merle"]},
{licenses,["Apache License 2.0"]},
{links,
[{"Homepage","https://www.grisp.org"},
{"Changelog",
"https://github.com/grisp/grisp/blob/master/CHANGELOG.md"},
{"GitHub","https://github.com/grisp/grisp"}]},
{files,
["LICENSE","README.md","rebar.*","rebar.config.script",
"rebar.lock","src","grisp"]}],
[kernel,stdlib,mapz],
[],
[default],
{dict,6,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[[{locks,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
0}],
[{deps,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
0}],
[{plugins,default}]],
[],
[[erl_opts,debug_info],
[deps,{mapz,"0.3.0"}],
[profiles,
{emulation,
[{deps,[{grisp_emulation,"0.1.0"}]},
{shell,
[{apps,[grisp]},
{config,"config/emulation.config"}]}]},
{test,
[{deps,[{grisp_emulation,"0.1.0"}]},
{shell,
[{apps,[grisp]},
{config,"config/test.config"}]}]},
{eqc,[{extra_src_dirs,["test"]}]}]],
[],[],[],[],[],[],[],[],[],[],[],[]}}},
{dict,7,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[[{locks,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
0}],
[{deps,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
0}],
[{plugins,default}]],
[],
[[erl_opts,debug_info],
[deps,{mapz,"0.3.0"}],
[profiles,
{emulation,
[{deps,[{grisp_emulation,"0.1.0"}]},
{shell,
[{apps,[grisp]},
{config,"config/emulation.config"}]}]},
{test,
[{deps,[{grisp_emulation,"0.1.0"}]},
{shell,
[{apps,[grisp]},
{config,"config/test.config"}]}]},
{eqc,[{extra_src_dirs,["test"]}]}],
[overrides]],
[],[],[],[],[],[],[],[],[],[],[],[]}}},
0,"/Users/kilian/stritzinger/otp22test/_checkouts/grisp",
"/Users/kilian/stritzinger/otp22test/_checkouts/grisp",
undefined,checkout,false,true,true,undefined,false}]],
[[caller|api],
[base_dir,47,85,115,101,114,115,47,107,105,108,105,97,110,47,115,
116,114,105,116,122,105,110,103,101,114,47,111,116,112,50,50,116,
101,115,116,47,95,98,117,105,108,100],
[deps_dir,108,105,98]],
[[deps,grisp],
[erl_opts,debug_info],
[plugins],
[profiles,
{test,[{erl_opts,[{d,'TEST'}]},{extra_src_dirs,["test"]}]}],
[post_hooks],
[pre_hooks],
[provider_hooks],
[artifacts],
[overrides]],
[],
[[vsn_cache|
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}}],
[{deps,grisp}],
[{parsed_deps,grisp}]],
[],[],
[[relx,{release,{otp22test,"0.1.0"},[otp22test]}]],
[[{plugins,global},rebar3_hex,rebar3_grisp]],
[],
[[task,"default","do","grisp","deploy","-v","0.1.0","-n",
"otp22test"]],
[[shell,{apps,[]}]],
[],[],[]}}},
{dict,2,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],
[[all_deps,
"/Users/kilian/stritzinger/otp22test/_build/default/lib/mapz/ebin",
"/Users/kilian/stritzinger/otp22test/_checkouts/grisp/ebin",
"/Users/kilian/stritzinger/otp22test/_build/grisp/lib/otp22test/ebin"]],
[[default,
"/Users/kilian/stritzinger/otp22test/_checkouts/rebar3_grisp/ebin",
"/Users/kilian/stritzinger/otp22test/_checkouts/grisp_tools/ebin",
"/Users/kilian/.cache/rebar3/plugins/bbmustache/ebin",
"/Users/kilian/.cache/rebar3/plugins/mapz/ebin",
"/Users/kilian/.cache/rebar3/plugins/rebar3_hex/ebin",
"/Users/kilian/.cache/rebar3/plugins/hex_core/ebin",
"/Users/kilian/.cache/rebar3/plugins/verl/ebin",
"/Users/kilian/stritzinger/otp22test/_build/default/lib/otp22test/ebin",
"/Users/kilian/stritzinger/otp22test/_checkouts/grisp/ebin",
"/Users/kilian/stritzinger/otp22test/_build/default/lib/mapz/ebin",
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3/ssl_verify_fun/ebin",
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3/relx/ebin",
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3/rebar/ebin",
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3/providers/ebin",
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3/getopt/ebin",
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3/eunit_formatters/ebin",
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3/erlware_commons/ebin",
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3/cth_readable/ebin",
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3/cf/ebin",
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3/certifi/ebin",
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3/bbmustache/ebin",
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3",".",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/kernel-6.2/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/stdlib-3.7/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/xmerl-1.3.19/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/wx-1.8.6/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/tools-3.0.2/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/tftp-1.0.1/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/syntax_tools-2.1.6/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/ssl-9.1.2/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/ssh-4.7.3/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/snmp-5.2.12/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/sasl-3.3/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/runtime_tools-1.13.1/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/reltool-0.7.8/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/public_key-1.6.4/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/parsetools-2.1.8/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/otp_mibs-1.2.1/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/os_mon-2.4.7/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/observer-2.8.2/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/mnesia-4.15.5/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/megaco-3.18.4/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/inets-7.0.3/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/hipe-3.18.2/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/ftp-1.0.1/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/eunit-2.3.7/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/et-1.6.4/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/erts-10.2.2/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/erl_interface-3.10.4/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/erl_docgen-0.8.1/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/eldap-1.2.6/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/edoc-0.9.4/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/diameter-2.1.6/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/dialyzer-3.3.1/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/debugger-4.2.6/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/crypto-4.4/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/compiler-7.3.1/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/common_test-1.16.1/ebin",
"/Users/kilian/.asdf/installs/erlang/21.2.3/lib/asn1-5.0.8/ebin"]],
[],[],[],[],[],[],[],[],[],[],[]}}},
{dict,17,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[[grisp,
{otp,[{version,"21.0"}]},
{deploy,[{destination,"/tmp/deploy"}]}]],
[[{locks,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
1}],
[{deps,default},<<"grisp">>],
[{project_plugins,default}],
[{plugins,default}]],
[[caller|api],
[base_dir,47,85,115,101,114,115,47,107,105,108,105,97,110,47,115,
116,114,105,116,122,105,110,103,101,114,47,111,116,112,50,50,116,
101,115,116,47,95,98,117,105,108,100],
[deps_dir,108,105,98]],
[[deps,grisp],
[erl_opts,debug_info],
[plugins],
[profiles,
{test,[{erl_opts,[{d,'TEST'}]},{extra_src_dirs,["test"]}]}]],
[],
[[vsn_cache|
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}}]],
[],[],
[[relx,{release,{otp22test,"0.1.0"},[otp22test]}]],
[[{plugins,global},rebar3_hex,rebar3_grisp]],
[],
[[task,"default","do","grisp","deploy","-v","0.1.0","-n",
"otp22test"]],
[[shell,{apps,[]}]],
[],[],[]}}},
"/Users/kilian/.asdf/installs/rebar/3.10.0/bin/rebar3",
[{app_info_t,<<"mapz">>,
"/Users/kilian/stritzinger/otp22test/_build/default/lib/mapz/src/mapz.app.src",
undefined,
"/Users/kilian/stritzinger/otp22test/_build/default/lib/mapz/ebin/mapz.app",
"0.3.0",<<"grisp">>,
[{registered,[]},
{description,"Extensions to the Erlang maps module"},
{vsn,"0.3.0"},
{applications,[kernel,stdlib]},
{maintainers,["Adam Lindberg"]},
{licenses,["MIT"]},
{links,[{"GitHub","https://github.com/eproxus/mapz"}]},
{modules,[mapz]}],
[kernel,stdlib],
[],
[default],
{dict,7,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[[{deps,default}],[{plugins,default}],[{locks,default}]],
[],
[[erl_opts,debug_info],
[deps],
[profiles,
{test,
[{deps,[{unite,"0.2.0"}]},
{eunit_opts,[no_tty,{report,{unite_compact,[]}}]}]}],
[overrides]],
[],[],[],[],[],[],[],[],[],[],[],[]}}},
{dict,7,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[[{deps,default}],[{plugins,default}],[{locks,default}]],
[],
[[erl_opts,debug_info],
[deps],
[profiles,
{test,
[{deps,[{unite,"0.2.0"}]},
{eunit_opts,[no_tty,{report,{unite_compact,[]}}]}]}],
[overrides]],
[],[],[],[],[],[],[],[],[],[],[],[]}}},
1,"/Users/kilian/stritzinger/otp22test/_build/default/lib/mapz",
"/Users/kilian/stritzinger/otp22test/_build/default/lib/mapz",
undefined,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>,
#{api_key => undefined,api_organization => undefined,
api_repository => undefined,
api_url => <<"https://hex.pm/api">>,
http_adapter => r3_hex_http_httpc,
http_adapter_config => #{profile => rebar},
http_etag => undefined,
http_user_agent_fragment => <<"(rebar3/3.10.0) (httpc)">>,
name => <<"hexpm">>,repo_key => undefined,
repo_name => <<"hexpm">>,repo_organization => undefined,
repo_public_key =>
<<"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApqREcFDt5vV21JVe2QNB\nEdvzk6w36aNFhVGWN5toNJRjRJ6m4hIuG4KaXtDWVLjnvct6MYMfqhC79HAGwyF+\nIqR6Q6a5bbFSsImgBJwz1oadoVKD6ZNetAuCIK84cjMrEFRkELtEIPNHblCzUkkM\n3rS9+DPlnfG8hBvGi6tvQIuZmXGCxF/73hU0/MyGhbmEjIKRtG6b0sJYKelRLTPW\nXgK7s5pESgiwf2YC/2MGDXjAJfpfCd0RpLdvd4eRiXtVlE9qO9bND94E7PgQ/xqZ\nJ1i2xWFndWa6nfFnRxZmCStCOZWYYPlaxr+FZceFbpMwzTNs4g3d4tLNUcbKAIH4\n0wIDAQAB\n-----END PUBLIC KEY-----">>,
repo_url => <<"https://repo.hex.pm">>,repo_verify => true,
repo_verify_origin => true}},
true,false,true,undefined,true}],
[default,grisp],
grisp,
["-v","0.1.0","-n","otp22test"],
{[{relvsn,"0.1.0"},{relname,"otp22test"},{force,false}],[]},
undefined,
[{app_info_t,<<"otp22test">>,
"/Users/kilian/stritzinger/otp22test/src/otp22test.app.src",
undefined,
"/Users/kilian/stritzinger/otp22test/_build/grisp/lib/otp22test/ebin/otp22test.app",
"0.1.0",root,
[{description,"A GRiSP application"},
{vsn,"0.1.0"},
{registered,[]},
{mod,{otp22test,[]}},
{applications,[kernel,stdlib,grisp]},
{env,[]},
{modules,[]},
{maintainers,[]},
{licenses,["Apache 2.0"]},
{links,[]}],
[kernel,stdlib,grisp],
[<<"grisp">>],
[default,grisp],
{dict,17,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[[grisp,
{otp,[{version,"21.0"}]},
{deploy,[{destination,"/tmp/deploy"}]}]],
[[{locks,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
1}],
[{deps,default},<<"grisp">>],
[{project_plugins,default}],
[{plugins,default}]],
[[caller|api],
[base_dir,47,85,115,101,114,115,47,107,105,108,105,97,110,47,
115,116,114,105,116,122,105,110,103,101,114,47,111,116,112,
50,50,116,101,115,116,47,95,98,117,105,108,100],
[deps_dir,108,105,98]],
[[deps,grisp],
[erl_opts,debug_info],
[plugins],
[profiles,
{test,[{erl_opts,[{d,'TEST'}]},{extra_src_dirs,["test"]}]}]],
[],
[[vsn_cache|
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}}]],
[],[],
[[relx,{release,{otp22test,"0.1.0"},[otp22test]}]],
[[{plugins,global},rebar3_hex,rebar3_grisp]],
[],
[[task,"default","do","grisp","deploy","-v","0.1.0","-n",
"otp22test"]],
[[shell,{apps,[]}]],
[],[],[]}}},
{dict,17,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[[grisp,
{otp,[{version,"21.0"}]},
{deploy,[{destination,"/tmp/deploy"}]}]],
[[{locks,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
1}],
[{deps,default},<<"grisp">>],
[{project_plugins,default}],
[{plugins,default}]],
[[caller|api],
[base_dir,47,85,115,101,114,115,47,107,105,108,105,97,110,47,
115,116,114,105,116,122,105,110,103,101,114,47,111,116,112,
50,50,116,101,115,116,47,95,98,117,105,108,100],
[deps_dir,108,105,98]],
[[deps,grisp],
[erl_opts,debug_info],
[plugins],
[profiles,
{test,[{erl_opts,[{d,'TEST'}]},{extra_src_dirs,["test"]}]}]],
[],
[[vsn_cache|
{dict,0,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]}}}]],
[],[],
[[relx,{release,{otp22test,"0.1.0"},[otp22test]}]],
[[{plugins,global},rebar3_hex,rebar3_grisp]],
[],
[[task,"default","do","grisp","deploy","-v","0.1.0","-n",
"otp22test"]],
[[shell,{apps,[]}]],
[],[],[]}}},
0,"/Users/kilian/stritzinger/otp22test",
"/Users/kilian/stritzinger/otp22test/_build/grisp/lib/otp22test",
"/Users/kilian/stritzinger/otp22test/_build/grisp/lib/otp22test/ebin",
undefined,false,false,false,undefined,false}],
[{app_info_t,<<"grisp">>,
"/Users/kilian/stritzinger/otp22test/_checkouts/grisp/src/grisp.app.src",
undefined,
"/Users/kilian/stritzinger/otp22test/_checkouts/grisp/ebin/grisp.app",
"1.1.4",root,
[{description,"GRiSP Erlang Runtime Library"},
{vsn,"1.1.4"},
{registered,[]},
{mod,{grisp_app,[]}},
{applications,[kernel,stdlib,mapz]},
{env,[]},
{modules,
[grisp,grisp_app,grisp_bitmap,grisp_devices,grisp_devices_sup,
grisp_gpio,grisp_gpio_drv,grisp_gpio_poller,grisp_gpio_printer,
grisp_i2c,grisp_i2c_drv,grisp_led,grisp_onewire,grisp_spi,
grisp_spi_drv,grisp_sup,grisp_termios_drv,onewire_ds18b20,
onewire_ds2408,pmod_acl2,pmod_als,pmod_gyro,pmod_hb5,
pmod_maxsonar,pmod_nav]},
{maintainers,["Adam Lindberg","Peer Stritzinger","Sebastien Merle"]},
{licenses,["Apache License 2.0"]},
{links,
[{"Homepage","https://www.grisp.org"},
{"Changelog",
"https://github.com/grisp/grisp/blob/master/CHANGELOG.md"},
{"GitHub","https://github.com/grisp/grisp"}]},
{files,
["LICENSE","README.md","rebar.*","rebar.config.script",
"rebar.lock","src","grisp"]}],
[kernel,stdlib,mapz],
[<<"mapz">>],
[default,prod],
{dict,7,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[[{locks,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
0}],
[{deps,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
0}],
[{plugins,default}]],
[],
[[erl_opts,debug_info],
[deps,{mapz,"0.3.0"}],
[profiles,
{emulation,
[{deps,[{grisp_emulation,"0.1.0"}]},
{shell,
[{apps,[grisp]},
{config,"config/emulation.config"}]}]},
{test,
[{deps,[{grisp_emulation,"0.1.0"}]},
{shell,[{apps,[grisp]},{config,"config/test.config"}]}]},
{eqc,[{extra_src_dirs,["test"]}]}],
[overrides]],
[],[],[],[],[],[],[],[],[],[],[],[]}}},
{dict,7,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[[{locks,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
0}],
[{deps,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
0}],
[{plugins,default}]],
[],
[[erl_opts,debug_info],
[deps,{mapz,"0.3.0"}],
[profiles,
{emulation,
[{deps,[{grisp_emulation,"0.1.0"}]},
{shell,
[{apps,[grisp]},
{config,"config/emulation.config"}]}]},
{test,
[{deps,[{grisp_emulation,"0.1.0"}]},
{shell,[{apps,[grisp]},{config,"config/test.config"}]}]},
{eqc,[{extra_src_dirs,["test"]}]}],
[overrides]],
[],[],[],[],[],[],[],[],[],[],[],[]}}},
0,"/Users/kilian/stritzinger/otp22test/_checkouts/grisp",
"/Users/kilian/stritzinger/otp22test/_checkouts/grisp",undefined,
checkout,false,true,true,undefined,false}],
[],
[{app_info_t,<<"mapz">>,
"/Users/kilian/stritzinger/otp22test/_build/default/lib/mapz/src/mapz.app.src",
undefined,
"/Users/kilian/stritzinger/otp22test/_build/default/lib/mapz/ebin/mapz.app",
"0.3.0",<<"grisp">>,
[{registered,[]},
{description,"Extensions to the Erlang maps module"},
{vsn,"0.3.0"},
{applications,[kernel,stdlib]},
{maintainers,["Adam Lindberg"]},
{licenses,["MIT"]},
{links,[{"GitHub","https://github.com/eproxus/mapz"}]},
{modules,[mapz]}],
[kernel,stdlib],
[],
[default,prod],
{dict,7,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[[{deps,default}],[{plugins,default}],[{locks,default}]],
[],
[[erl_opts,debug_info],
[deps],
[profiles,
{test,
[{deps,[{unite,"0.2.0"}]},
{eunit_opts,[no_tty,{report,{unite_compact,[]}}]}]}],
[overrides]],
[],[],[],[],[],[],[],[],[],[],[],[]}}},
{dict,7,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[[{deps,default}],[{plugins,default}],[{locks,default}]],
[],
[[erl_opts,debug_info],
[deps],
[profiles,
{test,
[{deps,[{unite,"0.2.0"}]},
{eunit_opts,[no_tty,{report,{unite_compact,[]}}]}]}],
[overrides]],
[],[],[],[],[],[],[],[],[],[],[],[]}}},
1,"/Users/kilian/stritzinger/otp22test/_build/default/lib/mapz",
"/Users/kilian/stritzinger/otp22test/_build/default/lib/mapz",
undefined,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>,
#{api_key => undefined,api_organization => undefined,
api_repository => undefined,
api_url => <<"https://hex.pm/api">>,
http_adapter => r3_hex_http_httpc,
http_adapter_config => #{profile => rebar},
http_etag => undefined,
http_user_agent_fragment => <<"(rebar3/3.10.0) (httpc)">>,
name => <<"hexpm">>,repo_key => undefined,
repo_name => <<"hexpm">>,repo_organization => undefined,
repo_public_key =>
<<"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApqREcFDt5vV21JVe2QNB\nEdvzk6w36aNFhVGWN5toNJRjRJ6m4hIuG4KaXtDWVLjnvct6MYMfqhC79HAGwyF+\nIqR6Q6a5bbFSsImgBJwz1oadoVKD6ZNetAuCIK84cjMrEFRkELtEIPNHblCzUkkM\n3rS9+DPlnfG8hBvGi6tvQIuZmXGCxF/73hU0/MyGhbmEjIKRtG6b0sJYKelRLTPW\nXgK7s5pESgiwf2YC/2MGDXjAJfpfCd0RpLdvd4eRiXtVlE9qO9bND94E7PgQ/xqZ\nJ1i2xWFndWa6nfFnRxZmCStCOZWYYPlaxr+FZceFbpMwzTNs4g3d4tLNUcbKAIH4\n0wIDAQAB\n-----END PUBLIC KEY-----">>,
repo_url => <<"https://repo.hex.pm">>,repo_verify => true,
repo_verify_origin => true}},
true,false,true,undefined,true},
{app_info_t,<<"grisp">>,
"/Users/kilian/stritzinger/otp22test/_checkouts/grisp/src/grisp.app.src",
undefined,
"/Users/kilian/stritzinger/otp22test/_checkouts/grisp/ebin/grisp.app",
"1.1.4",root,
[{description,"GRiSP Erlang Runtime Library"},
{vsn,"1.1.4"},
{registered,[]},
{mod,{grisp_app,[]}},
{applications,[kernel,stdlib,mapz]},
{env,[]},
{modules,
[grisp,grisp_app,grisp_bitmap,grisp_devices,grisp_devices_sup,
grisp_gpio,grisp_gpio_drv,grisp_gpio_poller,grisp_gpio_printer,
grisp_i2c,grisp_i2c_drv,grisp_led,grisp_onewire,grisp_spi,
grisp_spi_drv,grisp_sup,grisp_termios_drv,onewire_ds18b20,
onewire_ds2408,pmod_acl2,pmod_als,pmod_gyro,pmod_hb5,
pmod_maxsonar,pmod_nav]},
{maintainers,["Adam Lindberg","Peer Stritzinger","Sebastien Merle"]},
{licenses,["Apache License 2.0"]},
{links,
[{"Homepage","https://www.grisp.org"},
{"Changelog",
"https://github.com/grisp/grisp/blob/master/CHANGELOG.md"},
{"GitHub","https://github.com/grisp/grisp"}]},
{files,
["LICENSE","README.md","rebar.*","rebar.config.script",
"rebar.lock","src","grisp"]}],
[kernel,stdlib,mapz],
[<<"mapz">>],
[default,prod],
{dict,7,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[[{locks,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
0}],
[{deps,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
0}],
[{plugins,default}]],
[],
[[erl_opts,debug_info],
[deps,{mapz,"0.3.0"}],
[profiles,
{emulation,
[{deps,[{grisp_emulation,"0.1.0"}]},
{shell,
[{apps,[grisp]},
{config,"config/emulation.config"}]}]},
{test,
[{deps,[{grisp_emulation,"0.1.0"}]},
{shell,[{apps,[grisp]},{config,"config/test.config"}]}]},
{eqc,[{extra_src_dirs,["test"]}]}],
[overrides]],
[],[],[],[],[],[],[],[],[],[],[],[]}}},
{dict,7,16,16,8,80,48,
{[],[],[],[],[],[],[],[],[],[],[],[],[],[],[],[]},
{{[],
[[{locks,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
0}],
[{deps,default},
{<<"mapz">>,
{pkg,<<"mapz">>,<<"0.3.0">>,
<<"438D24746CE5A252101E00B2032EFDF7FC69EB32689D3B805DE5E6DD7F52614F">>},
0}],
[{plugins,default}]],
[],
[[erl_opts,debug_info],
[deps,{mapz,"0.3.0"}],
[profiles,
{emulation,
[{deps,[{grisp_emulation,"0.1.0"}]},
{shell,
[{apps,[grisp]},
{config,"config/emulation.config"}]}]},
{test,
[{deps,[{grisp_emulation,"0.1.0"}]},
{shell,[{apps,[grisp]},{config,"config/test.config"}]}]},
{eqc,[{extra_src_dirs,["test"]}]}],
[overrides]],
[],[],[],[],[],[],[],[],[],[],[],[]}}},
0,"/Users/kilian/stritzinger/otp22test/_checkouts/grisp",
"/Users/kilian/stritzinger/otp22test/_checkouts/grisp",undefined,
checkout,false,true,true,undefined,false}],
[rebar_compiler_xrl,rebar_compiler_yrl,rebar_compiler_mib,
rebar_compiler_erl],
[],
[{resource,hg,rebar_hg_resource,#{},rebar_resource_v2},
{resource,pkg,rebar_pkg_resource,
#{base_config =>
#{http_adapter => r3_hex_http_httpc,
http_adapter_config => #{profile => rebar},
http_user_agent_fragment => <<"(rebar3/3.10.0) (httpc)">>},
repos =>
[#{api_key => undefined,api_organization => undefined,
api_repository => undefined,
api_url => <<"https://hex.pm/api">>,
http_adapter => r3_hex_http_httpc,
http_adapter_config => #{profile => rebar},
http_etag => undefined,
http_user_agent_fragment => <<"(rebar3/3.10.0) (httpc)">>,
name => <<"hexpm">>,repo_key => undefined,
repo_name => <<"hexpm">>,repo_organization => undefined,
repo_public_key =>
<<"-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEApqREcFDt5vV21JVe2QNB\nEdvzk6w36aNFhVGWN5toNJRjRJ6m4hIuG4KaXtDWVLjnvct6MYMfqhC79HAGwyF+\nIqR6Q6a5bbFSsImgBJwz1oadoVKD6ZNetAuCIK84cjMrEFRkELtEIPNHblCzUkkM\n3rS9+DPlnfG8hBvGi6tvQIuZmXGCxF/73hU0/MyGhbmEjIKRtG6b0sJYKelRLTPW\nXgK7s5pESgiwf2YC/2MGDXjAJfpfCd0RpLdvd4eRiXtVlE9qO9bND94E7PgQ/xqZ\nJ1i2xWFndWa6nfFnRxZmCStCOZWYYPlaxr+FZceFbpMwzTNs4g3d4tLNUcbKAIH4\n0wIDAQAB\n-----END PUBLIC KEY-----">>,
repo_url => <<"https://repo.hex.pm">>,repo_verify => true,
repo_verify_origin => true}]},
rebar_resource_v2},
{resource,git,rebar_git_resource,#{},rebar_resource_v2}],
[{provider,xref,rebar_prv_xref,
{[],[]},
true,
[compile],
["Run cross reference analysis.",10,10,86,97,108,105,100,32,114,101,
98,97,114,46,99,111,110,102,105,103,32,111,112,116,105,111,110,115,
58,10,32,32,
[123,["xref_warnings",44,"false"],125],
10,32,32,
[123,["xref_extra_paths",44,"[]"],125],
10,32,32,
[123,
["xref_checks",44,
[91,
["undefined_function_calls",44,"undefined_functions",44,
"locals_not_used",44,10,
[32,[32,[" ",32,32,32]," ",32,32,32],32,32],
"exports_not_used",44,"deprecated_function_calls",44,10,
[32,[32,[" ",32,32,32]," ",32,32,32],32,32],
"deprecated_functions"],
93]],
125],
10,32,32,
[123,
["xref_queries",44,
[91,
[[123,
["\"(xc - uc) || (xu - x - b - (\\\"mod\\\":\\\".*foo\\\"/\\\"4\\\"))\"",
44,10,
[32,32,[[32," ",32,32,32],32," ",32,32,32],32,32],
"[]"],
125]],
93]],
125],
10],
"Run cross reference analysis.","rebar3 xref",[],
[default],
default},
{provider,version,rebar_prv_version,
{[],[]},
true,[],"Print version for rebar and current Erlang.",
"Print version for rebar and current Erlang.","rebar3 version",[],
[default],
default},
{provider,upgrade,rebar_prv_upgrade,
{[],[]},
true,
[lock],
"Upgrade project dependencies. Mentioning no application will upgrade all dependencies. To upgrade specific dependencies, their names can be listed in the command.",
"Upgrade dependencies.","rebar3 upgrade [cowboy[,ranch]]",
[{package,undefined,undefined,string,
"List of packages to upgrade. If not specified, all dependencies are upgraded."}],
[default],
default},
{provider,update,rebar_prv_update,
{[],[]},
true,[],"Update package index.","Update package index.",
"rebar3 update",[],
[default],
default},
{provider,unlock,rebar_prv_unlock,
{[],[]},
true,[],
"Unlock project dependencies. Mentioning no application will unlock all dependencies. To unlock specific dependencies, their name can be listed in the command.",
"Unlock dependencies.",[],
[{package,undefined,undefined,string,
"List of packages to unlock. If not specified, all dependencies are unlocked."}],
[default],
default},
{provider,tar,rebar_prv_tar,
{[],[]},
true,
[release],
"Tar archive of release built of project.",
"Tar archive of release built of project.","rebar3 tar",
[{relname,110,"relname",string,
"Specify the name for the release that will be generated"},
{relvsn,118,"relvsn",string,"Specify the version for the release"},
{goal,103,"goal",string,
"Specify a target constraint on the system. These are usually the OTP"},
{upfrom,117,"upfrom",string,
"Only valid with relup target, specify the release to upgrade from"},
{output_dir,111,"output-dir",string,
"The output directory for the release. This is `./` by default."},
{help,104,"help",undefined,"Print usage"},
{lib_dir,108,"lib-dir",string,
"Additional dir that should be searched for OTP Apps"},
{path,112,"path",string,"Additional dir to add to the code path"},
{default_libs,undefined,"default-libs",boolean,
"Whether to use the default system added lib dirs (means you must add them all manually). Default is true"},
{log_level,86,"verbose",
{integer,2},
"Verbosity level, maybe between 0 and 3"},
{dev_mode,100,"dev-mode",boolean,
"Symlink the applications and configuration into the release instead of copying"},
{include_erts,105,"include-erts",string,
"If true include a copy of erts used to build with, if a path include erts at that path. If false, do not include erts"},
{override,97,"override",string,
"Provide an app name and a directory to override in the form <appname>:<app directory>"},
{config,99,"config",{string,[]},"The path to a config file"},
{overlay_vars,undefined,"overlay_vars",string,
"Path to a file of overlay variables"},
{vm_args,undefined,"vm_args",string,
"Path to a file to use for vm.args"},
{sys_config,undefined,"sys_config",string,
"Path to a file to use for sys.config"},
{system_libs,undefined,"system_libs",string,
"Path to dir of Erlang system libs"},
{version,undefined,"version",undefined,"Print relx version"},
{root_dir,114,"root",string,"The project root directory"}],
[default],
default},
{provider,state,rebar_prv_state,
{[],[]},
false,[],"Display rebar configuration for debugging purpose",
"Print current configuration state","rebar3 state",[],
[default],
default},
{provider,shell,rebar_prv_shell,
{[],[]},
true,
[compile],
"Start a shell with project and deps preloaded similar to~n'erl -pa ebin -pa deps/*/ebin'.~n",
"Run shell with project apps and deps in path.","rebar3 shell",
[{config,undefined,"config",string,
"Path to the config file to use. Defaults to {shell, [{config, File}]} and then the relx sys.config file if not specified."},
{name,undefined,"name",atom,"Gives a long name to the node."},
{sname,undefined,"sname",atom,"Gives a short name to the node."},
{setcookie,undefined,"setcookie",atom,
"Sets the cookie if the node is distributed."},
{script_file,undefined,"script",string,
"Path to an escript file to run before starting the project apps. Defaults to rebar.config {shell, [{script_file, File}]} if not specified."},
{apps,undefined,"apps",string,
"A list of apps to boot before starting the shell. (E.g. --apps app1,app2,app3) Defaults to rebar.config {shell, [{apps, Apps}]} or relx apps if not specified."},
{relname,114,"relname",atom,
"Name of the release to use as a template for the shell session"},
{relvsn,118,"relvsn",string,
"Version of the release to use for the shell session"},
{start_clean,undefined,"start-clean",boolean,
"Cancel any applications in the 'apps' list or release."},
{user_drv_args,undefined,"user_drv_args",string,
"Arguments passed to user_drv start function for creating custom shells."}],
[default],
default},
{provider,repos,rebar_prv_repos,
{[],[]},
false,[],"Display repository configuration for debugging purpose",
"Print current package repository configuration","rebar3 repos",[],
[default],
default},
{provider,report,rebar_prv_report,
{[],[]},
true,[],
"Provide a crash report to be sent to the rebar3 issues page.",
"Provide a crash report to be sent to the rebar3 issues page.",
"rebar3 report \"<task>\"",
[{task,undefined,undefined,string,"Task to print details for."}],
[default],
default},
{provider,relup,rebar_prv_relup,
{[],[]},
true,
[release],
"Create relup of releases.","Create relup of releases.",
"rebar3 relup",
[{relname,110,"relname",string,
"Specify the name for the release that will be generated"},
{relvsn,118,"relvsn",string,"Specify the version for the release"},
{goal,103,"goal",string,
"Specify a target constraint on the system. These are usually the OTP"},
{upfrom,117,"upfrom",string,
"Only valid with relup target, specify the release to upgrade from"},
{output_dir,111,"output-dir",string,
"The output directory for the release. This is `./` by default."},
{help,104,"help",undefined,"Print usage"},
{lib_dir,108,"lib-dir",string,
"Additional dir that should be searched for OTP Apps"},
{path,112,"path",string,"Additional dir to add to the code path"},
{default_libs,undefined,"default-libs",boolean,
"Whether to use the default system added lib dirs (means you must add them all manually). Default is true"},
{log_level,86,"verbose",
{integer,2},
"Verbosity level, maybe between 0 and 3"},
{dev_mode,100,"dev-mode",boolean,
"Symlink the applications and configuration into the release instead of copying"},
{include_erts,105,"include-erts",string,
"If true include a copy of erts used to build with, if a path include erts at that path. If false, do not include erts"},
{override,97,"override",string,
"Provide an app name and a directory to override in the form <appname>:<app directory>"},
{config,99,"config",{string,[]},"The path to a config file"},
{overlay_vars,undefined,"overlay_vars",string,
"Path to a file of overlay variables"},
{vm_args,undefined,"vm_args",string,
"Path to a file to use for vm.args"},
{sys_config,undefined,"sys_config",string,
"Path to a file to use for sys.config"},
{system_libs,undefined,"system_libs",string,
"Path to dir of Erlang system libs"},
{version,undefined,"version",undefined,"Print relx version"},
{root_dir,114,"root",string,"The project root directory"}],
[default],
default},
{provider,release,rebar_prv_release,
{[],[]},
true,
[compile],
"Build release of project.","Build release of project.",
"rebar3 release",
[{relname,110,"relname",string,
"Specify the name for the release that will be generated"},
{relvsn,118,"relvsn",string,"Specify the version for the release"},
{goal,103,"goal",string,
"Specify a target constraint on the system. These are usually the OTP"},
{upfrom,117,"upfrom",string,
"Only valid with relup target, specify the release to upgrade from"},
{output_dir,111,"output-dir",string,
"The output directory for the release. This is `./` by default."},
{help,104,"help",undefined,"Print usage"},
{lib_dir,108,"lib-dir",string,
"Additional dir that should be searched for OTP Apps"},
{path,112,"path",string,"Additional dir to add to the code path"},
{default_libs,undefined,"default-libs",boolean,
"Whether to use the default system added lib dirs (means you must add them all manually). Default is true"},
{log_level,86,"verbose",
{integer,2},
"Verbosity level, maybe between 0 and 3"},
{dev_mode,100,"dev-mode",boolean,
"Symlink the applications and configuration into the release instead of copying"},
{include_erts,105,"include-erts",string,
"If true include a copy of erts used to build with, if a path include erts at that path. If false, do not include erts"},
{override,97,"override",string,
"Provide an app name and a directory to override in the form <appname>:<app directory>"},
{config,99,"config",{string,[]},"The path to a config file"},
{overlay_vars,undefined,"overlay_vars",string,
"Path to a file of overlay variables"},
{vm_args,undefined,"vm_args",string,
"Path to a file to use for vm.args"},
{sys_config,undefined,"sys_config",string,
"Path to a file to use for sys.config"},
{system_libs,undefined,"system_libs",string,
"Path to dir of Erlang system libs"},
{version,undefined,"version",undefined,"Print relx version"},
{root_dir,114,"root",string,"The project root directory"}],
[default],
default},
{provider,upgrade,rebar_prv_plugins_upgrade,
{[],[]},
true,[],"List or upgrade plugins","Upgrade plugins",
"rebar3 plugins upgrade <plugin>",
[{plugin,undefined,undefined,string,"Plugin to upgrade"}],
[default],
plugins},
{provider,list,rebar_prv_plugins,
{[],[]},
true,[],"List local and global plugins for this project",
"List local and global plugins for this project",
"rebar3 plugins list",[],
[default],
plugins},
{provider,path,rebar_prv_path,
{[],[]},
true,
[app_discovery],
"Print paths to build dirs in current profile.",
"Print paths to build dirs in current profile.","rebar3 path",
[{app,undefined,"app",string,
"Comma separated list of applications to return paths for."},
{base,undefined,"base",boolean,
"Return the `base' path of the current profile."},
{bin,undefined,"bin",boolean,
"Return the `bin' path of the current profile."},
{ebin,undefined,"ebin",boolean,
"Return all `ebin' paths of the current profile's applications."},
{lib,undefined,"lib",boolean,
"Return the `lib' path of the current profile."},
{priv,undefined,"priv",boolean,
"Return the `priv' path of the current profile's applications."},
{separator,115,"separator",string,
"In case of multiple return paths, the separator character to use to join them."},
{src,undefined,"src",boolean,
"Return the `src' path of the current profile's applications."},
{rel,undefined,"rel",boolean,
"Return the `rel' path of the current profile."}],
[default],
default},
{provider,pkgs,rebar_prv_packages,
{[],[]},
true,[],
["List information for a package",46,10],
"List information for a package.","rebar3 pkgs elli",
[{package,undefined,undefined,string,
"Package to fetch information for."}],
[default],
default},
{provider,new,rebar_prv_new,
{[],[]},
true,[],
"Create rebar3 project based on template and vars.\n\nValid command line options:\n <template> [var=foo,...]\n\nSee available templates with: `rebar3 new help`\n",
"Create new project from templates.","rebar3 new <template>",
[{force,102,"force",undefined,"overwrite existing files"}],
[default],
default},
{provider,lock,rebar_prv_lock,
{[],[]},
false,
[install_deps],
"Locks dependencies","Locks dependencies.",[],[],
[default],
default},
{provider,upgrade,rebar_prv_local_upgrade,
{[],[]},
true,[],[],"Download latest rebar3 escript and extract.",
"rebar3 unstable upgrade",[],
[default],
local},
{provider,install,rebar_prv_local_install,
{[],[]},
true,[],[],
"Extract libs from rebar3 escript along with a run script.",
"rebar3 unstable install",[],
[default],
local},
{provider,install_deps,rebar_prv_install_deps,
{[],[]},
false,
[app_discovery],
[],[],undefined,[],
[default],
default},
{provider,help,rebar_prv_help,
{[],[]},
true,[],
"Display a list of tasks or help for a given task or subtask.",
"Display a list of tasks or help for a given task or subtask.",
"rebar3 help <task>",
[{help_task,undefined,undefined,string,"Task to print help for."}],
[default],
default},
{provider,'get-deps',rebar_prv_get_deps,
{[],[]},
true,
[lock],
"Fetch project dependencies.","Fetch dependencies.",
"rebar3 get-deps",[],[],default},
{provider,eunit,rebar_prv_eunit,
{[],[]},
true,
[lock],
"Run EUnit Tests.","Run EUnit Tests.","rebar3 eunit",
[{app,undefined,"app",string,
"Comma separated list of application test suites to run. Equivalent to `[{application, App}]`."},
{application,undefined,"application",string,
"Comma separated list of application test suites to run. Equivalent to `[{application, App}]`."},
{cover,99,"cover",boolean,"Generate cover data. Defaults to false."},
{cover_export_name,undefined,"cover_export_name",string,
"Base name of the coverdata file to write"},
{profile,112,"profile",boolean,
"Show the slowest tests. Defaults to false."},
{dir,100,"dir",string,
"Comma separated list of dirs to load tests from. Equivalent to `[{dir, Dir}]`."},
{file,102,"file",string,
"Comma separated list of files to load tests from. Equivalent to `[{file, File}]`."},
{module,109,"module",string,
"Comma separated list of modules to load tests from. Equivalent to `[{module, Module}]`."},
{suite,115,"suite",string,
"Comma separated list of modules to load tests from. Equivalent to `[{module, Module}]`."},
{generator,103,"generator",string,
"Comma separated list of generators (the format is `module:function`) to load tests from. Equivalent to `[{generator, Module, Function}]`."},
{verbose,118,"verbose",boolean,"Verbose output. Defaults to false."},
{name,undefined,"name",atom,"Gives a long name to the node"},
{sname,undefined,"sname",atom,"Gives a short name to the node"},
{setcookie,undefined,"setcookie",atom,
"Sets the cookie if the node is distributed"}],
[test],
default},
{provider,escriptize,rebar_prv_escriptize,
{[],[]},
true,
[compile],
"Generate an escript executable containing the project's and its dependencies' BEAM files.",
"Generate escript archive.","rebar3 escriptize",[],
[default],
default},
{provider,edoc,rebar_prv_edoc,
{[],[]},
true,
[compile],
"Generate documentation using edoc.",
"Generate documentation using edoc.","rebar3 edoc",[],
[docs],
default},
{provider,do,rebar_prv_do,
{[],[]},
true,[],
"Higher order provider for running multiple tasks in a sequence.",
"Higher order provider for running multiple tasks in a sequence.",
"rebar3 do <task1>, <task2>, ...",[],
[default],
default},
{provider,dialyzer,rebar_prv_dialyzer,
{[],[]},
true,
[compile],
"Run the Dialyzer analyzer on the project.\n\nThis command will build, and keep up-to-date, a suitable PLT and will use it to carry out success typing analysis on the current project.\n\nThe following (optional) configurations can be added to a `proplist` of options `dialyzer` in rebar.config:\n`warnings` - a list of dialyzer warnings\n`get_warnings` - display warnings when altering a PLT file (boolean)\n`plt_apps` - the strategy for determining the applications which included in the PLT file, `top_level_deps` to include just the direct dependencies or `all_deps` to include all nested dependencies*\n`plt_extra_apps` - a list of extra applications to include in the PLT file\n`plt_extra_mods` - a list of extra modules to includes in the PLT file\n`plt_location` - the location of the PLT file, `local` to store in the profile's base directory (default) or a custom directory.\n`plt_prefix` - the prefix to the PLT file, defaults to \"rebar3\"**\n`base_plt_apps` - a list of applications to include in the base PLT file***\n`base_plt_mods` - a list of modules to include in the base PLT file***\n`base_plt_location` - the location of base PLT file, `global` to store in $HOME/.cache/rebar3 (default) or a custom directory***\n`base_plt_prefix` - the prefix to the base PLT file, defaults to \"rebar3\"** ***\n`exclude_apps` - a list of applications to exclude from PLT files and success typing analysis, `plt_extra_mods` and `base_plt_mods` can add modules from excluded applications\n`exclude_mods` - a list of modules to exclude from PLT files and success typing analysis\n\nFor example, to warn on unmatched returns: \n{dialyzer, [{warnings, [unmatched_returns]}]}.\n\n*The direct dependent applications are listed in `applications` and `included_applications` of their .app files.\n**PLT files are named \"<prefix>_<otp_release>_plt\".\n***The base PLT is a PLT containing the core applications often required for a project's PLT. One base PLT is created per OTP version and stored in `base_plt_location`. A base PLT is used to build project PLTs.\n",
"Run the Dialyzer analyzer on the project.","rebar3 dialyzer",
[{update_plt,117,"update-plt",boolean,
"Enable updating the PLT. Default: true"},
{succ_typings,115,"succ-typings",boolean,
"Enable success typing analysis. Default: true"},
{base_plt_location,undefined,"base-plt-location",string,
"The location of base PLT file, defaults to $HOME/.cache/rebar3"},
{plt_location,undefined,"plt-location",string,
"The location of the PLT file, defaults to the profile's base directory"},
{plt_prefix,undefined,"plt-prefix",string,
"The prefix to the PLT file, defaults to \"rebar3\""},
{base_plt_prefix,undefined,"base-plt-prefix",string,
"The prefix to the base PLT file, defaults to \"rebar3\""}],
[default],
default},
{provider,tree,rebar_prv_deps_tree,
{[],[]},
true,
[lock],
[],"Print dependency tree.","rebar3 tree",
[{verbose,118,"verbose",undefined,
"Print repo and branch/tag/ref for git and hg deps"}],
[default],
default},
{provider,deps,rebar_prv_deps,
{[],[]},
true,
[install_deps],
"List dependencies. Those not matching the config file are followed by an asterisk (*).",
"List dependencies","rebar3 deps",[],
[default],
default},
{provider,cover,rebar_prv_cover,
{[],[]},
true,
[lock],
"Perform coverage analysis.","Perform coverage analysis.",
"rebar3 cover",
[{reset,114,"reset",boolean,"Reset all coverdata."},
{verbose,118,"verbose",boolean,"Print coverage analysis."},
{min_coverage,109,"min_coverage",integer,
"Mandate a coverage percentage required to succeed (0..100)"}],
[test],
default},
{provider,compile,rebar_prv_compile,
{[],[]},
true,
[lock],
"Compile apps .app.src and .erl files.",
"Compile apps .app.src and .erl files.","rebar3 compile",
[{deps_only,100,"deps_only",undefined,
"Only compile dependencies, no project apps will be built."}],
[default],
default},
{provider,ct,rebar_prv_common_test,
{[],[]},
true,
[lock],
"Run Common Tests.","Run Common Tests.","rebar3 ct",
[{dir,undefined,"dir",string,
"List of additional directories containing test suites"},
{suite,undefined,"suite",string,"List of test suites to run"},
{group,undefined,"group",string,"List of test groups to run"},
{testcase,undefined,"case",string,"List of test cases to run"},
{label,undefined,"label",string,"Test label"},
{config,undefined,"config",string,"List of config files"},
{spec,undefined,"spec",string,"List of test specifications"},
{join_specs,undefined,"join_specs",boolean,
"Merge all test specifications and perform a single test run"},
{allow_user_terms,undefined,"allow_user_terms",boolean,
"Allow user defined config values in config files"},
{logdir,undefined,"logdir",string,"Log folder"},
{logopts,undefined,"logopts",string,
"Options for common test logging"},
{verbosity,undefined,"verbosity",integer,"Verbosity"},
{cover,99,"cover",{boolean,false},"Generate cover data"},
{cover_export_name,undefined,"cover_export_name",string,
"Base name of the coverdata file to write"},
{repeat,undefined,"repeat",integer,"How often to repeat tests"},
{duration,undefined,"duration",string,
"Max runtime (format: HHMMSS)"},
{until,undefined,"until",string,"Run until (format: HHMMSS)"},
{force_stop,undefined,"force_stop",string,
"Force stop on test timeout (true | false | skip_rest)"},
{basic_html,undefined,"basic_html",boolean,"Show basic HTML"},
{stylesheet,undefined,"stylesheet",string,
"CSS stylesheet to apply to html output"},
{decrypt_key,undefined,"decrypt_key",string,
"Path to key for decrypting config"},
{decrypt_file,undefined,"decrypt_file",string,
"Path to file containing key for decrypting config"},
{abort_if_missing_suites,undefined,"abort_if_missing_suites",
{boolean,true},
"Abort if suites are missing"},
{multiply_timetraps,undefined,"multiply_timetraps",integer,[]},
{scale_timetraps,undefined,"scale_timetraps",boolean,
"Scale timetraps"},
{create_priv_dir,undefined,"create_priv_dir",string,
"Create priv dir (auto_per_run | auto_per_tc | manual_per_tc)"},
{include,undefined,"include",string,
"Directories containing additional include files"},
{readable,undefined,"readable",string,
"Shows test case names and only displays logs to shell on failures (true | compact | false)"},
{verbose,118,"verbose",boolean,"Verbose output"},
{name,undefined,"name",atom,"Gives a long name to the node"},
{sname,undefined,"sname",atom,"Gives a short name to the node"},
{setcookie,undefined,"setcookie",atom,
"Sets the cookie if the node is distributed"},
{sys_config,undefined,"sys_config",string,
"List of application config files"},
{compile_only,undefined,"compile_only",boolean,
"Compile modules in the project with the test configuration but do not run the tests"},
{retry,undefined,"retry",boolean,
"Experimental feature. If any specification for previously failing test is found, runs them."},
{fail_fast,undefined,"fail_fast",
{boolean,false},
"Experimental feature. If any test fails, the run is aborted. Since common test does not support this natively, we abort the rebar3 run on a failure. This May break CT's disk logging and other rebar3 features."}],
[test],
default},
{provider,clean,rebar_prv_clean,
{[],[]},
true,
[app_discovery,install_deps],
"Remove compiled beam files from apps.",
"Remove compiled beam files from apps.","rebar3 clean",
[{all,97,"all",undefined,"Clean all apps include deps"},
{profile,112,"profile",string,
"Clean under profile. Equivalent to `rebar3 as <profile> clean`"}],
[default],
default},
{provider,compile,rebar_prv_bare_compile,
{[],[]},
false,
[{default,app_discovery}],
[],[],[],
[{paths,112,"paths",string,
"Wildcard paths of ebin directories to add to code path, separated by a colon"},
{separator,115,"separator",string,
"In case of multiple return paths, the separator character to use to join them."}],
[default],
bare},
{provider,as,rebar_prv_as,
{[],[]},
true,[],
"Higher order provider for running multiple tasks in a sequence as a certain profiles.",
"Higher order provider for running multiple tasks in a sequence as a certain profiles.",
"rebar3 as <profile1>,<profile2>,... <task1>, <task2>, ...",
[{profile,undefined,undefined,string,"Profiles to run as."}],
[default],
default},
{provider,app_discovery,rebar_prv_app_discovery,
{[],[]},
false,[],[],[],[],[],
[default],
default},
{provider,version,rebar3_grisp_version,
{[],[]},
true,[],"Print version of plug-in.\n","Print version of plug-in",
"rebar3 grisp version",[],
[default],
grisp},
{provider,build,rebar3_grisp_build,
{[],[]},
true,
[{default,install_deps}],
"Build a custom Erlang/OTP system for GRiSP.\n",
"Build a custom Erlang/OTP system for GRiSP","rebar3 grisp build",
[{clean,99,"clean",
{boolean,false},
"Completely clean Git repository before building"},
{configure,103,"configure",
{boolean,true},
"Run autoconf & configure"},
{tar,116,"tar",
{boolean,false},
"Create tarball with OTP installation for online repository"},
{skip_checkout,115,"skip_checkout",
{boolean,false},
"Skip checkout OTP, assumes you have placed a checked out OTP in the builddir"}],
[default],
grisp},
{provider,deploy,rebar3_grisp_deploy,
{[],[]},
true,
[{default,install_deps},{default,compile}],
"Deploys a GRiSP application.\n\nThe command requires the release name and version to be provided. Options passed after '--' is sent to the Rebar 3 release task.\n",
"Deploy a GRiSP release to a destination","rebar3 grisp deploy",
[{relname,110,"relname",string,
"Specify the name for the release that will be deployed"},
{relvsn,118,"relvsn",string,"Specify the version of the release"},
{destination,100,"destination",string,
"Path to put deployed release in"},
{force,102,"force",{boolean,false},"Replace existing files"},
{pre_script,undefined,"pre-script",string,
"Shell script to run before deploying begins"},
{post_script,undefined,"post-script",string,
"Shell script to run after deploying has finished"}],
[grisp],
grisp},
{provider,publish,rebar3_hex_publish,
{[],[]},
true,
[{default,lock}],
[],"Publish a new version of your package and update the package",
"rebar3 hex publish",
[{repo,114,"repo",string,"Repository to use for this command."}],
[default],
hex},
{provider,retire,rebar3_hex_retire,
{[],[]},
true,[],[],"Mark a package as deprecated.",
"rebar3 hex retire some_pkg 0.3.0",
[{pkg,undefined,undefined,string,"Name of the package to retire."},
{vsn,undefined,undefined,string,"Version of the package to retire."},
{reason,undefined,undefined,string,"Reason to retire package."},
{message,undefined,undefined,string,
"Clarifying message for retirement"},
{repo,114,"repo",string,"Repository to use for this command."}],
[default],
hex},
{provider,revert,rebar3_hex_revert,
{[],[]},
true,[],[],"Delete a package from the repository",
"rebar3 hex revert some_pkg 0.3.0",
[{pkg,undefined,undefined,string,"Name of the package to delete."},
{vsn,undefined,undefined,string,"Version of the package to delete."},
{repo,114,"repo",string,"Repository to use for this command."}],
[default],
hex},
{provider,search,rebar3_hex_search,
{[],[]},
true,[],[],"Display packages matching the given search query",
"rebar3 hex search <term>",
[{term,undefined,undefined,string,"Search term."},
{repo,114,"repo",string,"Repository to use for this command."}],
[default],
hex},
{provider,docs,rebar3_hex_docs,
{[],[]},
true,
[{default,edoc}],
[],"Publish documentation for the current project and version",
"rebar3 hex docs",
[{revert,undefined,"revert",string,"Revert given version."},
{repo,114,"repo",string,"Repository to use for this command."}],
[default],
hex},
{provider,repo,rebar3_hex_repo,
{[],[]},
true,[],[],
"Add, remove or list configured repositories and their auth keys",
"rebar3 hex repo auth myrepo --key 1234",
[{subcmd,undefined,undefined,string,"Repo task to run"},
{repo,undefined,undefined,string,"Name of a repository"},
{key,107,"key",string,"Authentication key for repository"}],
[default],
hex},
{provider,owner,rebar3_hex_owner,
{[],[]},
true,[],[],"Add, remove or list package owners","rebar3 hex owner",
[{repo,114,"repo",string,"Repository to use for this command."}],
[default],
hex},
{provider,key,rebar3_hex_key,
{[],[]},
true,[],[],"Remove or list API keys associated with your account",
"rebar3 hex key [list | remove <key>]",[],
[default],
hex},
{provider,cut,rebar3_hex_cut,
{[],[]},
true,
[{default,lock}],
[],"Increment version number and publish package","rebar3 hex cut",
[{increment,105,"increment",string,
"Type of semver increment: major, minor or patch"},
{repo,114,"repo",string,"Repository to use for this command."}],
[default],
hex},
{provider,user,rebar3_hex_user,
{[],[]},
true,[],[],"Hex user tasks","rebar3 hex user <command>",[],
[default],
hex}],
false})
6>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment