File tree Expand file tree Collapse file tree
packages/google-cloud-bigquery-datatransfer Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3131 "samples-test" : " cd samples/ && npm link ../ && npm install && npm test && cd ../" ,
3232 "system-test" : " mocha build/system-test" ,
3333 "docs" : " jsdoc -c .jsdoc.js" ,
34- "lint" : " gts fix " ,
34+ "lint" : " gts check " ,
3535 "fix" : " gts fix" ,
3636 "docs-test" : " linkinator docs" ,
3737 "predocs-test" : " npm run docs" ,
3838 "clean" : " gts clean" ,
3939 "compile" : " tsc -p . && cp -r protos build/" ,
4040 "compile-protos" : " compileProtos src" ,
4141 "prepare" : " npm run compile" ,
42- "prelint" : " cd samples; npm link ../; npm install"
42+ "prelint" : " cd samples; npm link ../; npm install" ,
43+ "precompile" : " gts clean"
4344 },
4445 "dependencies" : {
4546 "google-gax" : " ^2.1.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
3434templates = common_templates .node_library (source_location = 'build/src' )
3535s .copy (templates )
3636
37- subprocess .run (['npm' , 'install' ])
38- subprocess .run (['npm' , 'run' , 'fix' ])
39- subprocess .run (['npx' , 'compileProtos' , 'src' ])
37+ node .postprocess_gapic_library ()
You can’t perform that action at this time.
0 commit comments