test
This commit is contained in:
parent
9e4c713c24
commit
4dfe2cf04e
|
@ -5,13 +5,13 @@ fn sh(cmd string) {
|
|||
print(execute_or_exit(cmd).output)
|
||||
}
|
||||
|
||||
sh('ls')
|
||||
//sh('ls')
|
||||
|
||||
rmdir_all('build') or {}
|
||||
mkdir('build')!
|
||||
|
||||
result := execute('mv *.v build/')
|
||||
if result.exit_code ! /= {
|
||||
if result.exit_code != 0 {
|
||||
println(result.output)
|
||||
}
|
||||
|
||||
|
|
|
@ -11,8 +11,8 @@ fn main() {
|
|||
name: 'Comet'
|
||||
description: 'The package manager you never knew you needed'
|
||||
usage: 'test'
|
||||
pre_execute: fn (cmd cli.Command) ! {
|
||||
if initalizer.check_initalization() ! {
|
||||
pre_execute: fn (cmd cli.Command) != {
|
||||
if initalizer.check_initalization() != {
|
||||
println('initalization required')
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue