mirror of https://github.com/AMT-Cheif/drift.git
Document how to use a moor beta/dev version on website
This commit is contained in:
parent
2da8577b01
commit
5d6fcec438
|
@ -0,0 +1,37 @@
|
|||
---
|
||||
title: "Moor internals"
|
||||
weight: 300000
|
||||
description: Work in progress documentation on moor internals
|
||||
---
|
||||
|
||||
## Using an unreleased moor version
|
||||
|
||||
To try out new moor features, you can choose to use a development or beta version of moor before it's
|
||||
published to pub. For that, add an `dependency_overrides` section to your pubspec:
|
||||
|
||||
```yaml
|
||||
dependency_overrides:
|
||||
moor:
|
||||
git:
|
||||
url: https://github.com/simolus3/moor.git
|
||||
ref: beta
|
||||
path: moor
|
||||
moor_ffi:
|
||||
git:
|
||||
url: https://github.com/simolus3/moor.git
|
||||
ref: beta
|
||||
path: moor_ffi
|
||||
moor_generator:
|
||||
git:
|
||||
url: https://github.com/simolus3/moor.git
|
||||
ref: beta
|
||||
path: moor_generator
|
||||
sqlparser:
|
||||
git:
|
||||
url: https://github.com/simolus3/moor.git
|
||||
ref: beta
|
||||
path: sqlparser
|
||||
```
|
||||
|
||||
If you're using `moor_flutter`, just exchange `moor_ffi` with `moor_flutter` in the package name
|
||||
and path. To use the bleeding edge of moor, change `ref: beta` to `ref: develop` for all packages.
|
Loading…
Reference in New Issue