Add an "umbrella" crate, which seeks to provide a convenient interface.
This currently pulls in cretonne-codegen and cretonne-frontend and provides a simple prelude interface. This fixes #287.
This commit is contained in:
@@ -19,6 +19,7 @@ cretonne-frontend = { path = "lib/frontend", version = "0.4.4" }
|
||||
cretonne-wasm = { path = "lib/wasm", version = "0.4.4" }
|
||||
cretonne-native = { path = "lib/native", version = "0.4.4" }
|
||||
cretonne-filetests = { path = "lib/filetests", version = "0.4.4" }
|
||||
cretonne = { path = "lib/umbrella", version = "0.4.4" }
|
||||
filecheck = "0.2.1"
|
||||
docopt = "0.8.0"
|
||||
serde = "1.0.8"
|
||||
|
||||
@@ -27,7 +27,13 @@ cargo update
|
||||
|
||||
echo git commit -a -m "\"Bump version to $version"\"
|
||||
echo git push
|
||||
for crate in entity codegen frontend native reader wasm ; do
|
||||
for crate in entity codegen frontend native reader wasm umbrella ; do
|
||||
if [ "$crate" == "umbrella" ]; then
|
||||
dir="cretonne"
|
||||
else
|
||||
dir="$crate"
|
||||
fi
|
||||
|
||||
echo cargo publish --manifest-path "lib/$crate/Cargo.toml"
|
||||
done
|
||||
echo
|
||||
|
||||
Reference in New Issue
Block a user