module Brun

Defined in:

brun.cr

Constant Summary

BUILDER = {".cr" => ->(main : String, output : String, dir : String) do pp(Run.call("crystal", ["build", main, "-o", output], chdir: dir)) end, ".go" => ->(main : String, output : String, dir : String) do pp(Run.call("go", ["build", "-o", output], chdir: dir)) end}
OUTPUT_SUBDIR = "brun"
VCS = {git: ->(dir : String) do stdout = IO::Memory.new Process.run("git", ["rev-parse", "--show-toplevel"], output: stdout, chdir: dir) stdout.to_s.chomp end}
VERSION = "0.1.0"

Class Method Summary

Class Method Detail

def self.call(entry, args) #

[View source]