Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/omnet/blob/main/tools/build-tkad.sh # omnet aien-dev/omnet Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `main` Branches Tags History `omnet / tools / build-tkad.sh` 20 lines ยท 1006 bytes Raw Blame History 1 #!/bin/sh 2 # SPDX-License-Identifier: Apache-2.0 3 # Build production Omega only. Optional output path, default build/tkad. 4 set -eu 5 root=$(CDPATH= cd -- "$(dirname -- "$0")/.." && pwd) 6 omc=$(sh "$root/tools/omc.sh") 7 out=${1:-"$root/build/tkad"} 8 mkdir -p "$(dirname -- "$out")" 9 src="$out.om" 10 cat "$root/om/quantity/quantity.om" "$root/om/blake2s/blake2s.om" "$root/om/sha512/sha512.om" \ 11 "$root/om/`ed25519`/`ed25519`.om" "$root/om/blake2b/blake2b.om" \ 12 "$root/om/argon2/argon2.om" "$root/om/argon2/argon2pool.om" \ 13 "$root/om/codec/codec.om" "$root/om/cbor/cbor.om" \ 14 "$root/om/tka/tka.om" "$root/om/tka/tkastate.om" "$root/om/tka/tkapool.om" \ 15 "$root/om/tkasig/tkasig.om" "$root/om/json/json.om" "$root/om/store/store.om" "$root/om/store/storepool.om" \ 16 "$root/cmd/tkad/state.om" "$root/cmd/tkad/helpers.om" "$root/cmd/tkad/rpc.om" \ 17 "$root/cmd/tkad/adapter.om" "$root/cmd/tkad/socket.om" "$root/cmd/tkad/main.om" > "$src" 18 "$omc" < "$src" > "$out" 19 chmod +x "$out" 20 printf '%s\n' "$out"