Skip to content

Commit

Permalink
[fix] [#359] Community appenders not included in jar
Browse files Browse the repository at this point in the history
  • Loading branch information
ptaoussanis committed Oct 29, 2022
1 parent 2aa575d commit df3ea50
Show file tree
Hide file tree
Showing 26 changed files with 19 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ See also `car-appender/query-entries`.

### Community appenders

A number of community appenders are included out-the-box [here](https://github.com/ptaoussanis/timbre/tree/master/community/src). These include appenders for Android, Logstash, Slack, Sentry, NodeJS, Syslog, PostgreSQL, etc.
A number of community appenders are included out-the-box [here](https://github.com/ptaoussanis/timbre/tree/master/src/taoensso/timbre/appenders/community). These include appenders for Android, Logstash, Slack, Sentry, NodeJS, Syslog, PostgreSQL, etc.

Thanks goes to the respective authors!
**Please see the relevant namespace docstring for details**.
Expand Down
5 changes: 5 additions & 0 deletions extra/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
This dir contains community code that requires a specific platform and/or environment.

The code **should not** be included in the default Leiningen profile since it would cause problems for most users when running tests, generating docs, etc.

The code **should** be included when generating final jar build for deployment to Clojars, etc.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions extra/test/taoensso/timbre/appenders/community/empty
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
empty
14 changes: 9 additions & 5 deletions project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,10 @@
:c1.9 {:dependencies [[org.clojure/clojure "1.9.0"]]}

:depr {:jvm-opts ["-Dtaoensso.elide-deprecated=true"]}
:dev [:c1.11 :test :server-jvm #_:depr #_:community] ; TODO :depr
:dev [:c1.11 :test :server-jvm #_:depr :community #_:extra] ; TODO :depr

:community
{:source-paths [ "src" "community/src"]
:test-paths ["test" "src" "community/test" "community/src"]
:dependencies
{:dependencies
[[irclj "0.5.0-alpha4"]
[org.graylog2/gelfclient "1.5.1"
:exclusions [com.fasterxml.jackson.core/jackson-core]]
Expand All @@ -55,6 +53,10 @@
[cljs-node-io "1.1.2"] ; Node spit appender
]}

:extra
{:source-paths [ "src" "extra/src"]
:test-paths ["test" #_"src" "extra/test" #_"extra/src"]}

:test
{:dependencies
[[org.clojure/test.check "1.1.1"]
Expand Down Expand Up @@ -84,7 +86,9 @@

:aliases
{"start-dev" ["with-profile" "+dev" "repl" ":headless"]
"deploy-lib" ["do" ["build-once"] ["deploy" "clojars"] ["install"]]
;; "deploy-lib" ["do" ["build-once"] ["deploy" "clojars"] ["install"]]
"deploy-lib" ["with-profile" "+extra"
"do" ["build-once"] ["deploy" "clojars"] ["install"]]
"build-once" ["do" ["clean"] "cljsbuild" "once"]

"test-cljs" ["with-profile" "+test" "cljsbuild" "test"]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/taoensso/timbre/appenders/community/new_relic._clj
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
1 change: 1 addition & 0 deletions src/taoensso/timbre/appenders/community/zmq._clj

0 comments on commit df3ea50

Please sign in to comment.