Skip to content

Commit

Permalink
Move implementation to a separate jar.
Browse files Browse the repository at this point in the history
  • Loading branch information
emezeske committed Feb 13, 2012
1 parent 0b2edaa commit 1e4683a
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
File renamed without changes.
Expand Up @@ -9,7 +9,7 @@
[leiningen.jar :as ljar]))

(def cljsbuild-dependencies
'[[cljsbuild "0.0.1"]])
'[[cljsbuild "0.0.13"]])

(def default-compiler
{:output-to "main.js"
Expand Down
10 changes: 10 additions & 0 deletions support/project.clj
@@ -0,0 +1,10 @@
(defproject cljsbuild "0.0.13"
:description "ClojureScript Autobuilder"
:url "http://github.com/emezeske/lein-cljsbuild"
:license {:name "Eclipse Public License - v 1.0"
:url "http://www.eclipse.org/legal/epl-v10.html"
:distribution :repo}
:dependencies [[org.clojure/clojure "1.3.0"]
[org.clojure/clojurescript "0.0-971"]
[fs "1.1.2"]
[clj-stacktrace "0.2.4"]])
2 changes: 2 additions & 0 deletions src/cljsbuild/core.clj → support/src/cljsbuild/core.clj
Expand Up @@ -143,6 +143,8 @@
(dofor [[[_ from-resource] to-file] (zipmap from-resources to-files)]
(when (crossover-needs-update? from-resource to-file)
(spit to-file (filtered-crossover-file from-resource))
; Mark the file as read-only, to hopefully warn the user not to modify it.
(fs/chmod "-w" to-file)
:updated))))

(defn in-threads
Expand Down

0 comments on commit 1e4683a

Please sign in to comment.