Don't commit compiled javascript files
Those just go out of sync and/or cause unnecessary conflicts.
This commit is contained in:
parent
f00b84c75a
commit
1e8a02d153
3 changed files with 3 additions and 5289 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -4,3 +4,4 @@ package-lock.json
|
|||
/.shadow-cljs
|
||||
/node_modules
|
||||
/target
|
||||
/mastodon-bot.js
|
||||
|
|
10
README.md
10
README.md
|
@ -97,19 +97,13 @@ with later timestamps to avoid duplicate posts. On the first run the timestamp w
|
|||
|
||||
* transformations have source `(s/def ::source-type #{:twitter :rss :tumblr})` und target `(s/def ::target-type #{:mastodon})` you can combine freely. Multiple transformations for same source-target combination are possible. Source and targets refer to the auth section for their credentials.
|
||||
|
||||
* compile: `npx shadow-cljs release app`
|
||||
|
||||
* run the bot: `npm start`
|
||||
* to poll at intervals setup a cron job such as:
|
||||
|
||||
*/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
|
||||
|
|
5281
mastodon-bot.js
5281
mastodon-bot.js
File diff suppressed because it is too large
Load diff
Reference in a new issue