updated docs

master
dmitri.sotnikov@gmail.com 4 years ago
parent 820cd2be82
commit 86a0dd4c9f

@ -91,6 +91,14 @@ with later timestamps to avoid duplicate posts. On the first run the timestamp w
*/30 * * * * npm start /path/to/config.edn > /dev/null 2>&1
### compiling to Js
Alternatively, the bot can be compiled directly to JavaScript using the following command:
```
npx shadow-cljs release app
```
## License
Copyright © 2018 Dmitri Sotnikov

@ -1,5 +1,6 @@
{:source-paths ["mastodon_bot"]
:dependencies []
:builds {:app {:target :node-script
:builds {:app {:target :node-script
:output-to "target/mastodon-bot.js"
:main mastodon-bot.core/main}}}
:main mastodon-bot.core/main
:compiler-options {:optimizations :simple}}}}