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

Don't commit compiled javascript files
This commit is contained in:
Dmitri Sotnikov 2020-06-27 14:52:59 -04:00 committed by GitHub
commit 8409e5f4b8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 5289 deletions

1
.gitignore vendored
View file

@ -4,3 +4,4 @@ package-lock.json
/.shadow-cljs /.shadow-cljs
/node_modules /node_modules
/target /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. * 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` * run the bot: `npm start`
* to poll at intervals setup a cron job such as: * to poll at intervals setup a cron job such as:
*/30 * * * * npm start /path/to/config.edn > /dev/null 2>&1 */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 ## License
Copyright © 2018 Dmitri Sotnikov Copyright © 2018 Dmitri Sotnikov

File diff suppressed because it is too large Load diff