Forum | Documentation | Website | Blog

Skip to content
Snippets Groups Projects
Commit fc2a4ddc authored by Ary Borenszweig's avatar Ary Borenszweig
Browse files

Use relative files for spec and Projectfile in compiler command

parent d257aa02
Branches
Tags
No related merge requests found
......@@ -141,10 +141,10 @@ module Crystal::Command
options << "-l" << target_line
end
else
target_filename = "spec/**"
target_filename = "./spec/**"
end
else
target_filename = "spec/**"
target_filename = "./spec/**"
end
compiler = Compiler.new
......@@ -158,7 +158,7 @@ module Crystal::Command
private def self.deps(options)
compiler = Compiler.new
sources = gather_sources(["Projectfile"])
sources = gather_sources(["./Projectfile"])
sources.insert 0, Compiler::Source.new("require", %(require "project"))
output_filename = tempfile "deps"
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment