Added build command

This commit is contained in:
2023-10-17 15:10:35 +02:00
parent c3925e86b3
commit cae6696c3e
7 changed files with 103 additions and 12 deletions

View File

@ -14,9 +14,12 @@ func TestCLI(t *testing.T) {
}
tests := []cliTest{
{[]string{}, 1},
{[]string{"invalid"}, 1},
{[]string{}, 2},
{[]string{"invalid"}, 2},
{[]string{"system"}, 0},
{[]string{"build", "non-existing-directory"}, 1},
{[]string{"build", "examples/hello/hello.q"}, 2},
{[]string{"build", "examples/hello", "--invalid"}, 2},
}
for _, test := range tests {