diff --git a/.gitignore b/.gitignore index 754d679ef..453e63922 100644 --- a/.gitignore +++ b/.gitignore @@ -36,5 +36,5 @@ node_modules lib/binding .DS_Store temp/ -*.cpp -*.hpp +*.cc +*.hh diff --git a/binding.gyp b/binding.gyp index 8e7894634..b790a1ff2 100644 --- a/binding.gyp +++ b/binding.gyp @@ -16,7 +16,7 @@ ], }, "sources": [ - "src/better_sqlite3.cpp" + "src/better_sqlite3.cc" ] } ] diff --git a/tools/build b/tools/build index a9ff8ecab..70129e3d7 100755 --- a/tools/build +++ b/tools/build @@ -1,3 +1,3 @@ #!/usr/bin/env bash set -e -./tools/lzz -hx hpp -sx cpp -d -k BETTER_SQLITE3 -hl -sl -e ./src/better_sqlite3.lzz +./tools/lzz -hx hh -sx cc -d -k BETTER_SQLITE3 -hl -sl -e ./src/better_sqlite3.lzz