File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change 2121 - name : Install project dependencies
2222 run : npm ci --no-audit --no-fund # https://docs.npmjs.com/cli/v8/commands/npm-ci
2323 - name : Generate Golang + Chi application
24- run : ../../src/cli.js --lang go
25- working-directory : examples/go
24+ run : npm run generate-go-example
2625 - name : Check whether all modified files have been committed
2726 run : >-
2827 MODIFIED_FILES="$(git status --short)";
Original file line number Diff line number Diff line change 2121 - name : Install project dependencies
2222 run : npm ci --no-audit --no-fund # https://docs.npmjs.com/cli/v8/commands/npm-ci
2323 - name : Generate JavaScript + Express application
24- run : ../../src/cli.js --lang js
25- working-directory : examples/js
24+ run : npm run generate-js-example
2625 - name : Check whether all modified files have been committed
2726 run : >-
2827 MODIFIED_FILES="$(git status --short)";
Original file line number Diff line number Diff line change 2121 - name : Install project dependencies
2222 run : npm ci --no-audit --no-fund # https://docs.npmjs.com/cli/v8/commands/npm-ci
2323 - name : Generate Python + FastAPI application
24- run : ../../src/cli.js --lang python
25- working-directory : examples/python
24+ run : npm run generate-py-example
2625 - name : Check whether all modified files have been committed
2726 run : >-
2827 MODIFIED_FILES="$(git status --short)";
Original file line number Diff line number Diff line change 2727 ],
2828 "scripts" : {
2929 "start" : " node src/index.js" ,
30- "test" : " echo \" Error: no test specified\" && exit 1"
30+ "test" : " echo \" Error: no test specified\" && exit 1" ,
31+ "gen-js-example" : " cd examples/js; ../../src/cli.js --lang js" ,
32+ "gen-go-example" : " cd examples/go; ../../src/cli.js --lang go" ,
33+ "gen-py-example" : " cd examples/python; ../../src/cli.js --lang python"
3134 },
3235 "dependencies" : {
3336 "ejs" : " ~3.1.9" ,
You can’t perform that action at this time.
0 commit comments