Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100755 19 lines (13 sloc) 0.457 kB
4093c78 @grumdrig Initial commit of contents of svn repo. node_sqlite is sqlite3 bindin…
authored
1 #!/usr/bin/python
c1c4b86 @grumdrig Documentation
authored
2 # Wait for changes to relevant files, then compile and run test. And
3 # do this forever.
4093c78 @grumdrig Initial commit of contents of svn repo. node_sqlite is sqlite3 bindin…
authored
4
5 import os, sys, time
6
7b2cd3c @grumdrig Rename sqlite3.js without the 3
authored
7 filenames = ["sqlite3_bindings.cc", "wscript", "sqlite.js", "test.js"]
4093c78 @grumdrig Initial commit of contents of svn repo. node_sqlite is sqlite3 bindin…
authored
8
9 mtime = []
10 while True:
11 m = [os.stat(filename).st_mtime for filename in filenames]
12 if mtime != m:
c1c4b86 @grumdrig Documentation
authored
13 os.system("clear; rm -f test.db")
14 os.system("node-waf build && node test.js && sleep 1 && sqlite3 test.db .dump");
4093c78 @grumdrig Initial commit of contents of svn repo. node_sqlite is sqlite3 bindin…
authored
15 mtime = m
16
17 time.sleep(1)
18
Something went wrong with that request. Please try again.