All Projects → botsunit → Elixir.mk

botsunit / Elixir.mk

A (very) experimental plugins for erlang.mk to use Elixir modules in Erlang

Labels

Projects that are alternatives of or similar to Elixir.mk

Mmc Password Utils
User layer support for kernel MMC Password Lock/Unlock feature
Stars: ✭ 10 (-23.08%)
Mutual labels:  makefile
Android device motorola osprey
Device tree for 2015 Moto G (osprey)
Stars: ✭ 11 (-15.38%)
Mutual labels:  makefile
Docker Node Opencv
Docker image for NodeJS with OpenCV
Stars: ✭ 12 (-7.69%)
Mutual labels:  makefile
Node Shmdb
the implementation of shmdb in node.js
Stars: ✭ 10 (-23.08%)
Mutual labels:  makefile
Buildroot Rs97
Please don't use this anymore, it's old.
Stars: ✭ 11 (-15.38%)
Mutual labels:  makefile
Toolchain
C/C++ toolchain for MiniOS
Stars: ✭ 11 (-15.38%)
Mutual labels:  makefile
Moosefs Freebsd Ports
Official FreeBSD Ports for MooseFS 3.0 (and MooseFS 2.0). If you're looking for MooseFS 2.0 ports, check the 2.0.x branch.
Stars: ✭ 10 (-23.08%)
Mutual labels:  makefile
Electron Flatpak Base App
Flatpak runtime for electron apps based on the freedesktop runtime.
Stars: ✭ 13 (+0%)
Mutual labels:  makefile
Variantbam
Filtering and profiling of next-generational sequencing data using region-specific rules
Stars: ✭ 11 (-15.38%)
Mutual labels:  makefile
Docker Unifi Armhf
UniFi 5 Controller for Raspberry Pi
Stars: ✭ 12 (-7.69%)
Mutual labels:  makefile
Android device oppo find7
Device tree for Oppo Find 7/7a
Stars: ✭ 10 (-23.08%)
Mutual labels:  makefile
Android device semc urushi
SEMC Xperia Ray (ST18i)
Stars: ✭ 10 (-23.08%)
Mutual labels:  makefile
Pve Qemu Kvm
QEMU/KVM Emulator
Stars: ✭ 11 (-15.38%)
Mutual labels:  makefile
Rock Bsp
Linux BSP for rockchip platform
Stars: ✭ 10 (-23.08%)
Mutual labels:  makefile
Tornado Doc Chinese
Tornado 中文文档翻译.
Stars: ✭ 12 (-7.69%)
Mutual labels:  makefile
Opus Android
Build Opus lib with Android ndk-build
Stars: ✭ 10 (-23.08%)
Mutual labels:  makefile
Last Makefile
The last makefile you'll ever need.
Stars: ✭ 11 (-15.38%)
Mutual labels:  makefile
Robopsychology
How to become a robopsychologist
Stars: ✭ 13 (+0%)
Mutual labels:  makefile
3d Semantic Segmentation For Scene Parsing
A new approach for the real time 3D semantic segmentation based on feature abstract and deep learning method
Stars: ✭ 13 (+0%)
Mutual labels:  makefile
Tap
Stars: ✭ 12 (-7.69%)
Mutual labels:  makefile

elixir.mk

A (very) experimental plugins for erlang.mk to use Elixir modules in Erlang.

The command make will compile all Elixir dependencies declared in ELIXIR_DEPS and all Elixir files in the 'src/' directory.

Example

PROJECT = test
PROJECT_DESCRIPTION = New project
PROJECT_VERSION = 0.0.1

DEP_PLUGINS = elixir.mk
BUILD_DEPS = elixir.mk

dep_elixir.mk = git https://github.com/botsunit/elixir.mk.git master

ELIXIR_MIX_ENV = test
ELIXIR_DEPS = httpoison 

dep_httpoison = hex 0.8.0

include erlang.mk

You can also look in the sample directory for a complete example :

git clone https://github.com/botsunit/elixir.mk.git
cd elixir.mk/sample
make
make dev

Erlang/OTP 18 [erts-7.2] [source] [64-bit] [smp:4:4] [async-threads:10] [hipe] [kernel-poll:false]

Eshell V7.2  (abort with ^G)
1> application:ensure_all_started(sample).
{ok,[compiler,elixir,sample]}
2> sample:test().
#{<<"people">> => [#{<<"age">> => 27,<<"name">> => <<"Devin Torres">>}]}
<<"{\"people\":[{\"name\":\"Devin Torres\",\"age\":27}]}">>
ok
3> 'Elixir.Sample':test().
%{"people" => [%{"age" => 27, "name" => "Devin Torres"}]}
"{\"people\":[{\"name\":\"Devin Torres\",\"age\":27}]}"
ok
4>

Licence

Copyright (c) 2015, Bots Unit
All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:

  1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
  2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].