moved crates in lib/ to src/, renamed crates, modified some files' text (#660)

moved crates in lib/ to src/, renamed crates, modified some files' text (#660)
This commit is contained in:
lazypassion
2019-01-28 18:56:54 -05:00
committed by Dan Gohman
parent 54959cf5bb
commit 747ad3c4c5
508 changed files with 94 additions and 92 deletions

View File

@@ -15,7 +15,7 @@ version="0.28.0"
#
# The main Cargo.toml in the top-level directory is the cranelift-tools crate which we don't publish.
echo "Updating crate versions to $version"
for crate in . lib/* lib/codegen/meta; do
for crate in . * cranelift-codegen/meta; do
# Update the version number of this crate to $version.
sed -i.bk -e "s/^version = .*/version = \"$version\"/" \
"$crate/Cargo.toml"
@@ -41,5 +41,5 @@ for crate in \
reader wasm module \
faerie umbrella simplejit
do
echo cargo publish --manifest-path "lib/$crate/Cargo.toml"
echo cargo publish --manifest-path "$crate/Cargo.toml"
done