Skip to content
Browse files

Delete unused Rakefile

  • Loading branch information...
1 parent 46ba78e commit c3c53784a5fca2bc165b0868cb279c0c8fdfe7ae @gf3 committed Feb 3, 2014
Showing with 0 additions and 35 deletions.
  1. +0 −35 Rakefile
View
35 Rakefile
@@ -1,35 +0,0 @@
-require 'rubygems'
-require 'rake'
-require 'pdoc'
-
-PWD = Dir.pwd
-OUTPUT_DIR = '/tmp/irc-js_docs'
-
-desc 'Builds the documentation'
-task :build_doc do
- PDoc.run({
- source_files: [ File.join( File.dirname( __FILE__ ), 'lib', 'irc.js' ) ],
- destination: OUTPUT_DIR,
- syntax_highlighter: :pygments,
- markdown_parser: :maruku,
- src_code_text: 'View Source on GitHub →',
- src_code_href: -> o { "https://github.com/gf3/IRC-js/blob/master/#{o.file.gsub PWD + '/', ''}#L#{o.line_number}" },
- pretty_urls: true,
- bust_cache: true,
- name: 'IRC-js | An IRC library for node.js',
- short_name: 'IRC-js',
- home_url: 'https://github.com/gf3/IRC-js',
- doc_url: 'https://gf3.github.com/IRC-js',
- version: '0.2.18',
- copyright_notice: 'This work is <a href="http://github.com/gf3/IRC-js/blob/master/UNLICENSE">UNLICENSED</a>.'
- })
-end
-
-desc 'Empties output directory'
-task :remove_doc do
- rm_rf Dir.glob( File.join( OUTPUT_DIR, '*' ) )
-end
-
-desc 'Empties the output directory and builds the documentation.'
-task :doc => [ :remove_doc, :build_doc ]
-

0 comments on commit c3c5378

Please sign in to comment.
Something went wrong with that request. Please try again.