sh_discord_bot/kdb-bot/cpl-workspace.json

45 lines
1.7 KiB
JSON
Raw Normal View History

2022-07-14 16:32:46 +02:00
{
"WorkspaceSettings": {
"DefaultProject": "bot",
"Projects": {
"bot": "src/bot/bot.json",
"bot-core": "src/bot_core/bot-core.json",
"bot-data": "src/bot_data/bot-data.json",
2022-07-19 11:58:33 +02:00
"admin": "src/modules/admin/admin.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-07-19 11:58:33 +02:00
"moderator": "src/modules/moderator/moderator.json",
2022-10-13 19:57:56 +02:00
"permission": "src/modules/permission/permission.json",
2022-10-20 15:46:08 +02:00
"bot-api": "src/bot_api/bot-api.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": {
2022-10-21 12:45:46 +02:00
"sv": "cpl set-version",
"set-version": "cpl run set-version $ARGS; echo '';",
2022-11-06 22:30:57 +01:00
"gv": "cpl get-version",
"get-version": "export VERSION=$(cpl run get-version); echo $VERSION;",
2022-11-06 22:30:57 +01:00
2022-10-21 12:45:46 +02:00
"pre-build": "cpl set-version $ARGS",
2022-10-20 15:46:08 +02:00
"post-build": "cpl run post-build",
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
"docker-build": "cpl b; docker-compose down; docker build -t kdb-bot/kdb-bot:$(cpl gv) .",
"docker-compose": "docker-compose up -d",
"docker": "cpl docker-build; cpl docker-compose;"
}
2022-07-14 16:32:46 +02:00
}
}