Skip to content

Commit

Permalink
fix(cli): 🐛 removed distribution artifacts from cli subcrates
Browse files Browse the repository at this point in the history
It used to inline the `dist/` directory, which Bonnie now deletes automatically.
  • Loading branch information
arctic-hen7 committed Nov 3, 2021
1 parent 7f8e2f2 commit ebca95c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion bonnie.toml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,12 @@ copy-subcrates.cmd = [
"cp -r ../../examples/basic/.perseus/ .perseus/",
"mv .perseus/Cargo.toml .perseus/Cargo.toml.old",
"mv .perseus/server/Cargo.toml .perseus/server/Cargo.toml.old",
"mv .perseus/builder/Cargo.toml .perseus/builder/Cargo.toml.old"
"mv .perseus/builder/Cargo.toml .perseus/builder/Cargo.toml.old",
# Remove distribution artifacts (they clog up the final bundle)
"rm -rf .perseus/dist",
"mkdir -p .perseus/dist",
"mkdir -p .perseus/dist/static",
"mkdir -p .perseus/dist/exported",
]
copy-subcrates.desc = "copies `.perseus/` into the CLI directory for packaging/usage"

Expand Down

0 comments on commit ebca95c

Please sign in to comment.