From 4dfe2cf04e86b36bfa4ecde9982e67707422d770 Mon Sep 17 00:00:00 2001 From: Caznix Date: Sun, 28 Jul 2024 19:59:32 -0400 Subject: [PATCH] test --- build.vsh | 4 ++-- src/main.v | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/build.vsh b/build.vsh index d1c413b..948d8cf 100644 --- a/build.vsh +++ b/build.vsh @@ -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) } diff --git a/src/main.v b/src/main.v index 159eea5..7054075 100644 --- a/src/main.v +++ b/src/main.v @@ -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') } }