sh_discord_bot/kdb-bot/cpl-workspace.json

38 lines
1.5 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",
"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",
2022-10-21 12:45:46 +02:00
"post-build": "tools/post_build/post-build.json",
"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 '';",
"pre-build": "cpl set-version $ARGS",
2022-10-20 15:46:08 +02:00
"post-build": "cpl run post-build",
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-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-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-10-20 17:50:50 +02:00
"build-docker": "cpl b; docker-compose down; docker build -t kdb:kdb .",
2022-10-01 23:12:35 +02:00
"compose": "docker-compose up -d",
"docker": "cpl build-docker; cpl compose;"
}
2022-07-14 16:32:46 +02:00
}
}