namada
namada copied to clipboard
Refactor anoma commands to namada
based on #733
relevant commits:
for f in apps/**/*anoma*; do echo "$f"; mv "$f" "$(echo $f | sed -e 's/anoma/namada/')"; done
LC_ALL=C find . \( -path ./target -prune -o -path ./.git -prune -o -path ./.changelog -prune -o -path ./CHANGELOG.md -prune -o -path '*/book.toml' -prune -o -path '*.wasm' -prune \) -o -type f -exec sed -i -r 's/ANOMA/NAMADA/g; s/Anoma/Namada/g; s/anoma/namada/g; s/github.com\/namada/github.com\/anoma/; s/ghcr.io\/namada/ghcr.io\/anoma/; s/cache_key:\ namada/cache_key: anoma/; s/namada-iac/anoma-iac/; s/namada-github/anoma-github/; s/namada-network-config/anoma-network-config/' {} \;
(assuming GNU sed - if you wanna run this with mac default sed, change -i to -i '')
and add
diff --git a/.gitignore b/.gitignore
index 5e9e876760..5832cd2626 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,5 +1,6 @@
# Namada default home dir
/.namada
+/.anoma
# Generated by Cargo
# will have compiled files and executables
there're some missing changes in .github/* and .gitignore - I'm gonna rebase on #733 and add these
merged via https://github.com/anoma/namada/commit/244c7a5665d43297eaddf675f0dcbc16fac1d8f0