2021-04-07 18:19:34 +02:00
|
|
|
{
|
2021-04-10 11:46:36 +02:00
|
|
|
"WorkspaceSettings": {
|
2022-05-25 19:07:29 +02:00
|
|
|
"DefaultProject": "cpl-cli",
|
2021-04-07 18:19:34 +02:00
|
|
|
"Projects": {
|
2022-05-25 19:07:29 +02:00
|
|
|
"cpl-core": "src/cpl_core/cpl-core.json",
|
|
|
|
"cpl-cli": "src/cpl_cli/cpl-cli.json",
|
|
|
|
"cpl-query": "src/cpl_query/cpl-query.json",
|
2022-05-25 19:30:11 +02:00
|
|
|
"set-version": "tools/set_version/set-version.json",
|
2022-05-25 19:38:38 +02:00
|
|
|
"set-pip-urls": "tools/set_pip_urls/set-pip-urls.json"
|
2021-07-25 19:18:06 +02:00
|
|
|
},
|
2021-11-01 18:49:22 +01:00
|
|
|
"Scripts": {
|
2022-05-19 20:49:48 +02:00
|
|
|
"hello-world": "echo 'Hello World'",
|
2022-05-25 14:14:26 +02:00
|
|
|
|
|
|
|
"sv": "cpl set-version",
|
2022-05-25 16:51:52 +02:00
|
|
|
"set-version": "cpl run set-version $ARGS; echo '';",
|
2022-05-25 14:14:26 +02:00
|
|
|
|
2022-05-25 19:38:38 +02:00
|
|
|
"spu": "cpl set-pip-urls",
|
|
|
|
"set-pip-urls": "cpl run set-pip-urls $ARGS; echo '';",
|
|
|
|
|
2022-05-19 20:49:48 +02:00
|
|
|
"docs-build": "echo 'Build Documentation'; cd docs/; sphinx-apidoc -o source/ ../src/cpl_core; sphinx-apidoc -o source/ ../src/cpl_query; make clean; make html; rm source/cpl_query.tests.rst;",
|
|
|
|
"db": "cpl build-docs",
|
|
|
|
"docs-open": "xdg-open $PWD/docs/build/html/index.html &",
|
|
|
|
"do": "cpl docs-open",
|
2022-05-25 14:14:26 +02:00
|
|
|
|
2022-05-25 19:38:38 +02:00
|
|
|
"pre-build-all": "cpl sv $ARGS; cpl spu;",
|
|
|
|
"build-all": "cpl build-cli; cpl build-core; cpl build-query; cpl build-set-pip-urls; cpl build-set-version",
|
2022-05-25 16:51:52 +02:00
|
|
|
"ba": "cpl build-all $ARGS",
|
2022-05-25 19:07:29 +02:00
|
|
|
"build-cli": "echo 'Build cpl-cli'; cd ./src/cpl_cli; cpl build; cd ../../;",
|
|
|
|
"build-core": "echo 'Build cpl-core'; cd ./src/cpl_core; cpl build; cd ../../;",
|
|
|
|
"build-query": "echo 'Build cpl-query'; cd ./src/cpl_query; cpl build; cd ../../;",
|
2022-05-25 19:38:38 +02:00
|
|
|
"build-set-pip-urls": "echo 'Build set-pip-urls'; cd ./tools/set_pip_urls; cpl build; cd ../../;",
|
2022-05-25 19:07:29 +02:00
|
|
|
"build-set-version": "echo 'Build set-version'; cd ./tools/set_version; cpl build; cd ../../;",
|
2022-05-25 14:14:26 +02:00
|
|
|
|
2022-05-25 16:51:52 +02:00
|
|
|
"pre-publish-all": "cpl sv $ARGS",
|
2022-05-19 20:49:48 +02:00
|
|
|
"publish-all": "cpl publish-cli; cpl publish-core; cpl publish-query;",
|
2022-05-25 16:51:52 +02:00
|
|
|
"pa": "cpl build-all $ARGS",
|
2022-05-25 19:07:29 +02:00
|
|
|
"publish-cli": "echo 'Publish cpl-cli'; cd ./src/cpl_cli; cpl publish; cd ../../;",
|
|
|
|
"publish-core": "echo 'Publish cpl-core'; cd ./src/cpl_core; cpl publish; cd ../../;",
|
2022-05-19 20:49:48 +02:00
|
|
|
"publish-query": "echo 'Publish cpl_query'; cd ./src/cpl_query; cpl publish; cd ../../;",
|
2022-05-25 14:14:26 +02:00
|
|
|
|
2022-05-25 19:07:29 +02:00
|
|
|
"upload-prod-cli": "echo 'PROD Upload cpl-cli'; cpl upl-prod-cli;",
|
2022-05-19 20:49:48 +02:00
|
|
|
"upl-prod-cli": "twine upload -r pip.sh-edraft.de dist/cpl-cli/publish/setup/*",
|
2022-05-25 19:07:29 +02:00
|
|
|
"upload-prod-core": "echo 'PROD Upload cpl-core'; cpl upl-prod-core;",
|
2022-05-19 20:49:48 +02:00
|
|
|
"upl-prod-core": "twine upload -r pip.sh-edraft.de dist/cpl-core/publish/setup/*",
|
2022-05-25 14:14:26 +02:00
|
|
|
"upload-prod-query": "echo 'PROD Upload cpl_query'; cpl upl-prod-query;",
|
2022-05-19 20:49:48 +02:00
|
|
|
"upl-prod-query": "twine upload -r pip.sh-edraft.de dist/cpl-query/publish/setup/*",
|
2022-05-25 19:07:29 +02:00
|
|
|
"upload-exp-cli": "echo 'EXP Upload cpl-cli'; cpl upl-exp-cli;",
|
2022-05-19 20:49:48 +02:00
|
|
|
"upl-exp-cli": "twine upload -r pip-exp.sh-edraft.de dist/cpl-cli/publish/setup/*",
|
2022-05-25 19:07:29 +02:00
|
|
|
"upload-exp-core": "echo 'EXP Upload cpl-core'; cpl upl-exp-core;",
|
2022-05-19 20:49:48 +02:00
|
|
|
"upl-exp-core": "twine upload -r pip-exp.sh-edraft.de dist/cpl-core/publish/setup/*",
|
2022-05-25 14:14:26 +02:00
|
|
|
"upload-exp-query": "echo 'EXP Upload cpl_query'; cpl upl-exp-query;",
|
2022-05-19 20:49:48 +02:00
|
|
|
"upl-exp-query": "twine upload -r pip-exp.sh-edraft.de dist/cpl-query/publish/setup/*",
|
2022-05-25 19:07:29 +02:00
|
|
|
"upload-dev-cli": "echo 'DEV Upload cpl-cli'; cpl upl-dev-cli;",
|
2022-05-19 20:49:48 +02:00
|
|
|
"upl-dev-cli": "twine upload -r pip-dev.sh-edraft.de dist/cpl-cli/publish/setup/*",
|
2022-05-25 19:07:29 +02:00
|
|
|
"upload-dev-core": "echo 'DEV Upload cpl-core'; cpl upl-dev-core;",
|
2022-05-19 20:49:48 +02:00
|
|
|
"upl-dev-core": "twine upload -r pip-dev.sh-edraft.de dist/cpl-core/publish/setup/*",
|
2022-05-25 14:14:26 +02:00
|
|
|
"upload-dev-query": "echo 'DEV Upload cpl_query'; cpl upl-dev-query;",
|
2022-05-19 20:49:48 +02:00
|
|
|
"upl-dev-query": "twine upload -r pip-dev.sh-edraft.de dist/cpl-query/publish/setup/*",
|
2022-05-25 14:14:26 +02:00
|
|
|
|
2022-05-25 16:57:21 +02:00
|
|
|
"pre-deploy-prod": "cpl sv $ARGS",
|
2022-05-19 20:49:48 +02:00
|
|
|
"deploy-prod": "cpl deploy-prod-cli; cpl deploy-prod-core; cpl deploy-prod-query;",
|
2022-05-25 16:57:21 +02:00
|
|
|
"dp": "cpl deploy-prod $ARGS",
|
2022-05-19 20:49:48 +02:00
|
|
|
"deploy-prod-cli": "cpl publish-cli; cpl upload-prod-cli",
|
|
|
|
"deploy-prod-core": "cpl publish-core; cpl upload-prod-core",
|
|
|
|
"deploy-prod-query": "cpl publish-query; cpl upload-prod-query",
|
2022-05-25 14:14:26 +02:00
|
|
|
|
2022-05-25 16:57:21 +02:00
|
|
|
"pre-deploy-exp": "cpl sv $ARGS",
|
2022-05-19 20:49:48 +02:00
|
|
|
"deploy-exp": "cpl deploy-exp-cli; cpl deploy-exp-core; cpl deploy-exp-query;",
|
2022-05-25 16:57:21 +02:00
|
|
|
"de": "cpl deploy-exp $ARGS",
|
2022-05-19 20:49:48 +02:00
|
|
|
"deploy-exp-cli": "cpl publish-cli; cpl upload-exp-cli",
|
|
|
|
"deploy-exp-core": "cpl publish-core; cpl upload-exp-core",
|
|
|
|
"deploy-exp-query": "cpl publish-query; cpl upload-exp-query",
|
2022-05-25 14:14:26 +02:00
|
|
|
|
2022-05-25 16:56:24 +02:00
|
|
|
"pre-deploy-dev": "cpl sv $ARGS",
|
2022-05-19 20:49:48 +02:00
|
|
|
"deploy-dev": "cpl deploy-dev-cli; cpl deploy-dev-core; cpl deploy-dev-query;",
|
2022-05-25 16:56:24 +02:00
|
|
|
"dd": "cpl deploy-dev $ARGS",
|
2022-05-19 20:49:48 +02:00
|
|
|
"deploy-dev-cli": "cpl publish-cli; cpl upload-dev-cli",
|
|
|
|
"deploy-dev-core": "cpl publish-core; cpl upload-dev-core",
|
|
|
|
"deploy-dev-query": "cpl publish-query; cpl upload-dev-query"
|
2021-11-01 18:49:22 +01:00
|
|
|
}
|
2021-04-07 18:19:34 +02:00
|
|
|
}
|
|
|
|
}
|