Changeset be25db1 for src/mapservice/codegen/code_generator
- Timestamp:
- Apr 22, 2019, 5:39:46 PM (8 years ago)
- Branches:
- debian/bullseye, master
- Children:
- 041e464
- Parents:
- 5e4cb73
- File:
-
- 1 edited
-
src/mapservice/codegen/code_generator (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
src/mapservice/codegen/code_generator
r5e4cb73 rbe25db1 9 9 fi 10 10 11 echo "Copying static files"12 cp -a ../../src/templates ./13 cp -a ../../src/static ./14 mkdir -p static/css/15 mkdir -p static/js/16 mkdir -p static/resources/17 cp -a ../../../common/css/* static/css/18 cp -a ../../../common/js/* static/js/19 cp -a ../../../common/resources/* static/resources/20 cp -a ../../../../icon/gnuboat-256-256-transparent.png static/resources/11 #echo "Copying static files" 12 #cp -a ../../src/templates ./ 13 #cp -a ../../src/static ./ 14 #mkdir -p static/css/ 15 #mkdir -p static/js/ 16 #mkdir -p static/resources/ 17 #cp -a ../../common/css/* static/css/ 18 #cp -a ../../common/js/* static/js/ 19 #cp -a ../../common/resources/* static/resources/ 20 #cp -a ../../common/icon/gnuboat-256-256-transparent.png static/resources/ 21 21 22 echo "Generating backend and client API code" 22 23 cd ../../ 24 # backend 23 25 codegen/openapi-generator-cli generate -i openapi.yaml -g python-flask -t codegen/templates/ -o src-gen 26 # client 27 #codegen/openapi-generator-cli generate -i openapi.yaml -g javascript -o src-gen/openapi_server/static/ 28 #rm -R src-gen/openapi_server/static/.openapi* 29 24 30 25 31 cd src-gen/ 32 tox > /tmp/openapi_tox.log 26 33 python3 -m openapi_server
Note:
See TracChangeset
for help on using the changeset viewer.
