File tree 2 files changed +9
-6
lines changed
2 files changed +9
-6
lines changed Original file line number Diff line number Diff line change @@ -22,16 +22,18 @@ Populate environment variables:
22
22
- [ Sentry] :
23
23
- ` SENTRY_DSN ` (Optional): Data Source Name of Sentry project. If unset, error reporting is not enabled.
24
24
25
- Build the bot:
25
+ ` yarn install ` will build the bot automatically.
26
+
27
+ Start the bot:
26
28
27
29
``` bash
28
- yarn build
30
+ yarn start
29
31
```
30
32
31
- Start the bot:
33
+ To rebuild the bot:
32
34
33
35
``` bash
34
- yarn start
36
+ yarn prepare
35
37
```
36
38
37
39
[ Matrix Client-Server API ] : https://spec.matrix.org/v1.4/client-server-api/
Original file line number Diff line number Diff line change 40
40
"typescript" : " ^4.8.3"
41
41
},
42
42
"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" ,
45
46
"start" : " node ./dist/src/main.js"
46
47
},
47
48
"prettier" : {
You can’t perform that action at this time.
0 commit comments