Skip to content

Instantly share code, notes, and snippets.

@gabrielg
Created October 30, 2009 03:00
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 gabrielg/222074 to your computer and use it in GitHub Desktop.
Save gabrielg/222074 to your computer and use it in GitHub Desktop.
(use 'lancet)
(use 'lancet.ant)
(def src "src")
(def build "classes")
(deftarget init (tstamp)
(mkdir {:dir build}))
(deftarget compile "Compile Java sources"
(init)
(javac {:srcdir src :destdir build}))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment