Skip to content

Commit

Permalink
Use functions from clojure.java.shell
Browse files Browse the repository at this point in the history
  • Loading branch information
tomfaulhaber committed Oct 28, 2010
1 parent 89ba7cc commit 410a311
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/autodoc/branches.clj
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
(ns autodoc.branches
(:use [clojure.java.io :only [file reader]]
[clojure.java.shell :only [with-sh-dir sh]]
[clojure.pprint :only [cl-format pprint]]
[clojure.contrib.str-utils :only (re-split)]
[clojure.contrib.shell-out :only [with-sh-dir sh]]
[autodoc.params :only (params)]
[autodoc.build-html :only (branch-subdir)]
[autodoc.doc-files :only (xform-tree)])
Expand Down
4 changes: 2 additions & 2 deletions src/autodoc/build_html.clj
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,10 @@
[java.io File FileWriter BufferedWriter StringReader])
(:require [clojure.contrib.str-utils :as str])
(:use [net.cgrand.enlive-html :exclude (deftemplate)]
[clojure.java.io :only (file writer)]
[clojure.java.shell :only (sh)]
[clojure.pprint :only (pprint cl-format)]
[clojure.contrib.json :only (pprint-json)]
[clojure.java.io :only (file writer)]
[clojure.contrib.shell-out :only (sh)]
[autodoc.collect-info :only (contrib-info)]
[autodoc.params :only (params)]))

Expand Down
4 changes: 2 additions & 2 deletions src/autodoc/doc_files.clj
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
; "Add any files in the projects doc/ directory to the output directory, transforming
;as necessary."
(:use [autodoc.params :only [params]]
[clojure.contrib.shell-out :only [sh]]
[clojure.java.io :only [delete-file copy]])
[clojure.java.io :only [delete-file copy]]
[clojure.java.shell :only [sh]])
(:import [java.io File]))

;; Brought in from clojure.contrib.java-utils since it's not making the migration to 1.2
Expand Down
4 changes: 2 additions & 2 deletions src/autodoc/git_tools.clj
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
(ns autodoc.git-tools
(:use [clojure.pprint :only [cl-format]]
[clojure.contrib.shell-out :only [sh with-sh-dir]]
(:use [clojure.java.shell :only [sh with-sh-dir]]
[clojure.pprint :only [cl-format]]
[autodoc.build-html :only [branch-subdir]])
(:import [java.io File]))

Expand Down

0 comments on commit 410a311

Please sign in to comment.