Sven Heidemann
468ebb5f79
# Conflicts: # kdb-bot/src/bot/__init__.py # kdb-bot/src/bot/bot.json # kdb-bot/src/bot/config # kdb-bot/src/bot/extension/__init__.py # kdb-bot/src/bot_api/__init__.py # kdb-bot/src/bot_api/abc/__init__.py # kdb-bot/src/bot_api/bot-api.json # kdb-bot/src/bot_api/configuration/__init__.py # kdb-bot/src/bot_api/controller/__init__.py # kdb-bot/src/bot_api/event/__init__.py # kdb-bot/src/bot_api/exception/__init__.py # kdb-bot/src/bot_api/filter/__init__.py # kdb-bot/src/bot_api/filter/discord/__init__.py # kdb-bot/src/bot_api/logging/__init__.py # kdb-bot/src/bot_api/model/__init__.py # kdb-bot/src/bot_api/model/discord/__init__.py # kdb-bot/src/bot_api/route/__init__.py # kdb-bot/src/bot_api/service/__init__.py # kdb-bot/src/bot_api/transformer/__init__.py # kdb-bot/src/bot_core/__init__.py # kdb-bot/src/bot_core/abc/__init__.py # kdb-bot/src/bot_core/bot-core.json # kdb-bot/src/bot_core/configuration/__init__.py # kdb-bot/src/bot_core/core_extension/__init__.py # kdb-bot/src/bot_core/events/__init__.py # kdb-bot/src/bot_core/exception/__init__.py # kdb-bot/src/bot_core/helper/__init__.py # kdb-bot/src/bot_core/logging/__init__.py # kdb-bot/src/bot_core/pipes/__init__.py # kdb-bot/src/bot_core/service/__init__.py # kdb-bot/src/bot_data/__init__.py # kdb-bot/src/bot_data/abc/__init__.py # kdb-bot/src/bot_data/bot-data.json # kdb-bot/src/bot_data/migration/__init__.py # kdb-bot/src/bot_data/model/__init__.py # kdb-bot/src/bot_data/service/__init__.py # kdb-bot/src/bot_graphql/__init__.py # kdb-bot/src/bot_graphql/abc/__init__.py # kdb-bot/src/bot_graphql/filter/__init__.py # kdb-bot/src/bot_graphql/mutations/__init__.py # kdb-bot/src/modules/auto_role/__init__.py # kdb-bot/src/modules/auto_role/auto-role.json # kdb-bot/src/modules/auto_role/command/__init__.py # kdb-bot/src/modules/auto_role/events/__init__.py # kdb-bot/src/modules/auto_role/helper/__init__.py # kdb-bot/src/modules/base/__init__.py # kdb-bot/src/modules/base/abc/__init__.py # kdb-bot/src/modules/base/base.json # kdb-bot/src/modules/base/command/__init__.py # kdb-bot/src/modules/base/configuration/__init__.py # kdb-bot/src/modules/base/events/__init__.py # kdb-bot/src/modules/base/events/base_on_voice_state_update_event.py # kdb-bot/src/modules/base/helper/__init__.py # kdb-bot/src/modules/base/model/__init__.py # kdb-bot/src/modules/base/service/__init__.py # kdb-bot/src/modules/base/thread/__init__.py # kdb-bot/src/modules/boot_log/__init__.py # kdb-bot/src/modules/boot_log/boot-log.json # kdb-bot/src/modules/boot_log/configuration/__init__.py # kdb-bot/src/modules/database/__init__.py # kdb-bot/src/modules/database/database.json # kdb-bot/src/modules/level/__init__.py # kdb-bot/src/modules/level/command/__init__.py # kdb-bot/src/modules/level/configuration/__init__.py # kdb-bot/src/modules/level/events/__init__.py # kdb-bot/src/modules/level/level.json # kdb-bot/src/modules/level/service/__init__.py # kdb-bot/src/modules/permission/__init__.py # kdb-bot/src/modules/permission/abc/__init__.py # kdb-bot/src/modules/permission/configuration/__init__.py # kdb-bot/src/modules/permission/events/__init__.py # kdb-bot/src/modules/permission/permission.json # kdb-bot/src/modules/permission/service/__init__.py # kdb-bot/src/modules/stats/service/__init__.py # kdb-bot/src/modules/stats/stats.json # kdb-bot/src/modules/technician/__init__.py # kdb-bot/src/modules/technician/command/__init__.py # kdb-bot/src/modules/technician/technician.json # kdb-bot/tools/get_version/get-version.json # kdb-bot/tools/post_build/post-build.json # kdb-bot/tools/set_version/set-version.json
49 lines
1.8 KiB
JSON
49 lines
1.8 KiB
JSON
{
|
|
"WorkspaceSettings": {
|
|
"DefaultProject": "bot",
|
|
"Projects": {
|
|
"bot": "src/bot/bot.json",
|
|
"bot-api": "src/bot_api/bot-api.json",
|
|
"bot-core": "src/bot_core/bot-core.json",
|
|
"bot-data": "src/bot_data/bot-data.json",
|
|
"bot-graphql": "src/bot_graphql/bot-graphql.json",
|
|
"auto-role": "src/modules/auto_role/auto-role.json",
|
|
"base": "src/modules/base/base.json",
|
|
"boot-log": "src/modules/boot_log/boot-log.json",
|
|
"database": "src/modules/database/database.json",
|
|
"level": "src/modules/level/level.json",
|
|
"permission": "src/modules/permission/permission.json",
|
|
"technician": "src/modules/technician/technician.json",
|
|
"checks": "tools/checks/checks.json",
|
|
"get-version": "tools/get_version/get-version.json",
|
|
"post-build": "tools/post_build/post-build.json",
|
|
"set-version": "tools/set_version/set-version.json"
|
|
},
|
|
"Scripts": {
|
|
"format": "black ./",
|
|
|
|
"sv": "cpl set-version $ARGS",
|
|
"set-version": "cpl run set-version $ARGS --dev; echo '';",
|
|
|
|
"gv": "cpl get-version",
|
|
"get-version": "export VERSION=$(cpl run get-version --dev); echo $VERSION;",
|
|
|
|
"pre-build": "cpl set-version $ARGS; black ./;",
|
|
"post-build": "cpl run post-build --dev; black ./;",
|
|
|
|
"pre-prod": "cpl build",
|
|
"prod": "export KDB_ENVIRONMENT=production; export KDB_NAME=KDB-Prod; cpl start;",
|
|
|
|
"pre-stage": "cpl build",
|
|
"stage": "export KDB_ENVIRONMENT=staging; export KDB_NAME=KDB-Stage; cpl start;",
|
|
|
|
"pre-dev": "cpl build",
|
|
"dev": "export KDB_ENVIRONMENT=development; export KDB_NAME=KDB-Dev; cpl start;",
|
|
|
|
"docker-build": "cpl build $ARGS; docker build -t kdb-bot/kdb-bot:$(cpl gv) .;",
|
|
"dc-up": "docker-compose up -d",
|
|
"dc-down": "docker-compose down",
|
|
"docker": "cpl dc-down; cpl docker-build; cpl dc-up;"
|
|
}
|
|
}
|
|
} |