Created
July 21, 2015 02:37
-
-
Save dfuenzalida/55c6df8517fe6d6ef795 to your computer and use it in GitHub Desktop.
cljs-modern tutorial step 1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Functional_Languages\modern-cljs>lein cljsbuild once | |
Compiling ClojureScript. | |
←[33mWARNING: It appears your project does not contain a ClojureScript dependenc | |
y. One will be provided for you by lein-cljsbuild, but it is strongly recommende | |
d that you add your own. You can find a list of all ClojureScript releases here | |
: | |
http://search.maven.org/#search|gav|1|g%3A%22org.clojure%22%20AND%20a%3A%22cloju | |
rescript%22 | |
You're using [lein-cljsbuild "1.0.0"], which is known to work well with ClojureS | |
cript 0.0-2014 - 0.0-2173. | |
←[0m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(defproject modern-cljs "0.1.0-SNAPSHOT" | |
:description "FIXME: write description" | |
:url "http://example.com/FIXME" | |
:license {:name "Eclipse Public License" | |
:url "http://www.eclipse.org/legal/epl-v10.html"} | |
:dependencies [[org.clojure/clojure "1.6.0"]] | |
:main ^:skip-aot modern-cljs.core | |
:target-path "target/%s" | |
:profiles {:uberjar {:aot :all}} | |
;; lein-cljsbuild plugin to build a CLJS project | |
:plugins [[lein-cljsbuild "1.0.0"]] | |
;; cljsbuild options configuration | |
:cljsbuild {:builds | |
[{;; CLJS source code path | |
:source-paths ["src/cljs"] | |
;; Google Closure (CLS) options configuration | |
:compiler {;; CLS generated JS script filename | |
:output-to "resources/public/js/modern.js" | |
;; minimal JS optimization directive | |
:optimizations :whitespace | |
;; generated JS code prettyfication | |
:pretty-print true}}]}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
C:\Functional_Languages\modern-cljs>dir /s | |
Volume in drive C has no label. | |
Volume Serial Number is E898-F54A | |
Directory of C:\Functional_Languages\modern-cljs | |
07/20/2015 10:29 PM <DIR> . | |
07/20/2015 10:29 PM <DIR> .. | |
07/20/2015 10:19 PM 110 .gitignore | |
07/20/2015 10:19 PM 134 .hgignore | |
07/20/2015 10:19 PM <DIR> doc | |
07/20/2015 10:19 PM 11,432 LICENSE | |
07/20/2015 10:26 PM 1,057 project.clj | |
07/20/2015 10:19 PM 509 README.md | |
07/20/2015 10:24 PM <DIR> resources | |
07/20/2015 10:24 PM <DIR> src | |
07/20/2015 10:29 PM <DIR> target | |
07/20/2015 10:19 PM <DIR> test | |
5 File(s) 13,242 bytes | |
Directory of C:\Functional_Languages\modern-cljs\doc | |
07/20/2015 10:19 PM <DIR> . | |
07/20/2015 10:19 PM <DIR> .. | |
07/20/2015 10:19 PM 112 intro.md | |
1 File(s) 112 bytes | |
Directory of C:\Functional_Languages\modern-cljs\resources | |
07/20/2015 10:24 PM <DIR> . | |
07/20/2015 10:24 PM <DIR> .. | |
07/20/2015 10:24 PM <DIR> public | |
0 File(s) 0 bytes | |
Directory of C:\Functional_Languages\modern-cljs\resources\public | |
07/20/2015 10:24 PM <DIR> . | |
07/20/2015 10:24 PM <DIR> .. | |
07/20/2015 10:24 PM <DIR> css | |
07/20/2015 10:29 PM <DIR> js | |
0 File(s) 0 bytes | |
Directory of C:\Functional_Languages\modern-cljs\resources\public\css | |
07/20/2015 10:24 PM <DIR> . | |
07/20/2015 10:24 PM <DIR> .. | |
0 File(s) 0 bytes | |
Directory of C:\Functional_Languages\modern-cljs\resources\public\js | |
07/20/2015 10:29 PM <DIR> . | |
07/20/2015 10:29 PM <DIR> .. | |
07/20/2015 10:29 PM 785,590 modern.js | |
1 File(s) 785,590 bytes | |
Directory of C:\Functional_Languages\modern-cljs\src | |
07/20/2015 10:24 PM <DIR> . | |
07/20/2015 10:24 PM <DIR> .. | |
07/20/2015 10:24 PM <DIR> clj | |
07/20/2015 10:28 PM <DIR> cljs | |
0 File(s) 0 bytes | |
Directory of C:\Functional_Languages\modern-cljs\src\clj | |
07/20/2015 10:24 PM <DIR> . | |
07/20/2015 10:24 PM <DIR> .. | |
07/20/2015 10:24 PM <DIR> modern_cljs | |
0 File(s) 0 bytes | |
Directory of C:\Functional_Languages\modern-cljs\src\clj\modern_cljs | |
07/20/2015 10:24 PM <DIR> . | |
07/20/2015 10:24 PM <DIR> .. | |
07/20/2015 10:19 PM 133 core.clj | |
1 File(s) 133 bytes | |
Directory of C:\Functional_Languages\modern-cljs\src\cljs | |
07/20/2015 10:28 PM <DIR> . | |
07/20/2015 10:28 PM <DIR> .. | |
07/20/2015 10:28 PM <DIR> modern_cljs | |
0 File(s) 0 bytes | |
Directory of C:\Functional_Languages\modern-cljs\src\cljs\modern_cljs | |
07/20/2015 10:28 PM <DIR> . | |
07/20/2015 10:28 PM <DIR> .. | |
07/20/2015 10:28 PM <DIR> modern | |
0 File(s) 0 bytes | |
Directory of C:\Functional_Languages\modern-cljs\src\cljs\modern_cljs\modern | |
07/20/2015 10:28 PM <DIR> . | |
07/20/2015 10:28 PM <DIR> .. | |
07/20/2015 10:28 PM 71 core.cljs | |
1 File(s) 71 bytes | |
Directory of C:\Functional_Languages\modern-cljs\target | |
07/20/2015 10:29 PM <DIR> . | |
07/20/2015 10:29 PM <DIR> .. | |
07/20/2015 10:29 PM <DIR> base+system+user+dev | |
0 File(s) 0 bytes | |
Directory of C:\Functional_Languages\modern-cljs\target\base+system+user+dev | |
07/20/2015 10:29 PM <DIR> . | |
07/20/2015 10:29 PM <DIR> .. | |
07/20/2015 10:29 PM <DIR> cljsbuild-compiler-0 | |
0 File(s) 0 bytes | |
Directory of C:\Functional_Languages\modern-cljs\target\base+system+user+dev\cl | |
jsbuild-compiler-0 | |
07/20/2015 10:29 PM <DIR> . | |
07/20/2015 10:29 PM <DIR> .. | |
07/20/2015 10:29 PM <DIR> cljs | |
07/20/2015 10:29 PM <DIR> modern_cljs | |
0 File(s) 0 bytes | |
Directory of C:\Functional_Languages\modern-cljs\target\base+system+user+dev\cl | |
jsbuild-compiler-0\cljs | |
07/20/2015 10:29 PM <DIR> . | |
07/20/2015 10:29 PM <DIR> .. | |
07/20/2015 10:29 PM 212,770 core.cljs | |
07/20/2015 10:29 PM 677,886 core.js | |
2 File(s) 890,656 bytes | |
Directory of C:\Functional_Languages\modern-cljs\target\base+system+user+dev\cl | |
jsbuild-compiler-0\modern_cljs | |
07/20/2015 10:29 PM <DIR> . | |
07/20/2015 10:29 PM <DIR> .. | |
07/20/2015 10:29 PM 146 modern.js | |
1 File(s) 146 bytes | |
Directory of C:\Functional_Languages\modern-cljs\test | |
07/20/2015 10:19 PM <DIR> . | |
07/20/2015 10:19 PM <DIR> .. | |
07/20/2015 10:19 PM <DIR> modern_cljs | |
0 File(s) 0 bytes | |
Directory of C:\Functional_Languages\modern-cljs\test\modern_cljs | |
07/20/2015 10:19 PM <DIR> . | |
07/20/2015 10:19 PM <DIR> .. | |
07/20/2015 10:19 PM 181 core_test.clj | |
1 File(s) 181 bytes | |
Total Files Listed: | |
13 File(s) 1,690,131 bytes | |
56 Dir(s) 7,473,389,568 bytes free | |
C:\Functional_Languages\modern-cljs> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment