swannodette / mies

Minimal ClojureScript project template
Eclipse Public License 1.0
369 stars 49 forks source link

cljsbuild is not a task? #19

Closed jdeisenberg closed 9 years ago

jdeisenberg commented 9 years ago

I did a local install by cloning the repository and then doing lein install followed by this:

[david@localhost ~]$ mkdir mtest
[david@localhost ~]$ cd mtest
[david@localhost mtest]$ lein new mies m060
[david@localhost mtest]$ cd m060
[david@localhost m060]$ lein cljsbuild auto
'cljsbuild' is not a task. See 'lein help'.
jdeisenberg commented 9 years ago

Note: I'm using lein cljsbuild auto as per the README.md. This may not be an issue any more given https://github.com/clojure/clojurescript/wiki/Reporting-Issues

swannodette commented 9 years ago

@jdeisenberg yes the intention is to remove cljsbuild from mies entirely.

alancwoo commented 9 years ago

@swannodette I hate to bump an old issue and refer to an old post, but I was trying to follow your 'clojurescript 101' article and received the same error above on lein cljsbuild auto async-tut1. What would be the correct way to run this tutorial now? Apologies if this isn't the ideal venue for this question.

bensu commented 9 years ago

@alancwoo I think you are looking for ./scripts/watch. This will trigger the Clojure code under scripts/watch.clj that starts the compiler in auto watch mode.

For context, read the Quick Start.

alancwoo commented 9 years ago

@bensu Thanks for the info, unfortunately now I'm getting Exception in thread "main" java.io.FileNotFoundException: Could not locate cljs/build/api__init.class or cljs/build/api.clj on classpath: