46 lines
1.8 KiB
JSON
46 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",
|
|
"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",
|
|
"stats": "src/modules/stats/stats.json",
|
|
"technician": "src/modules/technician/technician.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": {
|
|
"sv": "cpl set-version $ARGS",
|
|
"set-version": "cpl run set-version $ARGS; echo '';",
|
|
|
|
"gv": "cpl get-version",
|
|
"get-version": "export VERSION=$(cpl run get-version); echo $VERSION;",
|
|
|
|
"pre-build": "cpl set-version $ARGS",
|
|
"post-build": "cpl run post-build",
|
|
|
|
"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; cd docker; docker build -t kdb-bot/kdb-bot:$(cd ../; cpl gv; cd docker;) .; cd ..;",
|
|
"dc-up": "docker-compose up -d",
|
|
"dc-down": "docker-compose down",
|
|
"docker": "cpl dc-down; cpl docker-build; cpl dc-up;"
|
|
}
|
|
}
|
|
} |