Skip to content

Commit

Permalink
Consolidate bootstrap flags documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayman-Barghout committed Dec 18, 2023
1 parent 11b1cc3 commit de22390
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions docs/commands/bootstrap.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -19,13 +19,6 @@ melos bs
Bootstrapping has two primary functions:

1. Installing all package dependencies (internally using `pub get`).
Optionally, you can use the `--no-example`` flag to exclude flutter package's example's dependencies (https://github.com/dart-lang/pub/pull/3856):
```bash
melos bootstrap --no-example
# or
melos bs --no-example
```
this will run `pub get --no-example` instead of `pub get`
2. Locally linking any packages together via path dependency overrides _without
having to edit your pubspec.yaml_.

Expand Down Expand Up @@ -93,7 +86,8 @@ melos bootstrap --diff="main"

## Bootstrap flags


- `--no-example` flag to exclude flutter package's example's dependencies (https://github.com/dart-lang/pub/pull/3856)
- This will run `pub get` with the `--no-example`
- `--enforce-lockfile` flag to enforce versions from `.lock` files
- Ensure .lock files exist, as failure may occur if they're not checked in.

Expand Down

0 comments on commit de22390

Please sign in to comment.