Sha256: dd2e16e403e78d633d4a380fb136d41bc259f14cdcbfc7ae5b0dae955115ed65

Contents?: true

Size: 487 Bytes

Versions: 7

Compression:

Stored size: 487 Bytes

Contents

module Bard::CLI::Install
  def self.included mod
    mod.class_eval do

      desc "install", "copies bin/setup and bin/ci scripts into current project."
      def install
        install_files_path = File.expand_path(File.join(__dir__, "../../install_files/*"))
        system "cp -R #{install_files_path} bin/"
        github_files_path = File.expand_path(File.join(__dir__, "../../install_files/.github"))
        system "cp -R #{github_files_path} ./"
      end

    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bard-1.0.8 lib/bard/cli/install.rb
bard-1.0.7 lib/bard/cli/install.rb
bard-1.0.6 lib/bard/cli/install.rb
bard-1.0.5 lib/bard/cli/install.rb
bard-1.0.4 lib/bard/cli/install.rb
bard-1.0.3 lib/bard/cli/install.rb
bard-1.0.2 lib/bard/cli/install.rb