Sha256: 553758b8d1af7aaed072e8c6f7a208e38dd8d7cbab25ce86cacf06dcac973f80
Contents?: true
Size: 419 Bytes
Versions: 1
Compression:
Stored size: 419 Bytes
Contents
require 'evrone/ci/common' module Evrone module CI class Router module Middleware CreateDirs = Struct.new(:app) do include Common::Helper::Shell include Helper::Config def call(env) env.repo_dir = env.path_prefix.join(config.repo_dir_name) mkdir env.repo_dir app.call env end end end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
evrone-ci-router-0.2.0.pre0 | lib/evrone/ci/router/middleware/create_dirs.rb |