Skip to content
This repository has been archived by the owner on Jul 17, 2020. It is now read-only.

lfe-rebar3/version

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DEPRECATED / ARCHIVED

This functionality is now available in the far more streamlined project https://github.com/lfe-rebar3/rebar3_lfe

lfe-version

Build Status LFE Versions Erlang Versions Tags Downloads

The LFE rebar3 version plugin

Org Logo

Contents

Build

$ rebar3 compile

Use

Add the required plugins and provider hooks to your rebar.config:

{plugins, [
  {'lfe-compile', ".*",
    {git, "https://github.com/lfe-rebar3/compile.git", {tag, "0.5.0"}}},
  {'lfe-version', ".*",
    {git, "https://github.com/lfe-rebar3/version.git", {tag, "0.6.0"}}}
]}.

{provider_hooks, [
   {post, [{compile, {lfe, compile}}]}
  ]}.

Then just call the plugin directly from your project directory:

$ rebar3 help lfe version

The LFE rebar3 version plugin.

Display the version info for LFE as well as major components of Erlang/OTP.


Usage: rebar3 lfe version
$ rebar3 lfe version
(#(erlang "18")
 #(emulator "7.0")
 #(driver-version "3.2")
 #(lfe "1.1.1")
 #(rebar "3.1.1"))

License

BSD 3-Clause License

Copyright © 2015-2019, Duncan McGreggor oubiwann@gmail.com

Copyright © 2016, Eric Bailey eric@ericb.me