Sha256: 029140e03f6ec7a1247b3d364fa1c91ec5a81056f23a9f8b3261ba01477aa438

Contents?: true

Size: 1.97 KB

Versions: 3

Compression:

Stored size: 1.97 KB

Contents

HighFive::Config.configure do |config|
  config.root = File.join(File.dirname(__FILE__), '..')
  config.destination = "www"

  # Uncomment this if you're on windows and having problems with a strange ExecJS RuntimeError
  # config.windows!

  # This will add the resources folder to all platforms (stylesheets etc.) 
  # config.assets "resources"

  # Include javascript libraries
  # These get included before everything else in the app, and are *not* minified

  # config.javascripts "http://maps.google.com/maps/api/js?sensor=true"
  # config.javascripts "lib/jquery-min.js"

  # Run `compass compile` in this directory before doing anything
  # config.compass "resources/sass"

  # copy and include these stylesheets in the html
  # config.stylesheets "resources/css/app.css"
  # config.stylesheets "resources/css/jquery-ui.css"

  # Basic key/value settings that will be available to your javascript
  # config.setting base_url: "http://dev.example.com/api" # HighFive.settings.base_url = "http://dev.example.com/api"

  # Configure plaform specific settings like this
  config.platform :ios do |ios|
    ios.destination = "www-ios"
    # ios.assets "resources/ios"
  end

  config.platform :android do |android|
    android.destination = "www-android"
    # android.assets "resources/android"
  end

  # if you need platform-specific javascripts, 
  # simply create app-<platform>.js 
  # these files are managed by sprockets, and are used to determine the javascript include order

  # Environment support: production/development/etc
  # Environments work just like platforms
  config.envrionment :development do |development|
    # development.javascripts "lib/some-library-debug-all.js"
    # development.setting base_url: "http://dev.example.com:1234/api/"
  end

  config.environment :production do |production|
    # production.javascripts "lib/some-library-minified.js"
    # production.setting base_url: "http://production.example.com/api/" #these take precedence over the platform overrides
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
high_five-0.1.5 template/config/high_five.rb
high_five-0.1.4 template/config/high_five.rb
high_five-0.1.3 template/config/high_five.rb