Sha256: b43e9770f79935c56faed9933cf7d24cc402fa303cac589c83cc52d85d2c5bc9

Contents?: true

Size: 432 Bytes

Versions: 27

Compression:

Stored size: 432 Bytes

Contents

module Minke
  module Generators
    def write_bash_script path
      FileUtils.cp(File.expand_path('../../scripts/minke', __FILE__), path)
      File.chmod(0755, path)
    end

    def create_rvm_files folder, application_name
      File.write("#{folder}.ruby-gemset", application_name)
      File.write("#{folder}.ruby-version", '2')
    end

    module_function :write_bash_script
    module_function :create_rvm_files
  end
end

Version data entries

27 entries across 27 versions & 1 rubygems

Version Path
minke-1.13.6 lib/minke/generators/shell_script.rb
minke-1.13.5 lib/minke/generators/shell_script.rb
minke-1.13.4 lib/minke/generators/shell_script.rb
minke-1.13.3 lib/minke/generators/shell_script.rb
minke-1.13.2 lib/minke/generators/shell_script.rb
minke-1.13.1 lib/minke/generators/shell_script.rb
minke-1.13.0 lib/minke/generators/shell_script.rb