Hi.
I'm going through the tutorial, and the cljs command is not outputting to the
"target" directory. Instead it is outputting to
"~/.boot/cache/tmp/Users/hnine/Atom/modern-cljs/1crv/pm0a0w", as indicated by
the output of "boot -vv cljs" below.
How can I get it to output to the "target" directory?
Thanks.
-- Harmon
My directory tree is:
---------------------
.
├── build.boot
├── html
│ └── index.html
├── modern-cljs.iml
├── src
│ └── cljs
│ └── modern_cljs
│ └── core.cljs
└── target
build.boot is:
--------------
(set-env!
:source-paths #{"src/cljs"}
:resource-paths #{"html"}
:dependencies '[[adzerk/boot-cljs "1.7.170-3"]])
(require '[adzerk.boot-cljs :refer [cljs]])
The output of "boot -vv cljs" is:
---------------------------------
Acquired java.util.concurrent.Semaphore@4c178a76[Permits = 0]...
Syncing project dirs to temp dirs...
Filesystem: copying modern_cljs/core.cljs...
Sync complete.
Released java.util.concurrent.Semaphore@4c178a76[Permits = 1]...
Acquired java.util.concurrent.Semaphore@4c178a76[Permits = 0]...
Syncing project dirs to temp dirs...
Filesystem: copying index.html...
Sync complete.
Released java.util.concurrent.Semaphore@4c178a76[Permits = 1]...
Acquired java.util.concurrent.Semaphore@4c178a76[Permits = 0]...
Syncing project dirs to temp dirs...
Sync complete.
Released java.util.concurrent.Semaphore@4c178a76[Permits = 1]...
Acquired java.util.concurrent.Semaphore@5548e9d8[Permits = 0]...
Committing fileset...
Commit: adding aadaacee7df722ab25de21a12859e4ae.1467769673000
modern_cljs/core.cljs...
Commit: adding 986442cfe0b3acff24666e147861a341.1467769711000 index.html...
Commit complete.
Released java.util.concurrent.Semaphore@5548e9d8[Permits = 1]...
Writing main.cljs.edn...
Acquired java.util.concurrent.Semaphore@5548e9d8[Permits = 0]...
Committing fileset...
Commit: adding 9b2840267f152bd7283e5e5dd3dbf0ed.1467819314000 main.cljs.edn...
Commit complete.
Released java.util.concurrent.Semaphore@5548e9d8[Permits = 1]...
Compiling ClojureScript...
Acquired java.util.concurrent.Semaphore@5548e9d8[Permits = 0]...
Committing fileset...
Commit complete.
Released java.util.concurrent.Semaphore@5548e9d8[Permits = 1]...
• main.js
CLJS options:
{:output-dir
"/Users/hnine/.boot/cache/tmp/Users/hnine/Atom/modern-cljs/1crv/pm0a0w/main.out",
:asset-path "main.out",
:output-to
"/Users/hnine/.boot/cache/tmp/Users/hnine/Atom/modern-cljs/1crv/pm0a0w/main.js",
:main boot.cljs.main330}
Acquired java.util.concurrent.Semaphore@5548e9d8[Permits = 0]...
Committing fileset...
Commit: adding 593766ad4e51892a6e13834ca8fa0417.1467819318000
main.out/boot/cljs/main330.cljs.cache.edn...
Commit: adding ca4c1b18e4eca4f7362fb6a774fb18e9.1467819318000
main.out/modern_cljs/core.cljs.cache.edn...
Commit: adding 758119b19fa6730d8e0d0ca698d0c76b.1467819318000
main.out/goog/string/stringbuffer.js...
Commit: adding 6b284b990a2f680a2efceb6e5268ae6e.1467819318000
main.out/boot/cljs/main330.js.map...
Commit: adding 511b67d70a21636556e2b5c8bd946c6c.1467819318000
main.out/modern_cljs/core.js.map...
Commit: adding c6c815323c62d2d75e4b9cbad93df58b.1467819318000
main.out/goog/asserts/asserts.js...
Commit: adding 00362cd4c3bc9c5f2345da08badcd2f1.1467819318000
main.out/boot/cljs/main330.cljs...
Commit: adding 34543110a53bac9ab6a7aee66f133d86.1467819318000
main.out/goog/object/object.js...
Commit: adding 5344f4732517e2b3c836b91161ebdd02.1467819318000
main.out/goog/string/string.js...
Commit: adding aadaacee7df722ab25de21a12859e4ae.1467819318000
main.out/modern_cljs/core.cljs...
Commit: adding fc299aa12c10f8b1f977d9afc6172c38.1467819318000
main.out/boot/cljs/main330.js...
Commit: adding 45edf36f22af5967295e248f49270c04.1467819318000
main.out/goog/dom/nodetype.js...
Commit: adding 2d2cb5f45b71d91919134fd4983abe66.1467819318000
main.out/goog/debug/error.js...
Commit: adding 2c180a70d98fc35d682305ca0085b98e.1467819318000
main.out/modern_cljs/core.js...
Commit: adding 17ef5897eade769e103ded07e0a6e4c8.1467819318000
main.out/goog/array/array.js...
Commit: adding 8823ccad7da4a375cb87cb7187a88951.1467819318000
main.out/cljs/core.js.map...
Commit: adding 15f7d4ba601d82b0a1406b3e20191932.1467819318000
main.out/cljs/core.cljs...
Commit: adding 8b394f4c0870100e80a131a62c8dcc78.1467819318000
main.out/cljs/core.js...
Commit: adding 000a14ef7cc01e342e293891b8050f14.1467819318000
main.out/cljs_deps.js...
Commit: adding 195e82c4a5e8eadd3840edd2d33f9361.1467819318000
main.out/goog/base.js...
Commit: adding 02f7a909e92ce89b47a5caf1c2767f6e.1467819318000
main.out/goog/deps.js...
Commit: adding 1062415aadfb4ad0630a8df7acc9eb58.1467819318000 main.js...
Commit complete.
Released java.util.concurrent.Semaphore@5548e9d8[Permits = 1]...
Acquired java.util.concurrent.Semaphore@4c178a76[Permits = 0]...
Syncing project dirs to temp dirs...
Filesystem: copying modern_cljs/core.cljs...
Filesystem: copying index.html...
Sync complete.
Released java.util.concurrent.Semaphore@4c178a76[Permits = 1]...
--
Note that posts from new members are moderated - please be patient with your
first post.
---
You received this message because you are subscribed to the Google Groups
"ClojureScript" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/clojurescript.