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
<ivysettings> | |
<settings defaultResolver="main" /> | |
<resolvers> | |
<chain name="main" returnFirst="true"> | |
<url name="parspro-public"> | |
<ivy | |
pattern="http://repo.parspro.com/parspro-repository/advanced/[organisation]/[module]/ivys/ivy-[revision].xml" | |
/> | |
<artifact | |
pattern="http://repo.parspro.com/parspro-repository/advanced/[organisation]/[module]/jars/[artifact]-[revision].[ext]" |
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
,-[lrenn@cygnus]-[~/src/leiningen/leiningen-core]-[0]-[9059] | |
`-[:)] % lein test | |
Testing leiningen.bluuugh | |
Testing leiningen.core.test.classpath | |
:: loading settings :: url = jar:file:/home/lrenn/src/leiningen/leiningen-core/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml | |
:: loading settings :: url = jar:file:/home/lrenn/src/leiningen/leiningen-core/lib/ivy-2.2.0.jar!/org/apache/ivy/core/settings/ivysettings.xml | |
:: resolving dependencies :: vine-adhoc#vine-adhoc;0.0.1 | |
confs: [default] |
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
(ns bake.notify | |
(:use [bake.core :only [os-name]] | |
[cake :only [*config* *current-task*]] | |
[clojure.java.shell :only [sh]])) | |
(def growl-format "growlnotify -s \"cake +task+\" -m \"+message+\"") | |
(def libnotify-format "notify-send \"cake +task+\" \"+message+\"") | |
(defn default-format [] | |
(if (= "linux" (os-name)) |
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
,-[lrenn@cygnus]-[~/src/clojars-web]-[0]-[9016] | |
`-[:)] % cake clean | |
[clean] Deleting /home/lrenn/src/clojars-web/.cake/run/clean | |
[clean] Deleting /home/lrenn/src/clojars-web/.cake/run/compile | |
[clean] Deleting /home/lrenn/src/clojars-web/.cake/run/compile-native | |
[clean] Deleting /home/lrenn/src/clojars-web/.cake/run/deps | |
[clean] Deleting /home/lrenn/src/clojars-web/.cake/run/pom | |
[clean] Deleting /home/lrenn/src/clojars-web/classes | |
[clean] Deleting directory /home/lrenn/src/clojars-web/classes | |
,-[lrenn@cygnus]-[~/src/clojars-web]-[0]-[9017] |
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
,-[lrenn@cygnus]-[~/src/clojars-web]-[20]-[9372] | |
`-[:(] % cake clean | |
[clean] Deleting /home/lrenn/src/clojars-web/clojars-web-0.6.0-standalone.jar | |
[clean] Deleting /home/lrenn/src/clojars-web/clojars-web-0.6.0.jar | |
[clean] Deleting /home/lrenn/src/clojars-web/.cake/run/clean | |
[clean] Deleting /home/lrenn/src/clojars-web/.cake/run/compile | |
[clean] Deleting /home/lrenn/src/clojars-web/.cake/run/compile-native | |
[clean] Deleting /home/lrenn/src/clojars-web/.cake/run/deps | |
[clean] Deleting /home/lrenn/src/clojars-web/.cake/run/jar | |
[clean] Deleting /home/lrenn/src/clojars-web/.cake/run/uberjar |
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
(defn baked* [loader ns-forms bindings body] | |
(with-classloader loader | |
(let [body `(~'let ~(quote-if odd? bindings) ~@body) | |
clj (.loadClass loader "clojure.main") | |
signature (into-array Class [(class (into-array String []))]) | |
method (.getDeclaredMethod clj "main" signature) | |
args (into-array Object [(into-array String ["-e" (pr-str [ns-forms body])])])] | |
(.invoke method clj args)))) | |
(defmacro baked |
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
(def default-repositories | |
[["clojure" "http://build.clojure.org/releases"] | |
["clojure-snapshots" "http://build.clojure.org/snapshots"] | |
["clojars" "http://clojars.org/repo/"] | |
["maven" {:type "ibiblio" | |
:m2compatible "true"}] | |
["shared" {:type "filesystem" | |
:ivy-pattern "${ivy.shared.default.root}/${ivy.shared.default.ivy.pattern}" | |
:artifact-pattern "${ivy.shared.default.root}/${ivy.shared.default.artifact.pattern}"}] | |
["local" {:type "filesystem" |
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
["main" {:type "chain" :dual "true" | |
:resolvers ["shared" "cake-defaults" "project"]}] | |
to make projects first: | |
["main" {:resolvers ["shared" "project" "cake-defaults"]} |
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
,-[lrenn@cygnus]-[~/src/icing]-[0]-[9075] | |
`-[:)] % cake killall | |
,-[lrenn@cygnus]-[~/src/icing]-[0]-[9076] | |
`-[:)] % ls | |
example.clj | |
,-[lrenn@cygnus]-[~/src/icing]-[0]-[9077] | |
`-[:)] % cat example.clj | |
(ns | |
^{:project {:dependencies [[clojure "1.2.0"] | |
[hiccup "latest.integration"]] |
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
,-[lrenn@cygnus]-[~/src/cake]-[0]-[5764] | |
`-[:)] % cake clean | |
/usr/lib/ruby/1.9.1/fileutils.rb:243:in `mkdir': File exists - /home/lrenn/.m2/repository/cake/cake/0.5.0-SNAPSHOT (Errno::EEXIST) | |
from /usr/lib/ruby/1.9.1/fileutils.rb:243:in `fu_mkdir' | |
from /usr/lib/ruby/1.9.1/fileutils.rb:217:in `block (2 levels) in mkdir_p' | |
from /usr/lib/ruby/1.9.1/fileutils.rb:215:in `reverse_each' | |
from /usr/lib/ruby/1.9.1/fileutils.rb:215:in `block in mkdir_p' | |
from /usr/lib/ruby/1.9.1/fileutils.rb:201:in `each' | |
from /usr/lib/ruby/1.9.1/fileutils.rb:201:in `mkdir_p' | |
from /home/lrenn/bin/cake:241:in `download' |
NewerOlder