Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lein package fails #2

Open
lenw opened this issue Feb 28, 2017 · 1 comment
Open

lein package fails #2

lenw opened this issue Feb 28, 2017 · 1 comment

Comments

@lenw
Copy link
Contributor

lenw commented Feb 28, 2017

From project.clj

                 :output-to "resources/cognician/datomic-doc/js/main.min.js"
                 :output-dir "target/js/main/cognician/datomic-doc/main"

Looks like :output-dir must be a parent of :output-to

 ✗ lein package
Compiling ClojureScript...
Warning: protocol #'cognician.datomic-doc.datomic/DatabaseReference is overwriting function as-db
Compiling "resources/cognician/datomic-doc/js/main.min.js" from ["src"]...
Compiling "resources/cognician/datomic-doc/js/main.min.js" failed.
Exception in thread "main" java.lang.AssertionError: Assert failed: :output-dir "target/js/main/cognician/datomic-doc/main" must specify a directory in :output-to's parent "/home/len/Projects/datomic-doc/resources/cognician/datomic-doc/js" if optimization setting applied
@robert-stuttaford
Copy link
Contributor

Thanks @lenw, for some reason I only see this Issue now. I'll check it out, and I'll also get this on clojars finally!

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

No branches or pull requests

2 participants