Commit Graph

19 Commits

Author SHA1 Message Date
Daniel Freedman
f3c4bb1cd6 Use ESLint for Polymer
Modified version of #2600

- Ignores experimental and demo folders
- A few style tweaks
- Rename gulp task to `gulp lint`, and cause it to emit non-zero status
  for travis testing

Thanks to @fredj for the base PR
2016-02-05 12:08:01 -08:00
Frederic Junod
f7d2bdfd8b Lint the javascript code with eslint 2016-02-04 09:24:30 +01:00
Daniel Freedman
c3177113ff fix build output with new vulcanize 2016-01-25 10:48:22 -08:00
Daniel Freedman
43504e650e Use gulp-vulcanize concurrently for faster builds
Remove mkdir task, gulp.dest does that for us
Make clean an optional task, it is not necessary for most things
2015-06-08 17:06:18 -07:00
Daniel Freedman
cc2663d1f7 Add back Polymer.version string
Replace version string when releasing
Fixes #1625
2015-05-26 14:54:38 -07:00
Daniel Freedman
686327247a stupid clean task again >:( 2015-05-26 14:27:18 -07:00
Daniel Freedman
cf6c6f43ee clean task should not run sequentially, remove restore-build task, it is pointless 2015-05-26 14:23:07 -07:00
Daniel Freedman
5ede8b5fe1 Work around flaky gulp-vulcanize
https://github.com/Polymer/vulcanize/issues/190
2015-05-26 14:17:27 -07:00
Daniel Freedman
34652e3668 Have to use absolute paths for excludes array 2015-05-26 13:00:30 -07:00
Daniel Freedman
feecd270d5 Refactor build process
Use gulp vulcanize to reduce run time and weird interactive delay
Use polyclean.leftAlignJs to refactor the strip step
Move the strip step into micro/mini/max
Add gulp release task to automate for dumping into builds branch

Fixes #1519 [0.9] New gulp build hangs until enter key is pressed
2015-05-25 14:30:59 -07:00
Daniel Freedman
edb5e95ac2 hash the files in dist, not src 2015-05-24 20:34:14 -07:00
Daniel Freedman
4a6e2f5f4b copy bower.json when making release 2015-05-24 20:26:56 -07:00
Daniel Freedman
37c324d075 put audit log into dist folder 2015-05-14 11:55:41 -07:00
Daniel Freedman
536f9171e2 Add audit task 2015-05-14 11:30:46 -07:00
Daniel Freedman
95be50ef45 Add commands to test build
Add gulp switch and gulp restore to swap between builds and src for testing
Add `npm run test-build` to automate it all
Fix build generation by removing newline inserter
2015-05-12 16:54:12 -07:00
Scott J Miles
1ebc671c8b s/expr/experimental 2015-05-05 19:08:22 -07:00
Daniel Freedman
a0e8fe20e7 Fix gulp task for windows machines
Create dist dir as needed
2015-05-05 17:48:31 -07:00
AJ Ortega
eff005d8a2 vulcanize strips comments now 2015-04-30 11:06:36 -07:00
AJ Ortega
b197f05d4a Build polymer 2015-04-28 10:29:34 -07:00