Sha256: 6c34febd9736e7f8bbf67c14cc96bb97dc6267098a86f5e63e716a3ead702c73

Contents?: true

Size: 404 Bytes

Versions: 14

Compression:

Stored size: 404 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/"
        system "cp -R #{install_files_path}/.github ./"
      end

    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
bard-1.3.9 lib/bard/cli/install.rb
bard-1.3.8 lib/bard/cli/install.rb
bard-1.3.7 lib/bard/cli/install.rb
bard-1.3.6 lib/bard/cli/install.rb
bard-1.3.5 lib/bard/cli/install.rb
bard-1.3.4 lib/bard/cli/install.rb
bard-1.3.3 lib/bard/cli/install.rb
bard-1.3.2 lib/bard/cli/install.rb
bard-1.3.1 lib/bard/cli/install.rb
bard-1.3.0 lib/bard/cli/install.rb
bard-1.2.0 lib/bard/cli/install.rb
bard-1.1.2 lib/bard/cli/install.rb
bard-1.1.1 lib/bard/cli/install.rb
bard-1.1.0 lib/bard/cli/install.rb