Skip to content

Commit

Permalink
Initial implementation of gh-pages support, still to be tested
Browse files Browse the repository at this point in the history
  • Loading branch information
skuro committed Jun 27, 2013
1 parent 9292e2f commit e607324
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions src/leiningen/misaki/github/pages.clj
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,10 @@
[]
(let [status (git/git-status *git-repo*)
files (reduce into #{} [(:untracked status)
(:modified status)
(:changed status)])]
(doseq)))
(:modified status)])]
(doseq [file files]
(git/git-add *git-repo* file))
(git/git-commit *git-repo* "[lein-misaki] updates committed")))

(defn current-branch
"Gets the current branch name"
Expand Down

0 comments on commit e607324

Please sign in to comment.