Skip to content

Commit

Permalink
Removed the browser tool
Browse files Browse the repository at this point in the history
  • Loading branch information
Ary Borenszweig committed Jan 23, 2016
1 parent 94d1b4b commit ed88d5f
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 343 deletions.
9 changes: 0 additions & 9 deletions src/compiler/crystal/command.cr
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@ USAGE
Usage: crystal tool [tool] [switches] [program file] [--] [arguments]
Tool:
browser open an http server to browse program file
context show context for given location
format format project, directories and/or files
hierarchy show type hierarchy
Expand Down Expand Up @@ -116,9 +115,6 @@ USAGE
tool = options.first?
if tool
case
when "browser".starts_with?(tool)
options.shift
browser
when "context".starts_with?(tool)
options.shift
context
Expand Down Expand Up @@ -155,11 +151,6 @@ USAGE
config.compile
end

private def browser
config, result = compile_no_codegen "tool browser"
Browser.open result.original_node
end

private def eval
if options.empty?
program_source = STDIN.gets_to_end
Expand Down
1 change: 0 additions & 1 deletion src/compiler/crystal/compiler.cr
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
require "option_parser"
require "file_utils"
require "socket"
require "http/common"
require "colorize"
require "crypto/md5"

Expand Down
333 changes: 0 additions & 333 deletions src/compiler/crystal/tools/browser.cr

This file was deleted.

0 comments on commit ed88d5f

Please sign in to comment.