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

Upgrading to clojurescript 0.0-2120 throws Assertion Error #6

Closed
vijaykiran opened this issue Dec 19, 2013 · 2 comments
Closed

Upgrading to clojurescript 0.0-2120 throws Assertion Error #6

vijaykiran opened this issue Dec 19, 2013 · 2 comments

Comments

@vijaykiran
Copy link

boot.edn:

{:dependencies [[tailrecursion/boot.core "1.1.0"]
                [tailrecursion/boot.task "1.0.0"]
                [tailrecursion/hoplon    "4.0.7"]
                [org.clojure/clojurescript "0.0-2120"]]
 :require-tasks #{[tailrecursion.boot.task   :refer :all]
                  [tailrecursion.hoplon.boot :refer :all]}
 :public "resources/public"
 :src-paths #{"src"}}

Exception when running boot hoplon

Compiling ClojureScript...
java.lang.AssertionError: Assert failed: :output-dir #<File .boot/tmp/35185/_COLON_tailrecursion.boot.task_SLASH_output_dir/dir.tmp> must specify a directory
(string? output-dir)
    at cljs.closure$check_output_dir.invoke(closure.clj:1051)
    at cljs.closure$build.invoke(closure.clj:1109)
    at cljs.closure$build.invoke(closure.clj:1094)
    at tailrecursion.boot.task.util.cljs$compile_cljs.invoke(cljs.clj:51)
    at clojure.lang.AFn.applyToHelper(AFn.java:193)
    at clojure.lang.AFn.applyTo(AFn.java:151)
    at clojure.core$apply.invoke(core.clj:617)
    at tailrecursion.boot.task$pass_thru_wrap$fn__7344$fn__7345.invoke(task.clj:45)
    at tailrecursion.hoplon.boot$hoplon$fn__9212$fn__9213.invoke(boot.clj:104)
    at tailrecursion.boot$_main.doInvoke(boot.clj:83)
    at clojure.lang.RestFn.invoke(RestFn.java:408)
    at clojure.lang.Var.invoke(Var.java:415)
    at clojure.lang.AFn.applyToHelper(AFn.java:161)
    at clojure.lang.Var.applyTo(Var.java:532)
    at clojure.core$apply.invoke(core.clj:617)
    at tailrecursion.boot.loader$_main$fn__375.invoke(loader.clj:67)
    at tailrecursion.boot.loader$_main.doInvoke(loader.clj:67)
    at clojure.lang.RestFn.applyTo(RestFn.java:137)
    at tailrecursion.boot.loader.main(Unknown Source)

Looks like this should be fixed in boot.task (?) - there the :output-dir is set to a dir instead of a string.

@micha
Copy link
Contributor

micha commented Dec 20, 2013

Thanks! I have been meaning to work on this. Stay tuned!

@micha
Copy link
Contributor

micha commented Dec 24, 2013

Haven't forgotten about this issue. Will fix soon.

micha added a commit to tailrecursion/boot.task that referenced this issue Dec 25, 2013
@micha micha closed this as completed Dec 25, 2013
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