Skip to content

Commit

Permalink
Update installation snippet to adapt to workspace migration (#160)
Browse files Browse the repository at this point in the history
<!--- Please provide a general summary of your changes in the title
above -->

## Pull Request type

<!-- Please try to limit your pull request to one type; submit multiple
pull requests if needed. -->

Please check the type of change your PR introduces:

- [ ] Bugfix
- [ ] Feature
- [ ] Code style update (formatting, renaming)
- [ ] Refactoring (no functional changes, no API changes)
- [ ] Build-related changes
- [x] Documentation content changes
- [ ] Other (please describe):

## What is the current behavior?

Installation instructions in readme do not work after #154.

## What is the new behavior?

They work now :)

## Does this introduce a breaking change?

- [ ] Yes
- [x] No

<!-- If this does introduce a breaking change, please describe the
impact and migration path for existing applications below. -->

## Other information

<!-- Any other information that is important to this PR, such as
screenshots of how the component looks before and after the change. -->
  • Loading branch information
mkaput authored Aug 11, 2023
1 parent 0891274 commit c2298ba
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,12 @@ This repository is divided in 8 modules:

### Installation

Alexandria is a collection of cairo utilities, which can be installed by adding the following line to your `Scarb.toml`:
Alexandria is a collection of utility Cairo packages, which have to be added as dependencies separately.
For example, the `alexandria_math` package can be installed by adding the following line to your `Scarb.toml`:

```toml
[dependencies]
alexandria = { git = "https://github.com/keep-starknet-strange/alexandria.git" }
alexandria_math = { git = "https://github.com/keep-starknet-strange/alexandria.git" }
```

then add the following line in your `.cairo` file
Expand Down

0 comments on commit c2298ba

Please sign in to comment.