Sha256: 7754793477c1a8054627c965e78496a7b3193c589b463921a5bc5aa0bb9b6c6c

Contents?: true

Size: 435 Bytes

Versions: 20

Compression:

Stored size: 435 Bytes

Contents

module Minke
  module Generators
    def write_bash_script path
      FileUtils.cp(File.expand_path('../../scripts/minke.sh', __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

20 entries across 20 versions & 1 rubygems

Version Path
minke-1.12.9 lib/minke/generators/shell_script.rb
minke-1.12.8 lib/minke/generators/shell_script.rb
minke-1.12.7 lib/minke/generators/shell_script.rb
minke-1.12.5 lib/minke/generators/shell_script.rb
minke-1.12.4 lib/minke/generators/shell_script.rb
minke-1.12.3 lib/minke/generators/shell_script.rb
minke-1.12.2 lib/minke/generators/shell_script.rb
minke-1.12.0 lib/minke/generators/shell_script.rb
minke-1.11.9 lib/minke/generators/shell_script.rb
minke-1.11.8 lib/minke/generators/shell_script.rb
minke-1.11.7 lib/minke/generators/shell_script.rb
minke-1.11.6 lib/minke/generators/shell_script.rb
minke-1.11.5 lib/minke/generators/shell_script.rb
minke-1.11.4 lib/minke/generators/shell_script.rb
minke-1.11.3 lib/minke/generators/shell_script.rb
minke-1.11.2 lib/minke/generators/shell_script.rb
minke-1.11.1 lib/minke/generators/shell_script.rb
minke-1.11.0 lib/minke/generators/shell_script.rb
minke-1.10.0 lib/minke/generators/shell_script.rb
minke-1.9.9 lib/minke/generators/shell_script.rb