Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
d-t-w committed Jan 17, 2025
1 parent 3b485e0 commit d648acd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
8 changes: 4 additions & 4 deletions common/test/slipway/example/app.clj
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@
"http://localhost:3443"}}
session-config {:store (ring.session.memory/memory-store)}]
(-> (reitit/ring-handler
(reitit/router (routes (sente/start-server sente-config)))
(reitit/routes
(reitit/create-resource-handler {:path "/"})
(reitit/create-default-handler error-handlers)))
(reitit/router (routes (sente/start-server sente-config)))
(reitit/routes
(reitit/create-resource-handler {:path "/"})
(reitit/create-default-handler error-handlers)))
(wrap-errors)
(ring.forgery/wrap-anti-forgery)
(ring.session/wrap-session session-config)
Expand Down
7 changes: 4 additions & 3 deletions slipway-jetty12/project.clj
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,10 @@
:plugins [[dev.weavejester/lein-cljfmt "0.13.0"]]}
:smoke {:pedantic? :abort}}

:aliases {"check" ["with-profile" "+smoke" "check"]
"kondo" ["with-profile" "+smoke" "run" "-m" "clj-kondo.main" "--lint" "src:test" "--parallel"]
"fmt" ["with-profile" "+smoke" "cljfmt" "check"]}
:aliases {"check" ["with-profile" "+smoke" "check"]
"kondo" ["with-profile" "+smoke" "run" "-m" "clj-kondo.main" "--lint" "src:test" "--parallel"]
"fmt" ["with-profile" "+smoke" "cljfmt" "check"]
"fmtfix" ["with-profile" "+smoke" "cljfmt" "fix"]}

:dependencies [[org.clojure/clojure "1.12.0"]
[org.clojure/tools.logging "1.3.0"]
Expand Down
8 changes: 4 additions & 4 deletions slipway-jetty12/test/slipway/example/app.clj
Original file line number Diff line number Diff line change
Expand Up @@ -110,10 +110,10 @@
"http://localhost:3443"}}
session-config {:store (ring.session.memory/memory-store)}]
(-> (reitit/ring-handler
(reitit/router (routes (sente/start-server sente-config)))
(reitit/routes
(reitit/create-resource-handler {:path "/"})
(reitit/create-default-handler error-handlers)))
(reitit/router (routes (sente/start-server sente-config)))
(reitit/routes
(reitit/create-resource-handler {:path "/"})
(reitit/create-default-handler error-handlers)))
(wrap-errors)
(ring.forgery/wrap-anti-forgery)
(ring.session/wrap-session session-config)
Expand Down

0 comments on commit d648acd

Please sign in to comment.