package-type imports
This commit is contained in:
@@ -6,10 +6,10 @@ import "core:os/os2"
|
||||
|
||||
main :: proc() {
|
||||
if len(os2.args) != 4 || os2.args[2] != "-o" {
|
||||
fmt.eprintln("usage: brolang <input.bro> -o <executable>")
|
||||
fmt.eprintln("usage: brolang <package-directory> -o <executable>")
|
||||
os2.exit(2)
|
||||
}
|
||||
status := compiler.compile_file(os2.args[1], os2.args[3])
|
||||
status := compiler.compile_package(os2.args[1], os2.args[3])
|
||||
if status != 0 {
|
||||
os2.exit(status)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user