Oops, machi app actually *runs* now

This commit is contained in:
Scott Lystig Fritchie 2015-10-16 15:56:47 +09:00
parent 58d2a43b37
commit ab6c23a335
3 changed files with 10 additions and 6 deletions

View file

@ -16,7 +16,16 @@ all: deps compile
compile:
$(REBAR) compile
## Make reltool happy by creating a fake entry in the deps dir for
## machi, because reltool really wants to have a path with
## "machi/ebin" at the end, but we also don't want infinite recursion
## if we just symlink "deps/machi" -> ".."
generate:
rm -rf deps/machi
mkdir deps/machi
ln -s ../../ebin deps/machi
ln -s ../../src deps/machi
$(REBAR) generate $(OVERLAY_VARS) 2>&1 | grep -v 'command does not apply to directory'
deps:

View file

@ -1,5 +0,0 @@
{application,machi,
[{description,"Machi extremely-early boot items"},
%% {modules,[etop_txt]}
{modules,[]}
]}.

View file

@ -1,7 +1,7 @@
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*-
%% ex: ft=erlang ts=4 sw=4 et
{sys, [
{lib_dirs, ["../deps", "../apps"]},
{lib_dirs, ["../deps"]},
{rel, "machi", "0.0.0",
[
kernel,