Skip to content

Commit 5075056

Browse files
committed
copied build scripts to rune folder
1 parent d502e42 commit 5075056

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed
File renamed without changes.
File renamed without changes.

rune/main.go

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,17 @@ import (
99

1010
/*********************************************************
1111
*
12-
* To build the rune binary: use the build.bat on windows or build.sh on linux
12+
* To build the rune binary: use the build.bat on windows or build.sh on linux/macos
1313
*
1414
**********************************************************/
1515

16-
16+
const version = "v0.1.36"
1717

1818
func main() {
1919
args := os.Args
2020
if len(args) < 2 {
21-
fmt.Println("USAGE: rune <sourcefile>")
21+
fmt.Printf("Rune interpreter %s\n", version)
22+
fmt.Println(" USAGE: rune <sourcefile>")
2223
os.Exit(1)
2324
}
2425
source, err := os.ReadFile(args[1])

0 commit comments

Comments
 (0)