Skip to content

Conversation

@kitallis
Copy link
Contributor

@kitallis kitallis commented Jan 28, 2021

As per the conversation in #46 (comment).

  • clj -M:test:runner for running tests
  • clj -M:test:cljs-runner for running tests against ClojureScript
  • clj -X:jar :jar honeysql-postgres.jar for building a thin library jar

@@ -1,6 +1,6 @@
(ns honeysql-postgres.helpers
(:refer-clojure :exclude [partition-by])
(:require [honeysql-postgres.format :refer :all]
Copy link
Contributor Author

@kitallis kitallis Jan 29, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We need to do this because:

  • clj-kondo does not like :refer :all
  • ClojureScript does not support :refer :all, but we do test against it (as we should)

@kitallis kitallis requested a review from scimetfoo January 29, 2021 05:10
"-d" "test"]}
:cljs-runner {:extra-deps {olical/cljs-test-runner {:mvn/version "3.8.0"}}
:main-opts ["-m" "cljs-test-runner.main"]}
:jar {:replace-deps {seancorfield/depstar {:mvn/version "2.0.165"}}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the rationale for having both a :depstar alias and a :jar alias? Wouldn't the :depstar alias alone suffice for creating both uberjars and jars?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed the depstar alias. I'm thinking, since this is a library, we shouldn't really need to build an uberjar. Thin jar should suffice.

@kitallis kitallis marked this pull request as ready for review January 29, 2021 11:25
@scimetfoo scimetfoo merged commit 9cb4c4a into master Jan 29, 2021
@scimetfoo scimetfoo deleted the remove-lein branch January 29, 2021 11:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants