Sha256: 6f5d470cbc933d320531ecf113f11e08249313a725a5ce178736f4548c6bf9a3
Contents?: true
Size: 687 Bytes
Versions: 1
Compression:
Stored size: 687 Bytes
Contents
module Vx module Builder class Script Clojure = Struct.new(:app) do include Helper::TraceShCommand def call(env) if enabled?(env) env.announce.tap do |i| i << trace_sh_command("lein version") end env.install.tap do |i| i << "lein deps" end if env.source.script.empty? env.script.tap do |i| i << "lein test" end end end app.call(env) end private def enabled?(env) env.source.language == 'clojure' end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
vx-builder-0.0.21 | lib/vx/builder/script/clojure.rb |