Skip to content

Commit 0eeedfa

Browse files
committed
add instructions for building a local package
1 parent 573eaa2 commit 0eeedfa

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

README.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,11 @@ docker-compose run web build crate <CRATE_NAME> <CRATE_VERSION>
8989
# Builds every crate and adds them into database
9090
# (beware: this may take months to finish)
9191
docker-compose run web build world
92+
93+
# Builds a local package you have at <SOURCE> and adds it to the database.
94+
# The package does not have to be on crates.io.
95+
# The package must be on the local filesystem, git urls are not allowed.
96+
docker-compose run -v "$(realpath <SOURCE>)":/build web build crate --local /build
9297
```
9398

9499

0 commit comments

Comments
 (0)