From 3db54523eba2674cb6675e1e714f666da9c52f1f Mon Sep 17 00:00:00 2001 From: Tee Teoh Date: Sat, 18 Oct 2008 23:03:10 -0400 Subject: [PATCH] Added Readme with instructions. Modified Makefile with dialyzer info. --- Makefile | 1 + Readme | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 Readme diff --git a/Makefile b/Makefile index ff7c450..5707f0a 100644 --- a/Makefile +++ b/Makefile @@ -14,6 +14,7 @@ static: clean: - rm ebin/*.beam - rm doc/* + - rm -rf ct_nodes* all_runs.html variables* find . -name "*~" | xargs rm cd priv && make clean diff --git a/Readme b/Readme new file mode 100644 index 0000000..41944f1 --- /dev/null +++ b/Readme @@ -0,0 +1,30 @@ +Compiling +--------- + +1. Modify Makefile as needed. + +2. Run 'make' + +3. Run 'make static' for dialyzer + + +Running Test Suite +------------------ + +$ROOT refers to the parent directory for sqlite-1.0.0 + +1. Add $ROOT/sqlite-1.0.0/priv in your path. + +2. erl -pa $ROOT/sqlite-1.0.0/ebin + +3. ct:run("src"). + + +Example Usage +------------- + +Use sqlite-1.0.0/src/test/sqlite_test_SUITE.erl as an example for your own usage. Look at both +init_per_testcase and create_table. + + +Author: tty.erlang@gmail.com