mirror of
https://github.com/correl/calrissian.git
synced 2024-11-23 11:09:58 +00:00
Using pwd in ERL_LIBS allows standard usage of include.
Also, this allows one to use the same include when using the code in a release (a la relx, etc.).
This commit is contained in:
parent
2ea5b9289c
commit
47d70c8772
2 changed files with 2 additions and 2 deletions
|
@ -71,7 +71,7 @@ and execution will cease.
|
||||||
|
|
||||||
.. code:: scheme
|
.. code:: scheme
|
||||||
|
|
||||||
(include-lib "deps/calrissian/include/monads.lfe")
|
(include-lib "calrissian/include/monads.lfe")
|
||||||
|
|
||||||
(defun dostuff ()
|
(defun dostuff ()
|
||||||
(do-m (monad 'error)
|
(do-m (monad 'error)
|
||||||
|
|
|
@ -9,7 +9,7 @@ OUT_DIR = ./ebin
|
||||||
TEST_DIR = ./test
|
TEST_DIR = ./test
|
||||||
TEST_OUT_DIR = ./.eunit
|
TEST_OUT_DIR = ./.eunit
|
||||||
SCRIPT_PATH=$(DEPS)/lfe/bin:.:./bin:"$(PATH)":/usr/local/bin
|
SCRIPT_PATH=$(DEPS)/lfe/bin:.:./bin:"$(PATH)":/usr/local/bin
|
||||||
ERL_LIBS=$(shell $(LFETOOL) info erllibs)
|
ERL_LIBS=$(shell pwd):$(shell $(LFETOOL) info erllibs)
|
||||||
EMPTY =
|
EMPTY =
|
||||||
ifeq ($(shell which lfetool),$EMPTY)
|
ifeq ($(shell which lfetool),$EMPTY)
|
||||||
LFETOOL=$(BIN_DIR)/lfetool
|
LFETOOL=$(BIN_DIR)/lfetool
|
||||||
|
|
Loading…
Reference in a new issue