Skip to content

Instantly share code, notes, and snippets.

@crinklywrappr
Created February 5, 2011 20:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save crinklywrappr/812768 to your computer and use it in GitHub Desktop.
Save crinklywrappr/812768 to your computer and use it in GitHub Desktop.
(defproject mailer "0.0.1-SNAPSHOT"
:description "big fat application with alert support"
:dependencies [[clojure "1.2.0"]
[clj-mail "0.1.5"]])
(def app_acct {:addy "addy@gmail.com"
:pass "pass"
:host "smtp.gmail.com"
:port 465
:prot "smtp"
:ssl? true})
(defcontext testing
:app_acct app_acct
:alertee "addy@gmail.com")
(defcontext deployment
:app_acct app_acct
:alertee "addy2@gmail.com")
$ cake repl @testing
user=> *project*
java.lang.Exception: Unable to resolve symbol: *project* in this context (NO_SOURCE_FILE:0)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment