Skip to content

Commit

Permalink
Deps?
Browse files Browse the repository at this point in the history
  • Loading branch information
infogulch committed Jul 3, 2024
1 parent 14b4c64 commit 11f5967
Showing 1 changed file with 3 additions and 7 deletions.
10 changes: 3 additions & 7 deletions make_tool.cue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (
"tool/file"
"tool/os"

"encoding/json"
// "encoding/json"
// "tool/cli"
)

Expand Down Expand Up @@ -64,10 +64,6 @@ task: build: {
dir: vars.rootdir
mustSucceed: true
}

display: exec.Run & {
cmd: ["echo", "go", "build", "-ldflags", vars.ldflags, "-buildmode", "exe", "-o", outfile, "./cmd", "success:", json.Marshal(gobuild)]
}
}

task: run: {
Expand All @@ -84,8 +80,8 @@ task: run: {
}

start: exec.Run & {
$after: [mkdataw, mklog, gobuild.gobuild.$done]
cmd: ["bash", "-c", "./xtemplate --loglevel -4 -d DB:sql:sqlite3:file:./dataw/test.sqlite -d FS:fs:./data --config-file config.json"]
$after: [mkdataw.$done, mklog.$done, gobuild.gobuild.$done]
cmd: ["bash", "-c", "./xtemplate --loglevel -4 -d DB:sql:sqlite3:file:./dataw/test.sqlite -d FS:fs:./data --config-file config.json >\(mklog.filename) 2>&1"]
dir: vars.testdir
}
}
Expand Down

0 comments on commit 11f5967

Please sign in to comment.