Added build command
This commit is contained in:
parent
4f2bb677dc
commit
56bb014b51
7 changed files with 103 additions and 12 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue