added soem rebar3 stuff
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -7,3 +7,4 @@ priv
|
||||
*.o
|
||||
*~
|
||||
_build
|
||||
c_src/*.d
|
||||
|
||||
10
rebar.config
10
rebar.config
@@ -4,8 +4,18 @@
|
||||
{"darwin", "DRV_LDFLAGS",
|
||||
"-flat_namespace -undefined suppress $ERL_LDFLAGS"},
|
||||
|
||||
{"solaris", "CFLAGS",
|
||||
"-std=c99"},
|
||||
|
||||
{"CFLAGS", "$CFLAGS -DSQLITE_THREADSAFE=1 -DSQLITE_USE_URI -DSQLITE_ENABLE_FTS3 -DSQLITE_ENABLE_FTS3_PARENTHESIS"}
|
||||
]}.
|
||||
{port_specs, [
|
||||
{"priv/esqlite3_nif.so", ["c_src/esqlite3_nif.c", "c_src/queue.c", "c_src/sqlite3.c"]}
|
||||
]}.
|
||||
|
||||
{plugins, [pc]}.
|
||||
|
||||
{provider_hooks,
|
||||
[{post,
|
||||
[{compile, {pc, compile}},
|
||||
{clean, {pc, clean}}]}]}.
|
||||
|
||||
1
rebar.lock
Normal file
1
rebar.lock
Normal file
@@ -0,0 +1 @@
|
||||
[].
|
||||
Reference in New Issue
Block a user