sh_discord_bot/kdb-bot/cpl-workspace.json

49 lines
1.8 KiB
JSON
Raw Normal View History

2022-07-14 16:32:46 +02:00
{
"WorkspaceSettings": {
"DefaultProject": "bot",
"Projects": {
"bot": "src/bot/bot.json",
2022-11-08 20:28:44 +01:00
"bot-api": "src/bot_api/bot-api.json",
2022-07-14 16:32:46 +02:00
"bot-core": "src/bot_core/bot-core.json",
"bot-data": "src/bot_data/bot-data.json",
2023-01-07 12:39:31 +01:00
"bot-graphql": "src/bot_graphql/bot-graphql.json",
2022-10-04 13:18:55 +02:00
"auto-role": "src/modules/auto_role/auto-role.json",
"base": "src/modules/base/base.json",
2022-07-19 11:58:33 +02:00
"boot-log": "src/modules/boot_log/boot-log.json",
"database": "src/modules/database/database.json",
2022-11-06 22:30:57 +01:00
"level": "src/modules/level/level.json",
2022-10-13 19:57:56 +02:00
"permission": "src/modules/permission/permission.json",
2022-11-14 22:29:43 +01:00
"technician": "src/modules/technician/technician.json",
"checks": "tools/checks/checks.json",
"get-version": "tools/get_version/get-version.json",
2022-10-21 12:45:46 +02:00
"post-build": "tools/post_build/post-build.json",
2022-11-06 22:30:57 +01:00
"set-version": "tools/set_version/set-version.json"
2022-07-14 16:32:46 +02:00
},
"Scripts": {
2023-01-13 23:54:55 +01:00
"format": "black ./",
2022-11-18 09:30:29 +01:00
"sv": "cpl set-version $ARGS",
2022-12-23 16:12:35 +01:00
"set-version": "cpl run set-version $ARGS --dev; echo '';",
2022-11-17 23:02:27 +01:00
"gv": "cpl get-version",
2022-12-23 16:12:35 +01:00
"get-version": "export VERSION=$(cpl run get-version --dev); echo $VERSION;",
2022-11-17 23:02:27 +01:00
2023-01-13 23:54:06 +01:00
"pre-build": "cpl set-version $ARGS; black ./;",
"post-build": "cpl run post-build --dev; black ./;",
2022-11-06 22:30:57 +01:00
2022-10-21 12:45:46 +02:00
"pre-prod": "cpl build",
2022-07-18 12:53:22 +02:00
"prod": "export KDB_ENVIRONMENT=production; export KDB_NAME=KDB-Prod; cpl start;",
2022-11-06 22:30:57 +01:00
2022-10-21 12:45:46 +02:00
"pre-stage": "cpl build",
2022-07-18 12:53:22 +02:00
"stage": "export KDB_ENVIRONMENT=staging; export KDB_NAME=KDB-Stage; cpl start;",
2022-11-06 22:30:57 +01:00
2022-10-21 12:45:46 +02:00
"pre-dev": "cpl build",
2022-10-01 23:12:35 +02:00
"dev": "export KDB_ENVIRONMENT=development; export KDB_NAME=KDB-Dev; cpl start;",
2022-11-06 22:30:57 +01:00
2022-11-18 09:51:06 +01:00
"docker-build": "cpl build $ARGS; docker build -t kdb-bot/kdb-bot:$(cpl gv) .;",
2022-11-18 09:30:29 +01:00
"dc-up": "docker-compose up -d",
"dc-down": "docker-compose down",
"docker": "cpl dc-down; cpl docker-build; cpl dc-up;"
}
2022-07-14 16:32:46 +02:00
}
}