File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 "docs-test" : " linkinator docs" ,
3232 "fix" : " gts fix" ,
3333 "prelint" : " cd samples; npm link ../; npm install" ,
34- "lint" : " gts fix " ,
34+ "lint" : " gts check " ,
3535 "prepare" : " npm run compile" ,
3636 "samples-test" : " cd samples/ && npm link ../ && npm install && npm test && cd ../" ,
3737 "presystem-test" : " npm run compile" ,
3838 "system-test" : " mocha build/system-test --timeout 600000" ,
3939 "pretest" : " npm run compile" ,
40- "test" : " c8 mocha build/test"
40+ "test" : " c8 mocha build/test" ,
41+ "precompile" : " gts clean"
4142 },
4243 "dependencies" : {
4344 "@google-cloud/promisify" : " ^2.0.0" ,
Original file line number Diff line number Diff line change 11import synthtool as s
22import synthtool .gcp as gcp
3+ import synthtool .languages .node as node
34import logging
4- import subprocess
55
66logging .basicConfig (level = logging .DEBUG )
77
3333templates = common_templates .node_library (source_location = "build/src" )
3434s .copy (templates )
3535
36- # Node.js specific cleanup
37- subprocess .run (['npm' , 'install' ])
38- subprocess .run (['npm' , 'run' , 'fix' ])
39- subprocess .run (['npx' , 'compileProtos' , 'src' ])
36+ node .postprocess_gapic_library ()
You can’t perform that action at this time.
0 commit comments