Sha256: 916ee6133bd503a0480c0644107fead0dbebedc83213015c42842ef7c83d7a16

Contents?: true

Size: 793 Bytes

Versions: 2

Compression:

Stored size: 793 Bytes

Contents

require 'settings'

module Allen
  class Settings < ::Settings
    def initialize
      super
      pwd = Dir.pwd

      defaults = Proc.new do
        client           "Client"
        css_input        "assets/stylesheets/app/application.less"
        css_output       "css/application.css"
        css_preprocessor :coyote
        js_input         "assets/javascripts/app/application.coffee"
        js_output        "js/application.js"
        js_preprocessor  :coyote
        root_dir         { pwd }
        src_dir          { "#{root_dir}/src" }
        solution         { "#{src_dir}/#{client}.sln" }
        targets          [:clean, :build]
        parameters       ""
        webroot          { "#{src_dir}/#{client}.Umbraco" }
      end

      configure defaults
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
allen-0.1.4 lib/allen/settings.rb
allen-0.1.3 lib/allen/settings.rb