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