Added Readme with instructions.
Modified Makefile with dialyzer info.
This commit is contained in:
1
Makefile
1
Makefile
@@ -14,6 +14,7 @@ static:
|
|||||||
clean:
|
clean:
|
||||||
- rm ebin/*.beam
|
- rm ebin/*.beam
|
||||||
- rm doc/*
|
- rm doc/*
|
||||||
|
- rm -rf ct_nodes* all_runs.html variables*
|
||||||
find . -name "*~" | xargs rm
|
find . -name "*~" | xargs rm
|
||||||
cd priv && make clean
|
cd priv && make clean
|
||||||
|
|
||||||
|
|||||||
30
Readme
Normal file
30
Readme
Normal file
@@ -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
|
||||||
Reference in New Issue
Block a user