make.bat for easier compilation on Windows

pull/1003/head
Alexander Medvednikov 2019-07-04 20:42:16 +02:00
parent 9e4ae929a4
commit 9b0bb2f72c
2 changed files with 4 additions and 2 deletions

View File

@ -659,7 +659,6 @@ fn (p mut Parser) check(expected Token) {
}
fn (p mut Parser) error(s string) {
//q := "SDF"
// Dump all vars and types for debugging
if false {
//file_types := os.create('$TmpPath/types')
@ -671,7 +670,7 @@ fn (p mut Parser) error(s string) {
//file_types.close()
//file_vars.close()
}
if !p.pref.is_repl {
if p.pref.is_verbose {
println('pass=$p.run fn=`$p.cur_fn.name`')
}
p.cgen.save()

3
make.bat 100644
View File

@ -0,0 +1,3 @@
curl -O https://raw.githubusercontent.com/vlang/vc/master/v.c
gcc -std=gnu11 -w -o v.exe v.c
del v.c