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.15.0 lib/minke/generators/shell_script.rb
minke-1.14.5 lib/minke/generators/shell_script.rb
minke-1.14.4 lib/minke/generators/shell_script.rb
minke-1.14.3 lib/minke/generators/shell_script.rb
minke-1.14.2 lib/minke/generators/shell_script.rb
minke-1.14.1 lib/minke/generators/shell_script.rb
minke-1.14.0 lib/minke/generators/shell_script.rb
minke-1.13.20 lib/minke/generators/shell_script.rb
minke-1.13.19 lib/minke/generators/shell_script.rb
minke-1.13.18 lib/minke/generators/shell_script.rb
minke-1.13.16 lib/minke/generators/shell_script.rb
minke-1.13.15 lib/minke/generators/shell_script.rb
minke-1.13.14 lib/minke/generators/shell_script.rb
minke-1.13.13 lib/minke/generators/shell_script.rb
minke-1.13.12 lib/minke/generators/shell_script.rb
minke-1.13.11 lib/minke/generators/shell_script.rb
minke-1.13.10 lib/minke/generators/shell_script.rb
minke-1.13.9 lib/minke/generators/shell_script.rb
minke-1.13.8 lib/minke/generators/shell_script.rb
minke-1.13.7 lib/minke/generators/shell_script.rb