From a430e29529fc78d372a82d02ea1b3939533bb311 Mon Sep 17 00:00:00 2001 From: modcoms Date: Thu, 24 Oct 2013 16:34:18 -0700 Subject: [PATCH] Fix application package.js and README.md Changed "test" to "tests" and fixed Markdown links. Fixes #1 --- README.md | 6 +++--- app/templates/src/app/_package.js | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 6a73a22..662c71f 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ A Dojo application generator for [Yeoman](http://yeoman.io). ## Getting started -* Make sure you have [https://github.com/yeoman/yo](yo) and [https://github.com/bryanforbes/generator-dojo](generator-dojo) installed: +* Make sure you have [yo](https://github.com/yeoman/yo) and [generator-dojo](https://github.com/bryanforbes/generator-dojo) installed: ```bash npm install -g yo generator-dojo ``` @@ -50,7 +50,7 @@ yo dojo ### Test -Generates a unit or functional test for [https://theintern.io](Intern) and places it in `src//tests/.{js,html}`. Optionally receives a `--functional` flag. If the flag is passed, a functional test is generated, otherwise a unit test is generated. +Generates a unit or functional test for [Intern](http://theintern.io) and places it in `src//tests/.{js,html}`. Optionally receives a `--functional` flag. If the flag is passed, a functional test is generated, otherwise a unit test is generated. Example: ```bash @@ -90,7 +90,7 @@ grunt server:dist ### intern -Runs unit and functional tests using [https://theintern.io](Intern). Intern allows web developers to run unit and functional tests in various versions of browsers from the command line. +Runs unit and functional tests using [Intern](http://theintern.io). Intern allows web developers to run unit and functional tests in various versions of browsers from the command line. This task takes an optional `target` flag. If this flag is `local`, only local non-browser tests will be run. If this flag is `remote`, only remote tests will be run using Selenium (via SauceLabs or your own Selenium server). If this flag is not passed, both non-browser and remote tests will be run. diff --git a/app/templates/src/app/_package.js b/app/templates/src/app/_package.js index 5c17d4a..226fd29 100644 --- a/app/templates/src/app/_package.js +++ b/app/templates/src/app/_package.js @@ -35,7 +35,7 @@ var profile = { // In this case, we are excluding this package configuration file which is not necessary in a built copy of // the application. miniExclude: function (filename, moduleId) { - return (/^<%= appname %>\/test\//).test(moduleId) || moduleId in { + return (/^<%= appname %>\/tests\//).test(moduleId) || moduleId in { '<%= appname %>/package': 1 }; }