Skip to content

Commit

Permalink
change :use -> :require
Browse files Browse the repository at this point in the history
  • Loading branch information
Takahiro Hozumi committed Oct 5, 2012
1 parent 89f75a0 commit f149312
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/leiningen/hicv.clj
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
(ns leiningen.hicv
(:use hiccup-bridge.core))
(:require [hiccup-bridge.core :as hic]))

(defn ^:no-project-needed hicv
"Convert html into hiccup and vice verse"
[project & [first-arg & rest-args]]
(condp = first-arg
"2html" (hiccup-files->html-files rest-args)
"2clj" (html-files->hiccup-files rest-args)
"2html" (hic/hiccup-files->html-files rest-args)
"2clj" (hic/html-files->hiccup-files rest-args)
(println "Usage:
lein hicv 2html
lein hicv 2clj\n")))

0 comments on commit f149312

Please sign in to comment.