From e80cbf3f5cb44fde1347c969e1fcc6ee1664c536 Mon Sep 17 00:00:00 2001 From: Duncan McGreggor Date: Thu, 18 Jun 2015 19:28:56 -0500 Subject: [PATCH] Added copyright holders. For contributor history, see the following: * https://github.com/rebar/rebar/blame/master/src/rebar_lfe_compiler.erl * https://github.com/oubiwann/rebar3/pull/1 --- LICENSE | 5 ++++- src/lfe-compile.erl | 20 ++++++++++++-------- 2 files changed, 16 insertions(+), 9 deletions(-) diff --git a/LICENSE b/LICENSE index 31c2ef2..f85b9ee 100644 --- a/LICENSE +++ b/LICENSE @@ -1,4 +1,7 @@ -Copyright (c) 2015, Anonymous . +Copyright (c) 2009, Dave Smith & + Tim Dysinger +Copyright (c) 2014, 2015 Duncan McGreggor + All rights reserved. Redistribution and use in source and binary forms, with or without diff --git a/src/lfe-compile.erl b/src/lfe-compile.erl index e8750c0..5e595fe 100644 --- a/src/lfe-compile.erl +++ b/src/lfe-compile.erl @@ -1,3 +1,7 @@ +%% Copyright (c) 2009, Dave Smith & +%% Tim Dysinger +%% Copyright (c) 2014, 2015 Duncan McGreggor +%% -module('lfe-compile'). -behaviour(provider). @@ -15,15 +19,15 @@ -spec init(rebar_state:t()) -> {ok, rebar_state:t()}. init(State) -> Provider = providers:create([ - {name, compile}, % The 'user friendly' name of the task - {module, ?MODULE}, % The module implementation of the task + {name, compile}, + {module, ?MODULE}, {namespace, lfe}, - {bare, true}, % The task can be run by the user, always true - {deps, ?DEPS}, % The list of dependencies - {example, "rebar3 lfe compile"}, % How to use the plugin - {short_desc, "rebar compile for LFE"}, - {desc, "The LFE compile rebar plugin"}, - {opts, []} % list of options understood by the plugin + {bare, true}, + {deps, ?DEPS}, + {example, "rebar3 lfe compile"}, + {short_desc, "rebar3 compile for LFE"}, + {desc, "The LFE rebar3 compiler plugin"}, + {opts, []} ]), {ok, rebar_state:add_provider(State, Provider)}.