Commit Graph

106 Commits

Author SHA1 Message Date
Zlatan Vasović cc0b6fa0da Use bash executable consistently (#7909)
Merge pull request 7909
2019-11-30 10:50:36 -05:00
Ashwin Maroli af055b917c Profile allocations from a build session (#7646)
Merge pull request 7646
2019-05-15 14:47:25 -04:00
Ashwin Maroli 51d1366902 Add a script to profile docs with CI (#7540)
Merge pull request 7540
2019-02-20 03:19:34 -05:00
ashmaroli e1b64f9afd Change regex to sanitize and normalize filenames passed to LiquidRenderer (#6610)
Merge pull request 6610
2018-03-09 21:09:55 -05:00
ashmaroli 4032c3e286 Rewrite `script/rubyprof` as a Ruby script (#6813)
Merge pull request 6813
2018-03-01 04:57:30 -05:00
mrHoliday a559dfaa6e Update fmt (#6514)
Merge pull request 6514
2017-11-04 10:50:30 -04:00
Frank Taillandier 7333baf06d Upgrade to Cucumber 3.0 (#6395)
Merge pull request 6395
2017-09-29 03:39:19 -04:00
Parker Moore 722c49cd6f
script/backport-pr: cherry-pick the commit properly
We used to do traditional merges but since we started doing squash merges,
we don't want the -m1 flag for git-cherry-pick.
2017-08-12 16:08:10 -04:00
Parker Moore c059675bcc script/backport-pr: commit message no longer includes the # (#6289)
Merge pull request 6289
2017-08-10 16:40:06 -04:00
Bogdan 8f1959bbc4 Define path with __dir__ (#6087)
Merge pull request 6087
2017-07-25 19:20:20 -04:00
Parker Moore 409c8f9f31
Make stackprof a ruby script [ci skip] 2017-03-31 00:50:00 -04:00
Frank Taillandier 0d02a25b04 Default options for script/proof (#5995)
Merge pull request 5995
2017-03-30 22:02:04 -04:00
Parker Moore 67a7c22def Fix typo in backport-pr 2017-03-06 21:00:25 -05:00
Parker Moore 47f54dbeca
Add script/backport-pr 2017-03-02 12:39:02 -05:00
Frank Taillandier cd8836cf6e bump htmlproofer 2017-01-17 02:34:15 +01:00
Parker Moore 1bc82b9c8a
Fix script/stackprof & add some GC stats.
When running 'script/stackprof object', I noticed that it would be helpful to see
GC information. It appears we create a lot of junk -- a source of optimization if
we decide to go down that path.

An average Jekyll build doesn't run a GC, but auto-regeneration likely would eventually
require a GC run and it would be interesting to see if we can reduce how much we throw
away with each call to 'site.process'.
2016-12-28 22:54:37 -07:00
Parker Moore 9824c3103b
Allow us to specify other options to pass to htmlproofer. 2016-11-03 16:26:16 -07:00
Frank Taillandier 52e189c46a
update source in script/proof 2016-11-03 14:54:11 +01:00
Ashwin Maroli 0d12a02893 script/test: add missing whitespace 2016-10-12 14:35:39 +05:30
Ashwin Maroli b2ece36d27 remove variable workdir 2016-08-30 22:15:00 +05:30
Ashwin Maroli f3093e2f6f change workdir assignment 2016-08-30 09:35:07 +05:30
Ashwin Maroli 34404af031 execute jekyll from cloned source 2016-08-30 09:29:12 +05:30
XhmikosR d0d41792f9 script/default-site: add `ruby` in exec command.
Windows doesn't recognize `exe/jekyll` as Ruby executable so this should work everywhere.
2016-08-27 08:34:20 +03:00
Parker Moore 3943de066c
script/default-site: read Jekyll source from local clone
If you bump the version in the repo, then it all goes haywire.
2016-08-02 15:55:33 -07:00
Parker Moore 663117403d
script/default-site: specify BUNDLE_GEMFILE for new site 2016-08-01 21:56:28 -07:00
Parker Moore 4d0d528fd5 script/default-site: give debug output 2016-08-01 14:49:52 -07:00
Ben Balter bd96ca4ab6 bundle install before running bundle exec 2016-07-28 14:15:48 -04:00
Ben Balter ca03a41564 add test to build the default site 2016-07-28 10:43:46 -04:00
Parker Moore 4b476f70e6
script/fmt: prefix rubocop version with "Rubocop"
This makes it obvious what those mysterious numbers are.
2016-07-25 21:08:56 -07:00
Parker Moore 30e34a72c0
script/cibuild: if no TEST_SUITE is defined, run fmt, test, cucumber
/cc #5136
2016-07-25 21:08:05 -07:00
XhmikosR 5ca080ac6f Whitespace cleanup. 2016-07-18 21:31:17 +03:00
Parker Moore 1a934125d9
Check for Ruby first, then JRuby 2016-07-07 13:37:25 -07:00
Parker Moore b772329c60
Merge branch 'master' into remove-jruby-and-ruby-head
* master: (41 commits)
  Fix rubocop offenses on master.
  script/fmt: print Rubocop version
  Update history to reflect merge of #5030 [ci skip]
  rubocop: separate deprecator error messages
  Update history to reflect merge of #5031 [ci skip]
  Update history to reflect merge of #5032 [ci skip]
  rubocop: fix code style
  rubocop: fix code style
  rubocop: fix code style
  Update history to reflect merge of #5024 [ci skip]
  Update history to reflect merge of #5025 [ci skip]
  utils: check that the object is a hash when merging default_proc
  Update history to reflect merge of #5026 [ci skip]
  rubocop: refactor modified? method
  Add a benchmark for capture vs. assign in Liquid. [ci skip]
  Update history to reflect merge of #5027 [ci skip]
  Add generator-jekyllized to third party plugins
  rubocop: fix code style
  rubocop: fix code style
  rubocop: fix code style
  ...
2016-06-29 00:52:58 -07:00
Parker Moore 3a76ddf7a2 script/fmt: print Rubocop version 2016-06-28 12:38:46 -07:00
Parker Moore 6f5ad2530e
Only run tests with --profile when using MRI. 2016-06-23 19:08:53 -07:00
Parker Moore b28e14bcd6
create script/fmt to format the code 2016-05-12 13:42:05 -05:00
Parker Moore de8f67c4a2 Fix link issues in the site found by HTML Proofer. 2016-03-01 19:43:22 -08:00
chrisfinazzo d18769aff0 Remove old flag which breaks htmlproof 2016-02-03 11:31:07 -05:00
Jordon Bedwell 712c16a7f1 Try to cleanup the Gemfile... again.
The problem last time was that we removed Pry and Pry brings in CodeRay, we were
testing legacy stuff and didn't have CodeRay in our dependencies, which resulted
in those tests failing.

This also quietly announces the intention to move to RSpec by moving the old
test dependencies to ":test_legacy" and is slightly less agressive in it's
organization than before.
2016-01-12 06:54:45 -06:00
Jordon Bedwell c5b8b3315f Rearrange Cucumber and add some flair.
* Move step_definitions/jekyll.rb to just step_definitions.rb
* Rename the formatter to Jekyll::Cucumber::Formatter, it's Jekyll's.
* Add some flair; switch to checks!
* Rename env.rb to helpers.rb
2016-01-11 14:55:34 -06:00
jekyllbot 1de7449767 Merge pull request #4338 from jekyll/pr/add-script-travis
Merge pull request 4338
2016-01-10 12:49:30 -08:00
Jordon Bedwell 9fee9d3d3b Add script/travis so all people can play with Travis-CI images. 2016-01-10 14:46:56 -06:00
Jordon Bedwell 8337da8978 Remove script/rebund. 2016-01-10 11:13:14 -06:00
Parker Moore 2c5a5e76ec script/stackprof: allow CLI to set stackprof mode [ci skip] 2015-12-13 12:21:32 -08:00
Parker Moore e8b1a8aa44 script/cibuild: fail if subprocesses fail 2015-12-09 11:46:47 -08:00
Alfred Xing 2a040fd527 Rename incremental regeneration flag
Rename from `full_rebuild` to disable, to `incremental` to enable
2015-10-26 14:20:44 -07:00
Ben Balter 1eb1f4ea4d add script to vendor mime types 2015-08-24 16:21:50 -04:00
AJ Acevedo b0fa2462a6 Updated the scripts shebang for portability
- Updated all of the sh and bash shebangs for consistency and portability.
- set -e to the test script for portability
Resolves #3857
2015-07-18 22:23:56 -04:00
Jordon Bedwell 981e32d462 Fix script/test so that testing invidual files works. 2015-05-25 02:05:39 -05:00
Jordon Bedwell f054bae503 Add support for JRuby, it was easier than assumed. 2015-05-15 07:10:22 -05:00