File indexing completed on 2024-11-24 04:54:35

0001 .PHONY: build
0002 .PHONY: test
0003 .PHONY: sample
0004 .PHONY: perf
0005 .PHONY: clean
0006 
0007 build:
0008          ./node_modules/.bin/node-gyp configure && ./node_modules/.bin/node-gyp build
0009 
0010 test:
0011         ./node_modules/node-gyp/gyp/gyp_main.py --generator-output=./build --depth=. -f ninja test/binding.gyp
0012         ./node_modules/node-gyp/gyp/gyp_main.py --generator-output=./build --depth=. -f xcode test/binding.gyp
0013         ninja -C build/out/Default -f build.ninja
0014         ./build/out/Default/ad-block-test || [ $$? -eq 0 ]
0015 
0016 sample:
0017         ./node_modules/node-gyp/gyp/gyp_main.py --generator-output=./build --depth=. -f ninja sample/binding.gyp
0018         ./node_modules/node-gyp/gyp/gyp_main.py --generator-output=./build --depth=. -f xcode sample/binding.gyp
0019         ninja -C build/out/Default -f build.ninja
0020         ./build/out/Default/sample
0021 
0022 perf:
0023         ./node_modules/node-gyp/gyp/gyp_main.py --generator-output=./build --depth=. -f ninja perf/binding.gyp
0024         ./node_modules/node-gyp/gyp/gyp_main.py --generator-output=./build --depth=. -f xcode perf/binding.gyp
0025         ninja -C build/out/Default -f build.ninja
0026         ./build/out/Default/perf
0027 
0028 clean:
0029         rm -Rf build