{
  "WorkspaceSettings": {
    "DefaultProject": "cpl_cli",
    "Projects": {
      "cpl_core": "src/cpl_core/cpl_core.json",
      "cpl_cli": "src/cpl_cli/cpl_cli.json",
      "cpl_query": "src/cpl_query/cpl_query.json",
      "set-version": "tools/set_version/set-version.json"
    },
    "Scripts": {
      "hello-world": "echo 'Hello World'",

      "sv": "cpl set-version",
      "set-version": "echo 'Set versions for all projects'; cpl run set-version; echo '';",

      "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",

      "pre-build-all": "cpl sv",
      "build-all": "cpl build-cli; cpl build-core; cpl build-query;",
      "ba": "cpl build-all",
      "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 ../../;",

      "pre-publish-all": "cpl sv",
      "publish-all": "cpl publish-cli; cpl publish-core; cpl publish-query;",
      "pa": "cpl build-all",
      "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 ../../;",
      "publish-query": "echo 'Publish cpl_query'; cd ./src/cpl_query; cpl publish; cd ../../;",

      "upload-prod-cli": "echo 'PROD Upload cpl_cli'; cpl upl-prod-cli;",
      "upl-prod-cli": "twine upload -r pip.sh-edraft.de dist/cpl-cli/publish/setup/*",
      "upload-prod-core": "echo 'PROD Upload cpl_core'; cpl upl-prod-core;",
      "upl-prod-core": "twine upload -r pip.sh-edraft.de dist/cpl-core/publish/setup/*",
      "upload-prod-query": "echo 'PROD Upload cpl_query'; cpl upl-prod-query;",
      "upl-prod-query": "twine upload -r pip.sh-edraft.de dist/cpl-query/publish/setup/*",
      "upload-exp-cli": "echo 'EXP Upload cpl_cli'; cpl upl-exp-cli;",
      "upl-exp-cli": "twine upload -r pip-exp.sh-edraft.de dist/cpl-cli/publish/setup/*",
      "upload-exp-core": "echo 'EXP Upload cpl_core'; cpl upl-exp-core;",
      "upl-exp-core": "twine upload -r pip-exp.sh-edraft.de dist/cpl-core/publish/setup/*",
      "upload-exp-query": "echo 'EXP Upload cpl_query'; cpl upl-exp-query;",
      "upl-exp-query": "twine upload -r pip-exp.sh-edraft.de dist/cpl-query/publish/setup/*",
      "upload-dev-cli": "echo 'DEV Upload cpl_cli'; cpl upl-dev-cli;",
      "upl-dev-cli": "twine upload -r pip-dev.sh-edraft.de dist/cpl-cli/publish/setup/*",
      "upload-dev-core": "echo 'DEV Upload cpl_core'; cpl upl-dev-core;",
      "upl-dev-core": "twine upload -r pip-dev.sh-edraft.de dist/cpl-core/publish/setup/*",
      "upload-dev-query": "echo 'DEV Upload cpl_query'; cpl upl-dev-query;",
      "upl-dev-query": "twine upload -r pip-dev.sh-edraft.de dist/cpl-query/publish/setup/*",

      "deploy-prod": "cpl deploy-prod-cli; cpl deploy-prod-core; cpl deploy-prod-query;",
      "dp": "cpl deploy-prod",
      "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",

      "deploy-exp": "cpl deploy-exp-cli; cpl deploy-exp-core; cpl deploy-exp-query;",
      "de": "cpl deploy-exp",
      "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",

      "deploy-dev": "cpl deploy-dev-cli; cpl deploy-dev-core; cpl deploy-dev-query;",
      "dd": "cpl deploy-dev",
      "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"
    }
  }
}