Include Jiffy in my Cowboy server

313 views Asked by At

I've tried following Erlang: How to include libraries

but the answers don't work for me. I cloned jiffy into deps/jiffy I'm using gmake run to run.

My Makefile

PROJECT = erlapp
PROJECT_DESCRIPTION = New project
PROJECT_VERSION = 0.1.0

DEPS = cowboy
dep_cowboy_commit = master

include erlang.mk

How do I include jiffy as a dependency too, so it loads and I can use it in my project?

1

There are 1 answers

2
Maryna Shabalina On

Try to check doc

And try

DEPS = cowboy jiffy

dep_jiffy = git https://github.com/davisp/jiffy