aboutsummaryrefslogtreecommitdiffstats
path: root/lib/grunt/utils.js
AgeCommit message (Collapse)Author
2014-02-16chore(doc-gen): new docsPeter Bacon Darwin
chore(doc-gen): implement dgeni
2014-02-05chore(testing): run end to end tests on firefox and safari as well as chromeJulie
Update the Travis and Jenkins configs to run protractor tests on Safari and Firefox as well, and make the Travis tests run output XML and turn off color. Fix tests which were failing in Firefox due to clear() not working as expected. Fix tests which were failing in Safari due to SafariDriver not understanding the minus key, and disable tests which SafariDriver has no support for.
2014-02-05chore(end2end): remove old references to the scenario runner and update to ↵Julie
point to protractor
2014-02-04chore(release): be able to release any commitTobias Bosch
The version information is now stored only in the tags. By this we are able to release commits in the past, which have already been tested, so we don't need a code freeze or run tests any more. This is also the first step for letting Travis do the releases in the future. The package.json now contains the new property 'branchVersion' that defines which tags are valid on this branch. Closes #6116
2014-01-09feat(build): add a grunt test for running protractor tests extracted from ↵Julie
the docs
2013-12-13chore(build): automate cutting a release, publishing to bower and to ↵Tobias Bosch
code.angular.js
2013-12-03chore(travis): switch back to SauceLabsVojta Jina
I think we are pretty close to be able to use both. The xhr-polling seems to be pretty stable, but I'm having problems with multiple SSH tunnels (on BS), so let's try to switch back to SL.
2013-12-03chore(travis): use different port numbers per buildVojta Jina
We can't establish multiple SSH tunnels for the same port (for BrowserStack). This makes it possible to run multiple parallel builds using BrowserStack.
2013-11-14fix(minErr): remove references to internals APIsVojta Jina
So that we can use minErr with angular-loader, before full angular is loaded. This also fixes replacing the version during the build.
2013-11-12fix(grunt): Fix NG_VERSION_MINOR typoAndrei Korzhevskii
2013-10-22chore(Grunt): use the latest Content-Security-Policy header in csp modeIgor Minar
2013-10-22fix: don't inline css in csp mode.tigbro
Also add `angular-csp.css` to the resulting build.
2013-10-18fix(csp): fix csp auto-detection and stylesheet injectionIgor Minar
When we refactored , we broke the csp mode because the previous implementation relied on the fact that it was ok to lazy initialize the .csp property, this is not the case any more. Besides, we need to know about csp mode during bootstrap and avoid injecting the stylesheet when csp is active, so I refactored the code to fix both issues. PR #4411 will follow up on this commit and add more improvements. Closes #917 Closes #2963 Closes #4394 Closes #4444 BREAKING CHANGE: triggering ngCsp directive via `ng:csp` attribute is not supported any more. Please use data-ng-csp instead.
2013-10-01chore(grunt): switch to the new //# sourceMappingURL pragmaMichał Gołębiowski
All browsers except from Chrome implemented both the old "//@ sourceMappingURL" and the new "//# sourceMappingURL" pragmas in the same version so the only reason to keep the old one was Chrome. However, Chrome 29, i.e. current stable version already supports the new pragma so there's no need to wait any longer.
2013-09-04chore(grunt): support semver v2 version number formatIgor Minar
previously we couldn't use it because of bower bugs
2013-08-28chore(travis): use ports proxied by SauceLabsVojta Jina
Some browser does not allow to proxy localhost and so SL uses another proxy on the VM. This proxy only proxies some ports (SauceConnect proxies all ports). This is the issue why Safari didn't connect for e2e tests, because 9877 was not proxied. This change makes sure we use SL enabled ports.
2013-08-23chore: run more browsers on Travis (IE8,IE9,IE10,Safari,FF)Vojta Jina
Also instead of running everything in parallel, there are only two parallel tasks: - e2e tests running in the background (only on Chrome) - all the unit tests running sequentially
2013-08-15fix(grunt): fix regex in grunt util to handle pre-release versionsBrian Ford
NOTE: this also includes a temporary work-around for Bower
2013-08-14chore(ngdocs): fixup the docs version switcherIgor Minar
2013-08-13chore: disable npm install on TravisVojta Jina
Grunt is configured to run `npm install` before every task. That is convenient when switching a branch for example. On Travis, this makes no sense and is causing tons of NPM warnings (eg. packages not defining repository field etc).
2013-08-13chore(grunt): support RCs in version numbersIgor Minar
2013-07-29fix(bower): update bower usage and resourcesKen Sheedlo
Changes: - Fix our old code to use bower_components/ as the install dir - Fix the Bootstrap asset to use github.com/twbs/bootstrap (it moved) - Fail the build on Bower failure. Bower should not fail silently.
2013-07-26fix(grunt): change css wrapping to prepend styles to the top of the head tagMatias Niemelä
angular.css is used by the utils.js CSS wrap operation, but ng-hide or any other CSS styles present in angular.css cannot be overridden unless the styles appear before the stylesheet is in place. This fix allows for this to work
2013-07-25feat(minErr): Include version number in prod minErr urlsKen Sheedlo
2013-07-24docs(minErr): Build minErr doc siteKen Sheedlo
2013-07-13fix(grunt): cache version numberIgor Minar
caching the version number speeds up the build and preserves resources. this also fixed EMFILE error that now occurs on some macs.
2013-07-08chore(grunt): tweak ng-closure-runner setupPete Bacon Darwin
2013-07-03fix(grunt): Give java 2g of memoryLucas Galfasó
Give the java build process 2g of memory
2013-07-02chore(grunt-utils): remove unnecessary quotes from minerr_urlPete Bacon Darwin
The quotes were causing the minerr processing to fail on Windows
2013-07-02chore(travis): speed up the buildVojta Jina
- parallelize the tasks - cache requests (e2e tests) This reduces the time from ~18min to ~12min. It makes the output little messy. We could buffer output of each task and display it once it's fully finished, nicely. I think giving instant feedback is better.
2013-07-02chore(grunt-utils): fix java classpath on WindowsPete Bacon Darwin
2013-07-01feat(minErr): Error stripping build stepKen Sheedlo
2013-06-27chore(build): temporarily add more logging to debug flakiness on CIIgor Minar
2013-06-17feat(ngdocs): provide support for user to jump between different versions of ↵Matias Niemelä
the angularjs documentation
2013-06-14feat(Grunt): add source maps to all min filesIgor Minar
Generate source map files when build step is ran and adds source map headers to all min files. Source map url must be appended to the min file otherwise the line offsets will be off. Inspired by Ryan Seddon (PR #2858) Closes #1714
2013-06-06chore(closure-compiler): use bower to fetch closure compilerIgor Minar
this replaces the stale NPM dependency
2013-06-06chore(ngdocs): replace google closure library with a NPM moduleMatias Niemelä
2013-05-21chore(package.json): kill version.yaml in favor of package.jsonIgor Minar
all versioning info is now in package.json and that's where the build scripts read it from
2013-04-16fix(Grunt): also remove \r chars when joining filesPete Bacon Darwin
2013-04-01chore: use KarmaVojta Jina
2013-03-05chore(Grunt): switch from Rake to GruntDave Geddes
Migrates the Angular project from Rake to Grunt. Benefits: - Drops Ruby dependency - Lowers barrier to entry for contributions from JavaScript ninjas - Simplifies the Angular project setup and build process - Adopts industry-standard tools specific to JavaScript projects - Support building angular.js on Windows platform (really?!? why?!?) BREAKING CHANGE: Rake is completely replaced by Grunt. Below are the deprecated Rake tasks and their Grunt equivalents: rake --> grunt rake package --> grunt package rake init --> N/A rake clean --> grunt clean rake concat_scenario --> grunt build:scenario rake concat --> grunt build rake concat_scenario --> grunt build:scenario rake minify --> grunt minify rake version --> grunt write:version rake docs --> grunt docs rake webserver --> grunt webserver rake test --> grunt test rake test:unit --> grunt test:unit rake test:<jqlite|jquery|modules|e2e> --> grunt test:<jqlite|jquery|modules|end2end|e2e> rake test[Firefox+Safari] --> grunt test --browsers Firefox,Safari rake test[Safari] --> grunt test --browsers Safari rake autotest --> grunt autotest NOTES: * For convenience grunt test:e2e starts a webserver for you, while grunt test:end2end doesn't. Use grunt test:end2end if you already have the webserver running. * Removes duplicate entry for Describe.js in the angularScenario section of angularFiles.js * Updates docs/src/gen-docs.js to use #done intead of the deprecated #end * Uses grunt-contrib-connect instead of lib/nodeserver (removed) * Removes nodeserver.sh, travis now uses grunt webserver * Built and minified files are identical to Rake's output, with the exception of one less character for git revisions (using --short) and a couple minor whitespace differences Closes #199