user: reorganize userspace directories
This commit is contained in:
parent
3567b79e1d
commit
8deeb3ac9e
@ -1,27 +1,26 @@
|
|||||||
[workspace]
|
[workspace]
|
||||||
resolver = "1"
|
resolver = "1"
|
||||||
members = [
|
members = [
|
||||||
"init",
|
|
||||||
"shell",
|
|
||||||
"sysutils",
|
|
||||||
"red",
|
|
||||||
"colors",
|
|
||||||
"term",
|
|
||||||
"lib/libcolors",
|
|
||||||
"lib/libterm",
|
|
||||||
"netutils",
|
|
||||||
"netutils",
|
|
||||||
"dyn-loader",
|
"dyn-loader",
|
||||||
"rdb",
|
"graphics/colors",
|
||||||
"lib/yasync",
|
"graphics/term",
|
||||||
"rsh",
|
|
||||||
"lib/cross",
|
"lib/cross",
|
||||||
"crypt",
|
"lib/libcolors",
|
||||||
|
"lib/libpsf",
|
||||||
|
"lib/libterm",
|
||||||
|
"lib/logsink",
|
||||||
"lib/runtime",
|
"lib/runtime",
|
||||||
"lib/uipc",
|
"lib/uipc",
|
||||||
"lib/logsink",
|
"lib/yasync",
|
||||||
"lib/libpsf",
|
"netutils",
|
||||||
"strace"
|
"sysutils",
|
||||||
|
"tools/crypt",
|
||||||
|
"tools/init",
|
||||||
|
"tools/rdb",
|
||||||
|
"tools/red",
|
||||||
|
"tools/rsh",
|
||||||
|
"tools/shell",
|
||||||
|
"tools/strace",
|
||||||
]
|
]
|
||||||
exclude = ["dynload-program", "test-kernel-module", "lib/ygglibc"]
|
exclude = ["dynload-program", "test-kernel-module", "lib/ygglibc"]
|
||||||
|
|
||||||
|
@ -1,28 +0,0 @@
|
|||||||
let x = 123
|
|
||||||
let y = [1, 2, $x]
|
|
||||||
|
|
||||||
fn f(a, b) {
|
|
||||||
echo ${a}
|
|
||||||
cat "/some/path/$b.txt"
|
|
||||||
}
|
|
||||||
|
|
||||||
fn g(xs) {
|
|
||||||
for item in $xs {
|
|
||||||
echo "* $item"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
fn h() {
|
|
||||||
let counter = 0
|
|
||||||
for line in io:lines() {
|
|
||||||
echo "$counter $line"
|
|
||||||
counter = $counter + 1
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
a \
|
|
||||||
b \
|
|
||||||
c
|
|
||||||
|
|
||||||
f $x "filename"
|
|
||||||
g $y | h >output.txt
|
|
@ -26,7 +26,7 @@ tui.workspace = true
|
|||||||
regex = "1.11.1"
|
regex = "1.11.1"
|
||||||
pci-ids = { version = "0.2.5" }
|
pci-ids = { version = "0.2.5" }
|
||||||
|
|
||||||
init = { path = "../init" }
|
init = { path = "../tools/init" }
|
||||||
|
|
||||||
[target.'cfg(target_os = "yggdrasil")'.dependencies]
|
[target.'cfg(target_os = "yggdrasil")'.dependencies]
|
||||||
yggdrasil-abi.workspace = true
|
yggdrasil-abi.workspace = true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user