Merge pull request #50 from raboof/dont-commit-compiled-js

Don't commit compiled javascript files
master
Dmitri Sotnikov 4 years ago committed by GitHub
commit 8409e5f4b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
.gitignore vendored

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

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