-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
init repos when syncing client to server fails
Partially addresses #6
- Loading branch information
1 parent
5727796
commit 257a3e4
Showing
3 changed files
with
22 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
(ns flow-bot.util | ||
(:require | ||
[clojure.java.shell :as sh] | ||
[clojure.tools.logging :as log] | ||
[environ.core :refer [env]])) | ||
|
||
(defn init-repos! [] | ||
(log/info (sh/sh "sh" "-c" (format "./init-repos.sh %s %s %s %s" | ||
(env :server-repo) | ||
(env :server-git) | ||
(env :client-repo) | ||
(env :client-git))))) |