drift/docs
Greg Price 3ab33227b7 Make explicit `schema generate` command for migration data tests
These flags are mentioned in the prose of this section, but it's
easy to miss them (or at least, I missed them) there and rely on
the `schema generate` command given in the previous section.
That one generates the expected files, but with this section's code
it leads to an error:

    Unsupported operation: TableInfo.map in schema verification code

because the generated code has a stub implementation of `map`.

Make it easier to spot the need for these flags by providing an
explicit complete command using them.
2023-02-28 11:34:13 -08:00
..
assets/path_provider Extract snippets for documentation 2022-02-13 16:55:57 +01:00
lib Add `insertFromSelect` Dart API 2023-02-25 15:29:55 +01:00
pages Make explicit `schema generate` command for migration data tests 2023-02-28 11:34:13 -08:00
templates Update docs for Dart components in SQL 2023-01-22 22:53:45 +01:00
test Add docs on schema reflection 2023-02-17 18:21:52 +01:00
tool Delete conflicting outputs when building docs 2023-01-23 15:39:25 +01:00
web Add Flutter favorite icon to website 2021-12-09 00:21:57 +01:00
README.md Simplify documentation setup 2022-10-25 22:15:09 +02:00
analysis_options.yaml Migrate to `package:lints` 2022-08-13 23:33:05 +02:00
build.yaml Deprecate special connect constructor 2023-01-28 16:53:35 +01:00
pubspec.yaml Update docs for Dart components in SQL 2023-01-22 22:53:45 +01:00
theme.yaml Add search to documentation 2021-08-09 18:32:09 +02:00
website.yaml Replace old website and repository links 2022-03-13 15:52:15 +01:00

README.md

Drift documentation

Welcome to the source of drift's documentation, live at drift.simonbinder.eu. We use a static site generator based on build_runner to build the documentation.

Running the website locally

For a fast edit-refresh cycle, run

dart run build_runner serve web:8080 --live-reload

Building the website

To build the website into a directory out, use:

dart run build_runner build --release --output web:out