aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Cully <bjc@kublai.com>2012-02-06 19:44:47 -0500
committerBrian Cully <github.20.shmit@spamgourmet.com>2012-02-06 19:46:56 -0500
commit50f3c688a7cd4819680dbd19b9933c6cb5e62ca7 (patch)
tree5d9bf2edac40d874ec05bafc1e1e38b443879ce3
parentd3b118481833acd44d724c06ce8c9d6b6ff2838a (diff)
downloadmysqlerl-50f3c688a7cd4819680dbd19b9933c6cb5e62ca7.tar.gz
mysqlerl-50f3c688a7cd4819680dbd19b9933c6cb5e62ca7.zip
Move most files into lib, add top-level makefile
-rw-r--r--.gitignore9
-rw-r--r--Makefile10
-rw-r--r--lib/src/Makefile (renamed from src/Makefile)0
-rw-r--r--lib/src/TODO.org (renamed from src/TODO.org)0
-rw-r--r--lib/src/io.c (renamed from src/io.c)0
-rw-r--r--lib/src/io.h (renamed from src/io.h)0
-rw-r--r--lib/src/log.c (renamed from src/log.c)0
-rw-r--r--lib/src/log.h (renamed from src/log.h)0
-rw-r--r--lib/src/msg.c (renamed from src/msg.c)0
-rw-r--r--lib/src/msg.h (renamed from src/msg.h)0
-rw-r--r--lib/src/mysqlerl.app (renamed from src/mysqlerl.app)0
-rw-r--r--lib/src/mysqlerl.c (renamed from src/mysqlerl.c)0
-rw-r--r--lib/src/mysqlerl.erl (renamed from src/mysqlerl.erl)0
-rw-r--r--lib/src/mysqlerl.hrl (renamed from src/mysqlerl.hrl)0
-rw-r--r--lib/src/mysqlerl_app.erl (renamed from src/mysqlerl_app.erl)0
-rw-r--r--lib/src/mysqlerl_connection.erl (renamed from src/mysqlerl_connection.erl)0
-rw-r--r--lib/src/mysqlerl_connection_sup.erl (renamed from src/mysqlerl_connection_sup.erl)0
-rw-r--r--lib/src/mysqlerl_port.erl (renamed from src/mysqlerl_port.erl)0
-rw-r--r--lib/src/mysqlerl_port.hrl (renamed from src/mysqlerl_port.hrl)0
-rw-r--r--lib/src/mysqlerl_port_sup.erl (renamed from src/mysqlerl_port_sup.erl)0
-rw-r--r--lib/src/mysqlerl_sup.erl (renamed from src/mysqlerl_sup.erl)0
21 files changed, 16 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
index c5a0c1c..7cd6bb1 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,9 @@
*~
*.o
*.beam
-mysqlerl
-ebin/*
-priv/* \ No newline at end of file
+lib/ebin/*
+lib/priv/*
+lib/test/*.html
+lib/test/*.css
+lib/test/ct_run.*
+lib/test/variables-ct*
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..f431ef2
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,10 @@
+.PHONY: all install test
+
+all:
+ @@cd lib/src && make all
+
+install:
+ @@cd lib/src && make install
+
+test:
+ @@cd lib/test && make test
diff --git a/src/Makefile b/lib/src/Makefile
index 3a1510b..3a1510b 100644
--- a/src/Makefile
+++ b/lib/src/Makefile
diff --git a/src/TODO.org b/lib/src/TODO.org
index 636f47d..636f47d 100644
--- a/src/TODO.org
+++ b/lib/src/TODO.org
diff --git a/src/io.c b/lib/src/io.c
index dcc055f..dcc055f 100644
--- a/src/io.c
+++ b/lib/src/io.c
diff --git a/src/io.h b/lib/src/io.h
index bf4e086..bf4e086 100644
--- a/src/io.h
+++ b/lib/src/io.h
diff --git a/src/log.c b/lib/src/log.c
index 80aa755..80aa755 100644
--- a/src/log.c
+++ b/lib/src/log.c
diff --git a/src/log.h b/lib/src/log.h
index ae9a9bd..ae9a9bd 100644
--- a/src/log.h
+++ b/lib/src/log.h
diff --git a/src/msg.c b/lib/src/msg.c
index 00a5a6a..00a5a6a 100644
--- a/src/msg.c
+++ b/lib/src/msg.c
diff --git a/src/msg.h b/lib/src/msg.h
index 6db2aa8..6db2aa8 100644
--- a/src/msg.h
+++ b/lib/src/msg.h
diff --git a/src/mysqlerl.app b/lib/src/mysqlerl.app
index 5687463..5687463 100644
--- a/src/mysqlerl.app
+++ b/lib/src/mysqlerl.app
diff --git a/src/mysqlerl.c b/lib/src/mysqlerl.c
index 020d9eb..020d9eb 100644
--- a/src/mysqlerl.c
+++ b/lib/src/mysqlerl.c
diff --git a/src/mysqlerl.erl b/lib/src/mysqlerl.erl
index 946e9c5..946e9c5 100644
--- a/src/mysqlerl.erl
+++ b/lib/src/mysqlerl.erl
diff --git a/src/mysqlerl.hrl b/lib/src/mysqlerl.hrl
index 99e674f..99e674f 100644
--- a/src/mysqlerl.hrl
+++ b/lib/src/mysqlerl.hrl
diff --git a/src/mysqlerl_app.erl b/lib/src/mysqlerl_app.erl
index cdb8ade..cdb8ade 100644
--- a/src/mysqlerl_app.erl
+++ b/lib/src/mysqlerl_app.erl
diff --git a/src/mysqlerl_connection.erl b/lib/src/mysqlerl_connection.erl
index 1a3d900..1a3d900 100644
--- a/src/mysqlerl_connection.erl
+++ b/lib/src/mysqlerl_connection.erl
diff --git a/src/mysqlerl_connection_sup.erl b/lib/src/mysqlerl_connection_sup.erl
index 6e1632a..6e1632a 100644
--- a/src/mysqlerl_connection_sup.erl
+++ b/lib/src/mysqlerl_connection_sup.erl
diff --git a/src/mysqlerl_port.erl b/lib/src/mysqlerl_port.erl
index 74fe177..74fe177 100644
--- a/src/mysqlerl_port.erl
+++ b/lib/src/mysqlerl_port.erl
diff --git a/src/mysqlerl_port.hrl b/lib/src/mysqlerl_port.hrl
index a7a3300..a7a3300 100644
--- a/src/mysqlerl_port.hrl
+++ b/lib/src/mysqlerl_port.hrl
diff --git a/src/mysqlerl_port_sup.erl b/lib/src/mysqlerl_port_sup.erl
index 3053cdc..3053cdc 100644
--- a/src/mysqlerl_port_sup.erl
+++ b/lib/src/mysqlerl_port_sup.erl
diff --git a/src/mysqlerl_sup.erl b/lib/src/mysqlerl_sup.erl
index 1ebfbf2..1ebfbf2 100644
--- a/src/mysqlerl_sup.erl
+++ b/lib/src/mysqlerl_sup.erl