Skip to content
Permalink
Browse files

fix(server options): replace dist.server.file with dist.server.fileNa…

…me for consistency
  • Loading branch information
jyounce committed Jul 23, 2015
1 parent 856395e commit f1bb3f9d68efd65458317958e9e95ac14c87ac40
Showing with 3 additions and 3 deletions.
  1. +1 −1 README.md
  2. +1 −1 config/config-dist-and-src.coffee
  3. +1 −1 config/config-options.coffee
@@ -105,7 +105,7 @@ gulp rapid-build:test:prod
# dist.client.bower.dir = (string) defaults to 'bower_components'
# dist.client.libs.dir = (string) defaults to 'libs' = 3rd party libraries that aren't bower components
# dist.server.dir = (string) defaults to 'server'
# dist.server.file = (string) defaults to 'routes.js'
# dist.server.fileName = (string) defaults to 'routes.js'
# src.dir = (string) defaults to 'src'
# src.client.dir = (string) defaults to 'client'
# src.client[images|scripts|styles|test|views].dir = (string) defaults to property name
@@ -132,7 +132,7 @@ module.exports = (config, options) ->

addToServerAppDist = ->
config.dist.app.server.scripts.file = # app server dist entry file
options.dist.server.file or file.appServer
options.dist.server.fileName or file.appServer

config.dist.app.server.scripts.path = # absolute path
path.join config.app.dir, config.dist.app.server.scripts.dir
@@ -21,7 +21,7 @@ module.exports = (config, options) ->
options[v1][v2][v3].dir = null if not isType.string options[v1][v2][v3].dir

serverOptions = -> # app server dist entry file
options.dist.server.file = null if not isType.string options.dist.server.file
options.dist.server.fileName = null if not isType.string options.dist.server.fileName

portOptions = -> # server ports
options.ports = {} if not isType.object options.ports

0 comments on commit f1bb3f9

Please sign in to comment.
You can’t perform that action at this time.