checkouts
directories now are taken into account when
triggering builds under cljsbuild auto
.cljc
file type.cljsbuild clean
subtask.:optimizations
setting beyond
the ClojureScript compiler's own defaults (net effect currently:
:optimizations :none
, unless specified otherwise in your configs):warning-handlers
option so that compiler warnings/errors/messages can
be displayed or potentially fail the build (gh-370, gh-367)data_readers.clj
(gh-360)1.0.4
)cljsbuild auto
, yielding significant workflow responsiveness improvements
(gh-349, gh-348, gh-345)cljsbuild clean
subtask is now a no-op. You should use lein clean
to
remove prior compilation results, and ensure that your output configurations
direct those results into a Leiningen :clean-target
(which includes
./target
by default) (gh-297)0.0-2197
is now the default release added to projects that do
not specify a ClojureScript dependency explicitly, and is also the new minimum
required version of ClojureScript.0.0-2014
- 0.0-2173
.:local-repo
project.clj
configuration (if one exists) is now passed on
to subprocesses spawned by lein-cljsbuild (gh-291)0.0-2156
is now the default release added to projects that do
not specify a ClojureScript dependency explicitly.cljsbuild auto
will pick up any source
file modifications made during the compile (gh-277):jvm-opts
defined in project.clj
is now used in all lein-cljsbuild tasks
(gh-271)project.clj
is now
preserved for the duration of all lein-cljsbuild tasks (gh-268)No changes since 1.0.0-alpha2
.
0.0-2014
is now the default release added to projects that do
not specify a ClojureScript dependency explicitly. Further, this version of
ClojureScript is now a minimum requirement; if upgrading to 0.0-2014
is
not possible for some reason, you must stick with prior revisions of
lein-cljsbuild. (gh-253, gh-264):test-command
entry is now printed prior to that test being
run. (gh-244)cljsbuild auto
would exit on a compilation error
(gh-249):test-command
, rather
than proceeding through all. (gh-252)sample
subtask that emits the contents of the sample.project.clj
file detailing cljsbuild's options (gh-232):test-command
vector now properly cause a failure
(gh-243):output-wrapper
ClojureScript compiler option is now defaulted to true
if the :optimizations
option is set to :advanced
(gh-201):test-commands
vector contains any
non-string values (gh-243)cljsbuild auto
has been improved
significantly, and should now represent a negligible CPU load. (gh-219)cljsbuild auto
, Clojure files are now only reloaded if they define
macros. (gh-210)lein cljsbuild test
so that it exits quickly (i.e. without a 30-second delay).:source-path "path"
option to :source-paths ["path" "path"]
. The new option accepts a vector of paths rather than a single path. The old singular :source-path
is now deprecated and will be removed soon.:target-path
directory. Explicitly configured paths can still be whatever you like.:resource-paths
is now used instead of :resources-path
.cljsbuild once
).:libs
now trigger rebuilds when using cljsbuild auto
.Milestone Details for this Release
Milestone Details for this Release
Milestone Details for this Release
RejectedExecutionException
could be thrown if hooks were enabled and the project was run via lein trampoline
.clojure.core/*assert*
via the :assert
option in each :builds
map.Milestone Details for this Release
cljsbuild jar
task for Leiningen 2.x.Milestone Details for this Release
Milestone Details for this Release
Milestone Details for this Release
:warn-on-undeclared
, because the compiler itself now supports a :warnings
option. Use that instead.Milestone Details for this Release
Milestone Details for this Release
Milestone Details for this Release
closure-js/libs
to :libs
and closure-js/externs
to :externs
. This means that libraries can put their libs and externs in resources/closure-js/libs/<library-name>
and resources/closure-js/externs/<library-name>
, respectively, and lein-cljsbuild will automatically pick them up.Milestone Details for this Release
Note that the minor version was incremented not due to any major features, but due to the fact that the :notify-command
option was changed in a backwards-incompatible way.
:build
suboption :incremental
, which determines whether intermediate JavaScript sources are left intact between automatic builds. The old behavior was to delete intermediate files before each build. This slowed things down, but worked around (unisolated) problems with incremental compilation. Incremental builds are now the default, as they appear to work well, but this option allows the old behavior to be selected if necessary for troubleshooting.%
argument is no longer respected, and the textual result will simply be appended as the last command line argument. Also, :beep true
no longer has any effect. If either of these features is desired, the recommended solution is a small shell script wrapper.Milestone Details for this Release
Milestone Details for this Release
Milestone Details for this Release
Milestone Details for this Release
lein cljsbuild clean
cleans up :stdout and :stderr files for various commands.Milestone Details for this Release
Can you improve this documentation? These fine people already did:
Evan Mezeske, Chas Emerick & Maria GellerEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close