Don't commit compiled javascript files

Those just go out of sync and/or cause unnecessary conflicts.
This commit is contained in:
Arnout Engelen 2020-06-27 19:51:48 +02:00
parent f00b84c75a
commit 1e8a02d153
No known key found for this signature in database
GPG key ID: 061107B0F74A6DAA
3 changed files with 3 additions and 5289 deletions

1
.gitignore vendored
View file

@ -4,3 +4,4 @@ package-lock.json
/.shadow-cljs
/node_modules
/target
/mastodon-bot.js

View file

@ -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

File diff suppressed because it is too large Load diff