Skip to content

Commit fd5b1a0

Browse files
committed
cleanup
1 parent 09833f4 commit fd5b1a0

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/deps
22
/bin/*
3+
/test/index
34
/lib/hypercore.so
45
/lib/hypercore.a

index.cxx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#include "index.hxx"
2-
#include "deps/datcxx/cxx-flat-tree/index.hxx"
2+
#include "deps/datcxx/flat-tree/index.hxx"
33

44
namespace Hypercore {
55
size_t getIndex () {

package.json

+7-1
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,20 @@
1212
"[email protected]:heapwolf/cxx-tap": "07821de0"
1313
},
1414
"scripts": {
15-
"test": "c++ -std=c++2a test/index.cxx lib/hypercore.so -o test/index && ./test/index",
15+
"test": [
16+
"clang++ -std=c++2a -stdlib=libc++",
17+
"test/index.cxx lib/hypercore.so",
18+
"-o test/index",
19+
"&& ./test/index"
20+
],
1621
"shared": "",
1722
"static": ""
1823
},
1924
"flags": [
2025
"-shared",
2126
"-o ./lib/hypercore.so",
2227
"-std=c++2a",
28+
"-stdlib=libc++",
2329
"-ferror-limit=2"
2430
],
2531
"files": [

0 commit comments

Comments
 (0)