summaryrefslogtreecommitdiff
path: root/rake_tasks
Commit message (Collapse)AuthorAgeFilesLines
* issue #45: new command line interface!murphy2011-06-171-1/+1
|
* Rake task cleanups and updates. Not living in the past any more.murphy2011-06-122-11/+23
|
* more task cleanups; speedup Rakefile loadingmurphy2011-06-122-1/+4
|
* cleaning up gem tasksmurphy2011-06-121-71/+40
|
* update tasks for recent Rake versionsmurphy2011-06-111-2/+2
|
* updated benchmark script: use Nx param to repeat x times, KB means kilo (1000)murphy2011-04-171-1/+1
|
* remove deprecated has_rdoc specmurphy2011-04-121-1/+0
|
* removed all ruby engine tasks (use rvm), added ruby:version task to show the ↵murphy2011-03-071-52/+10
| | | | current engine
* added bin folder to the statisticsmurphy2011-03-071-0/+1
|
* removed test:all tasks - using rvm now.murphy2011-03-071-53/+3
|
* Fixed code statistics (added executable and unit tests, removed double ↵murphy2010-06-291-3/+5
| | | | counting of coderay.rb).
* Added lots of unit tests.murphy2010-06-291-1/+25
| | | | Theses actually come from the library files; now they are included. Also, rake test and test:all don't test the scanners now; you have to start them using rake test:scanners.
* Updated generate:scanner task to include .debug.diff.html files in svn:ignore.murphy2010-06-151-1/+1
|
* Added coderay executable tests.murphy2010-06-111-1/+6
|
* Added 191 task, added 191 and 187 to the list of test:all Ruby versions.murphy2010-04-283-2/+6
|
* diff task now supports repositories which have a folder named "diff".murphy2010-04-281-7/+12
|
* gem task: Make automatic beta recognition and pre switch play nice together.murphy2010-04-021-4/+3
|
* Upporting changes from 0.9.2 (vs. 0.9.1).murphy2010-03-316-103/+91
|
* test:clean task removes debug.diff.html too.murphy2010-03-261-0/+3
|
* Documentation: Don't include protected and private methods, and handle ↵murphy2010-01-201-2/+2
| | | | coderay.rb last (fixes some issues).
* Cleanup *.debug.diff files in test:clean task.murphy2010-01-201-0/+3
|
* Cleanup for gem.rake: more intelligent, removed obsolete code.murphy2010-01-011-37/+8
|
* Cleaning up functional tests; test:functional scans without loading Rubygems ↵murphy2010-01-011-1/+7
| | | | now.
* Preparing for 0.9.1.murphy2009-12-311-2/+4
|
* Fixed example tests.murphy2009-12-311-1/+4
| | | | | | | | | | | * test:clean task also deletes .expected.html files * LinesOfCode encoder can deal with tokens that have no scanner. Tests were added for this. * JSON encoder load rubygems if necessary. * NEW :loc as an alias for :lines_of_code * NEW Scanner methods marshal_dump, marshal_load FIXED Tokens dumping (failed while trying to dump @scanner)
* Fixing rake task names.murphy2009-12-301-2/+2
|
* New rake tasks test:scanner:lang for every language.murphy2009-12-301-1/+12
|
* Copying changes and fixes for 0.9.0rc3 from terminal-encoder branch over to ↵murphy2009-12-282-1/+4
| | | | trunk.
* RubyEE no longer included in test:all.murphy2009-04-221-1/+1
| | | | | It always reacts the same way as my default Ruby 1.8.
* Fixed generate:scanner task; it now also sets the file_extension.murphy2009-04-141-2/+3
| | | | | | | For example, to create a stub for the Python Scanner, I can use: rake generate:scanner NAME=python BASE=c EXT=py
* Added a generate:scanner task for easy Scanner generation.murphy2009-04-141-0/+74
| | | | | | | | | | It automates: * generation of a new scanner class based on an existing scanner (JSON scanner as default) * generation and initialization of a test suite folder * addition of the generated files to SVN It also helps a bit with _map.rb and file_type.rb, but is not editing the files.
* Fixed highlighting in documentation (#86).murphy2009-02-201-1/+1
|
* Fixed a bug in for_redcloth.rb (closes #87).murphy2009-02-181-0/+16
| | | | | | * No more closing PRE tags in RedCloth output. * Added j, j19, and test:functional:all tasks.
* Fixed documentation of CodeRay module (was not included by doc task).murphy2009-02-071-0/+1
|
* Updated version number (to 0.9.0) and gem information.murphy2009-02-061-5/+5
|
* Added test:all rake task for testing CodeRay on all platforms.murphy2009-01-131-26/+43
|
* Fixed gem task.murphy2009-01-121-2/+2
|
* Added rake task to copy the generated documentation over to the CodeRay website.murphy2009-01-121-0/+5
|
* Fixed documentation links.murphy2009-01-121-1/+1
|
* Fixed documentation, moved README into lib folder.murphy2009-01-051-25/+5
|
* Less verbose rake output, but with Ruby version.murphy2008-12-251-0/+1
|
* Changed CodeRay.for_redcloth into require 'coderay/for_redcloth'.murphy2008-08-281-10/+4
| | | | | * Cleanup in documentation.rake.
* Added diff task and a Redmine TODO.murphy2008-08-111-0/+86
|
* Trying to fix doc task for 1.9murphy2008-01-211-2/+6
|
* - fixed a bug in coderay_suite (break outside of loop?)murphy2008-01-122-4/+4
| | | | | | | | - made test and bench tasks run with all implementations - included term/ansicolor in lib (will need in some day anyway) as svn:external (this also means that tests will be colorful on all rubys) - incremented CodeRay version number (we're near...)
* Lib:murphy2008-01-071-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | - Encoder: removed a warning - Encoders::HTML: don't shadow outer variable - Plugin: move require_plugin into class namespace - Ruby Scanner: - "alias" keyword recognition - better regexp/division distinction - recognize ~, !, !=, and !~ as method names (partly Ruby 1.9 only) - reordered states for speed Tests: - updated coderay-suite to use gem instead of require_gem - general improvements (more colors!, new parameter: new, new syntax lang.test for only and new) - fixed ruby suite - adjusted a lot of Ruby tests (alias uses methods now) - new tests: ruby/operators, ruby/regexp Samples: - fixed/updated ('bout time) Rake tasks: - updated to use new rubygems API
* Done:murphy2007-01-014-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | General: - Declared version 0.7.6. - Moved WordList, CaseIgnoringWordList, Plugin, PluginHost and FileType into CodeRay namespace. CodeRay should be "clean" now, except for the String#to_unix helper function. - Fixed a bit of documentation. - CodeRay binary: Prepare for streaming switch. Scanners: - Added code= alias for string=. - Added streaming? method: Is this Scanner in streaming mode? - Enhanced error info a bit. - Ruby scanner: - Highlights Regexp heredocs now. They may be added to Ruby 1.9. - Speedups with better support for Ruby 1.9. - Change in whitespace handling (faster and cleaner now.) - Speed up some operator recognition (saving two string comparisons). - Declared C and Plaintext Scanners as Streamable. Tokens: - Changed Text/Block token recognition (#is_a? ::String for Ruby 1.9 support). - New method: Tokens#text yields the code string. - text_size fixed. - Token kind shortcuts (like r for reserved) are now defined in token_classes.rb (instead of encoders/html/classes.rb). Encoders: - Debug Scanner added. - Base encoder class adds to @out when encoding (if @out is set). - A little Tokens scanner speedup. - Text encoder uses text_token. - Statistic encoder counts block tokens. - Smaller changes in XML and HTML encoders. Styles: - cYcnus style defines a debug class now. Duo: - scanner and encoder are now methods. Scanner and Encoder are created (and cached) when needed, not earlier. - Documented. Tests: - Disabled encoder and scanner list check (breaks too often). - Added identity test, which checks if tokens#text matches the input. - Added nocolor switch. Developer tools: - Benchmark uses Encoder#file_extension for output now. - Rakefile: Support for 19, 18, yarv and ruby switches for easy comparing different Ruby versions. - Statistic: Demos are no longer tests.
* Don't run tests in debug mode per default.murphy2006-10-191-3/+3
|
* Added functional test task and renamed all test task descriptions.murphy2006-10-171-4/+9
| | | | | | rake test now runs both functional and scanner tests! Deleted stupid classes test.
* Renamed CodeRay::Version to CodeRay::VERSION.murphy2006-10-171-1/+1
|