Skip to content

sinasamavati/eake

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Eake

A make-like tool for Erlang.

Why?

Because invoking shell commands from Erlang is sometimes better than booting/re-booting Erlang VM several times from a Makefile target.

Installation

Clone it and just run make then put the eake file in your $PATH.

Usage

Writing a task is like a function definition, moreover, Eake lets you describe what a task does.

Just touch a file with the name Eakefile, and use -description :: "context...". above the task definition to describe what it deos.

Example:

%% Eakefile

-description :: "Prints 'Hello, World!'".
'hello-world'() ->
    io:format("Hello, World!~n").

-description :: "Echos an argument".
echo(Arg) ->
    io:format("~s~n", [Arg]).
$ eake
Eake :: A make-like tool for Erlang

Usage: ./eake [-h]

  -h, --help   Displays this message

  hello-world  Prints 'Hello, World!'
  echo         Echos an argument

###

$ eake hello-world
Hello, World!

$ eake echo "hello everybody"
hello everybody

License

MIT, see LICENSE file for more details.

About

A make-like tool for Erlang

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages