• Home
  • Raw
  • Download

Lines Matching +full:skia +full:- +full:public

4 npm: npm-test npm-debug
5 mkdir -p ./npm-wasm/bin
6 mkdir -p ./npm-asmjs/bin
8 cp ../../out/pathkit/pathkit.js ./npm-wasm/bin
9 cp ../../out/pathkit/pathkit.wasm ./npm-wasm/bin
11 cp ../../out/pathkit/pathkit.js ./npm-asmjs/bin/pathkit.js
12 cp ../../out/pathkit/pathkit.js.mem ./npm-asmjs/bin/pathkit.js.mem
15 cd npm-wasm; npm publish
16 cd npm-asmjs; npm publish
18 update-major:
19 cd npm-wasm; npm version major
20 cd ../npm-asmjs; npm version major
23 update-minor:
24 cd npm-wasm; npm version minor
25 cd npm-asmjs; npm version minor
28 update-patch:
29 cd npm-wasm; npm version patch
30 cd npm-asmjs; npm version patch
33 # Build the library and run the tests. If developing locally, test-continuous is better
35 # to manually call make npm-test to re-build.
36 test: npm-test
38 npx karma start ./karma.conf.js --single-run
39 ASM_JS=1 npx karma start ./karma.conf.js --single-run
41 test-continuous:
43 echo "Also assuming make npm-test has also been run by a user (if needed)"
44 npx karma start ./karma.conf.js --no-single-run --watch-poll
46 test-continuous-asmjs:
48 echo "Also assuming make npm-test has also been run by a user (if needed)"
49 ASM_JS=1 npx karma start ./karma.conf.js --no-single-run --watch-poll
52 # test-docker-continuous is better, although if you make changes to the C++/WASM code,
53 # you will need to manually call make npm-test to re-build.
54 test-docker:
55 mkdir -p ./npm-wasm/bin/test
56 mkdir -p ./npm-asmjs/bin/test
57 mkdir -p $$SKIA_ROOT/out/dockerbuild
59 docker run --rm -v $$SKIA_ROOT:/SRC -v $$SKIA_ROOT/out/dockerbuild:/OUT \
60 gcr.io/skia-public/emsdk-release:1.38.16_v1 /SRC/infra/pathkit/build_pathkit.sh
61 cp ../../out/dockerbuild/pathkit.js ./npm-wasm/bin/test/pathkit.js
62 cp ../../out/dockerbuild/pathkit.wasm ./npm-wasm/bin/test/pathkit.wasm
64 docker run --rm -v $$SKIA_ROOT:/SRC -v $$SKIA_ROOT/out/dockerbuild:/OUT \
65 gcr.io/skia-public/emsdk-release:1.38.16_v1 /SRC/infra/pathkit/build_pathkit.sh asm.js
66 cp ../../out/dockerbuild/pathkit.js ./npm-asmjs/bin/test/pathkit.js
67 cp ../../out/dockerbuild/pathkit.js.mem ./npm-asmjs/bin/test/pathkit.js.mem
69 …docker run --shm-size=2gb -v $$SKIA_ROOT:/SRC gcr.io/skia-public/karma-chrome-tests:68.0.3440.106_…
70 karma start /SRC/modules/pathkit/karma.conf.js --single-run
71 …docker run --shm-size=2gb -v $$SKIA_ROOT:/SRC -e ASM_JS=1 gcr.io/skia-public/karma-chrome-tests:68…
72 karma start /SRC/modules/pathkit/karma.conf.js --single-run
74 test-docker-continuous:
75 echo "Assuming make npm-test has also been run by a user (if needed)"
76 …docker run --shm-size=2gb -v $$SKIA_ROOT:/SRC gcr.io/skia-public/karma-chrome-tests:68.0.3440.106_…
77 karma start /SRC/modules/pathkit/karma.conf.js --no-single-run
79 test-docker-continuous-asmjs:
80 echo "Assuming make npm-test has also been run by a user (if needed)"
81 …docker run --shm-size=2gb -v $$SKIA_ROOT:/SRC -e ASM_JS=1 gcr.io/skia-public/karma-chrome-tests:68…
82 karma start /SRC/modules/pathkit/karma.conf.js --no-single-run
84 npm-test:
86 # local-example-test
87 mkdir -p ./npm-wasm/bin/test
88 mkdir -p ./npm-asmjs/bin/test
90 cp ../../out/pathkit/pathkit.js ./npm-wasm/bin/test/pathkit.js
91 cp ../../out/pathkit/pathkit.wasm ./npm-wasm/bin/test/pathkit.wasm
93 cp ../../out/pathkit/pathkit.js ./npm-asmjs/bin/test/pathkit.js
94 cp ../../out/pathkit/pathkit.js.mem ./npm-asmjs/bin/test/pathkit.js.mem
96 npm-debug:
98 # local-example-test
99 mkdir -p ./npm-wasm/bin/debug
100 mkdir -p ./npm-asmjs/bin/debug
102 cp ../../out/pathkit/pathkit.js ./npm-wasm/bin/debug/pathkit.js
103 cp ../../out/pathkit/pathkit.wasm ./npm-wasm/bin/debug/pathkit.wasm
104 cp ../../out/pathkit/pathkit.wasm.map ./npm-wasm/bin/debug/pathkit.wasm.map
106 cp ../../out/pathkit/pathkit.js ./npm-asmjs/bin/debug/pathkit.js
107 cp ../../out/pathkit/pathkit.js.map ./npm-asmjs/bin/debug/pathkit.js.map
110 npm install pathkit-asmjs pathkit-wasm
111 echo "Go check out localhost:8000/npm-wasm/example.html"
114 local-example:
115 rm -rf node_modules/pathkit-wasm
116 rm -rf node_modules/pathkit-asmjs
117 mkdir -p node_modules
118 ln -s -T ../npm-wasm node_modules/pathkit-wasm
119 ln -s -T ../npm-asmjs node_modules/pathkit-asmjs
120 echo "Go check out http://localhost:8000/npm-wasm/example.html"
121 echo "or http://localhost:8000/npm-asmjs/example.html"
124 local-example-test:
125 rm -rf node_modules/pathkit-wasm
126 rm -rf node_modules/pathkit-asmjs
127 mkdir -p node_modules/pathkit-wasm
128 mkdir -p node_modules/pathkit-asmjs
129 ln -s -T ../../npm-wasm/bin/test node_modules/pathkit-wasm/bin
130 ln -s -T ../../npm-asmjs/bin/test node_modules/pathkit-asmjs/bin
131 echo "Go check out localhost:8000/npm-wasm/example.html"
132 echo "or http://localhost:8000/npm-asmjs/example.html"
135 local-example-debug:
136 rm -rf node_modules/pathkit-wasm
137 rm -rf node_modules/pathkit-asmjs
138 mkdir -p node_modules/pathkit-wasm
139 mkdir -p node_modules/pathkit-asmjs
140 ln -s -T ../../npm-wasm/bin/debug node_modules/pathkit-wasm/bin
141 ln -s -T ../../npm-asmjs/bin/debug node_modules/pathkit-asmjs/bin
142 echo "Go check out localhost:8000/npm-wasm/example.html"
143 echo "or http://localhost:8000/npm-asmjs/example.html"