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",
|
2022-07-16 23:23:07 +02:00
|
|
|
"bot-data": "src/bot_data/bot-data.json",
|
2022-10-04 13:18:55 +02:00
|
|
|
"auto-role": "src/modules/auto_role/auto-role.json",
|
2022-07-16 23:23:07 +02:00
|
|
|
"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-08 20:28:44 +01:00
|
|
|
"stats": "src/modules/stats/stats.json",
|
2022-10-21 19:25:17 +02:00
|
|
|
"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
|
|
|
},
|
2022-07-16 23:23:07 +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
|
|
|
|
2022-10-21 19:25:17 +02: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
|
|
|
|
2022-10-21 19:25:17 +02: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-16 23:23:07 +02:00
|
|
|
}
|
2022-07-14 16:32:46 +02:00
|
|
|
}
|
|
|
|
}
|