fix: normalize bundle paths and finish fixture manifest migration
This commit is contained in:
@@ -53,7 +53,7 @@ async fn commits_and_restart() -> anyhow::Result<()> {
|
||||
"sausage-archive-tools",
|
||||
"--manifest-path"
|
||||
])
|
||||
.arg(userland.join("Cargo.toml"))
|
||||
.arg(userland.join("../Cargo.toml"))
|
||||
.args(["--target", "wasm32-wasip2", "--target-dir"])
|
||||
.arg(target)
|
||||
.args(["-j", "2", "--locked"])
|
||||
|
||||
@@ -30,7 +30,7 @@ fn prepare(dir: &Path) -> anyhow::Result<()> {
|
||||
"sausage-archive-tools",
|
||||
"--manifest-path"
|
||||
])
|
||||
.arg(userland.join("Cargo.toml"))
|
||||
.arg(source.join("Cargo.toml"))
|
||||
.args(["--target", "wasm32-wasip2", "--target-dir"])
|
||||
.arg(target)
|
||||
.args(["-j", "2", "--locked"])
|
||||
|
||||
+1
-1
@@ -1,7 +1,7 @@
|
||||
#!/usr/bin/env nu
|
||||
# Build independent commands and plain source files. World creation initializes their repository.
|
||||
def main [destination?: path] {
|
||||
let here = $env.FILE_PWD
|
||||
let here = ($env.FILE_PWD | path expand)
|
||||
let destination = ($destination | default ($here | path join .. target userland bundle) | path expand)
|
||||
let bin = ($destination | path join bin)
|
||||
let object = ($here | path join cwd-init init.o)
|
||||
|
||||
Reference in New Issue
Block a user