-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remove coverage generation from Shifter #126
Open
andrewnicols
wants to merge
1
commit into
yui:master
Choose a base branch
from
andrewnicols:byebyeCoverage
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
{ | ||
"silent": false, | ||
"istanbul": true, | ||
"build-dir": "./tests/assets-global/" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
{ | ||
"projectName": "shifter - blazingly fast yui builder", | ||
"version": "0.4.5", | ||
"version": "0.4.6", | ||
"yuiSeedUrl": "http://yui.yahooapis.com/3.6.0/build/yui/yui.js" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,7 +23,7 @@ <h1><img src="http://yuilibrary.com/img/yui-logo.png"> shifter - blazingly fast | |
<div class="yui3-g"> | ||
<div class="yui3-u-3-4"> | ||
<div id="main"> | ||
<div class="content"><h2 id="welcome-to-shifter-045">welcome to shifter 0.4.5!</h2> | ||
<div class="content"><h2 id="welcome-to-shifter-046">welcome to shifter 0.4.6!</h2> | ||
|
||
<div class="intro"> | ||
<center> | ||
|
@@ -51,7 +51,7 @@ <h2 id="help">command line arguments</h2> | |
|
||
<pre class="code terminal"><span class="noselect">$ </span>shifter -h | ||
|
||
blazingly fast builds with [email protected].5 | ||
blazingly fast builds with [email protected].6 | ||
|
||
pass no arguments and shifter will build the module from the current directory | ||
|
||
|
@@ -71,7 +71,6 @@ <h2 id="help">command line arguments</h2> | |
--quiet to mute stdout from sub build | ||
all other build options accepted here: (--strict, --lint, etc) | ||
--jsstamp/--no-jsstamp Should it stamp the JS with the YUI.add wrapper, defaults to --stamp | ||
--istanbul Use Istanbul code coverage instead of YUITest for coverage build | ||
Experimental Options: | ||
--semi Toggle on the strict semicolon checking in Uglify | ||
--cache/--no-cache Cache the results of the build and bail if building for no reason, defaults to --no-cache | ||
|
@@ -123,8 +122,10 @@ <h2 id="skins">skin handling</h2> | |
|
||
<h2 id="coverage">Code Coverage</h2> | ||
|
||
<p>When <code>shifter</code> builds a module, it auto generates a <code>-coverage</code> file generated with <a href="http://yuilibrary.com/yuitest">YUITest Code Coverage</a></p> | ||
<p>If you pass the <code>--istanbul</code> option, <code>shifter</code> will use the new <a href="https://github.com/gotwarlost/istanbul">Istanbul Code Coverage</a> tool.</p> | ||
<p>Code coverage used to be automatically generated when <code>shifter</code> built a module, but this has been deprecated in favour of generating coverage in | ||
the <a href="https://github.com/yui/yeti">Yeti</a> tool.</p> | ||
|
||
<p>If you do not use <code>yeti</code>, then you will need to instrument your own coverage files.</p> | ||
|
||
<h2 id="meta">meta-data</h2> | ||
|
||
|
@@ -277,7 +278,6 @@ <h3 id="build.json-root">root properties</h3> | |
<br> | ||
<pre class="code prettyprint">"shifter": { | ||
"jsstamp": false, | ||
"coverage": false, | ||
"lint": "defaults" | ||
}</pre> | ||
|
||
|
@@ -323,7 +323,6 @@ <h3 id="build.config">global config file</h3> | |
"replace-yuivar": "F", | ||
"replace-version": "1.2.3.4", | ||
"lint": false, | ||
"coverage": false, | ||
"regex": "^.*?(?:logger|Y.log).*?(?:;|\\).*;|(?:\\r?\\n.*?)*?\\).*;).*;?.*?\\r?\\n|^.*?(?:\/\\*@DBG\\*\/).*\\r?\\n" | ||
}</pre> | ||
|
||
|
@@ -436,7 +435,7 @@ <h3 id="exp.cache">build file caching</h3> | |
|
||
<p> | ||
You can turn on build time caching with the <code>--cache</code> config option. This will write a cache file out with the MD5's of the build. If | ||
the MD5 matches one in the meta file, the build will abort and skip the remaining tasks (<code>compressor, coverage, etc</code>) to speed up development. | ||
the MD5 matches one in the meta file, the build will abort and skip the remaining tasks (<code>yuglify, etc</code>) to speed up development. | ||
</p> | ||
|
||
<p> | ||
|
@@ -536,7 +535,7 @@ <h2 class="no-toc">Table of Contents</h2> | |
<div class="bd"> | ||
<ul class="toc"> | ||
<li> | ||
<a href="#welcome-to-shifter-045">welcome to shifter 0.4.5!</a> | ||
<a href="#welcome-to-shifter-046">welcome to shifter 0.4.6!</a> | ||
</li> | ||
<li> | ||
<a href="#what">what is shifter?</a> | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bumping the version strikes me as premature, and entirely unrelated to this pull request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
agreed, this step is done by the build process triggered by the person doing the release.