File tree Expand file tree Collapse file tree 2 files changed +9
-6
lines changed
Expand file tree Collapse file tree 2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,18 @@ Populate environment variables:
2222 - [ Sentry] :
2323 - ` SENTRY_DSN ` (Optional): Data Source Name of Sentry project. If unset, error reporting is not enabled.
2424
25- Build the bot:
25+ ` yarn install ` will build the bot automatically.
26+
27+ Start the bot:
2628
2729``` bash
28- yarn build
30+ yarn start
2931```
3032
31- Start the bot:
33+ To rebuild the bot:
3234
3335``` bash
34- yarn start
36+ yarn prepare
3537```
3638
3739[ Matrix Client-Server API ] : https://spec.matrix.org/v1.4/client-server-api/
Original file line number Diff line number Diff line change 4040 "typescript" : " ^4.8.3"
4141 },
4242 "scripts" : {
43- "prebuild" : " rm -rf ./dist" ,
44- "build" : " ./node_modules/.bin/ttsc" ,
43+ "build" : " echo -e '\\ 033[0;31m`yarn build` is deprecated; use `yarn prepare` instead\\ 033[0m' >&2 && yarn prepare" ,
44+ "preprepare" : " rm -rf ./dist" ,
45+ "prepare" : " ./node_modules/.bin/ttsc" ,
4546 "start" : " node ./dist/src/main.js"
4647 },
4748 "prettier" : {
You can’t perform that action at this time.
0 commit comments