Sha256: 0d5fccc37922e8bbbca2e489002b06501027c4cf38a6d34887a7aa23cf8379b6

Contents?: true

Size: 528 Bytes

Versions: 7

Compression:

Stored size: 528 Bytes

Contents

# Parse ARGV and determine if an allowed environment has been specified
# E.g.: given `rake server production`, environment will return "production"
# Default output is "development"
def environment
  environment = 'development'

  if ARGV.last.match(/(development|production)/)
    environment = ARGV.last
  end
  
  return environment
end


# Boilerplate tasks

# Heroku will run this task as part of the deployment process.
desc "Compile the app's Sass"
task "assets:precompile" do
  system("bundle exec compass compile")
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
toadstool-0.0.0.10 lib/templates/project/Rakefile
toadstool-0.0.0.9 lib/templates/project/Rakefile
toadstool-0.0.0.8 lib/templates/project/Rakefile
toadstool-0.0.0.7 lib/templates/project/Rakefile
toadstool-0.0.0.5 lib/templates/project/Rakefile
toadstool-0.0.0.4 lib/templates/project/Rakefile
toadstool-0.0.0.3 lib/templates/project/Rakefile