Sha256: 5a7ab10d76e5ae96b829317ed442778757860a64d589da4628b36e829de0a686

Contents?: true

Size: 864 Bytes

Versions: 4

Compression:

Stored size: 864 Bytes

Contents

require 'settings'

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

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

      configure defaults
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
allen-0.3.4 lib/allen/settings.rb
allen-0.3.3 lib/allen/settings.rb
allen-0.3.2 lib/allen/settings.rb
allen-0.3.1 lib/allen/settings.rb