build - 如何使用 Clojure 通过 SSH 运行系统管理和部署任务?

标签 build clojure system-administration

<分区>

Python 有 Fabric 库来执行这些操作,Clojure 有这样的选项吗?

最佳答案

你应该看看stevedore ,它在 pallet 中被广泛使用。

来自script reference :

(use '[pallet.stevedore :only [script with-script-language]])
(use '[pallet.script :only [with-script-context]])
(require 'pallet.stevedore.bash) ;; for bash output

(with-script-language :pallet.stevedore.bash/bash
  (with-script-context [:ubuntu]
    (script
      ("ls")))

关于build - 如何使用 Clojure 通过 SSH 运行系统管理和部署任务?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19502446/

相关文章:

c# - 命令 BuildOnlyProject 已禁用

random - 生成一个随机数,不包括单个数

clojure - 具有多个参数的复合路由

loops - 在 Clojure 中退出循环

c++ - init.d 守护程序脚本 (linux) 中的 lockfile 用途

c++ - Windows 7 上的 AbortSystemShutdown 不起作用

c - 如何在 Opensuse 12.2 上构建 Gotoblas2

c++ - 解决 Visual Studio 2010 AlwaysCreate 重建问题

android - NewRelic 导致构建错误

sql-server - 在分区之间分离数据库文件和传输日志的用处