Skip to content

Commit

Permalink
add readme with instructions to the _macro_tool (#107)
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemac53 authored Oct 21, 2024
1 parent a482288 commit 29f3b3c
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pkgs/_macro_tool/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
A tool for running macro examples end to end.

## Example usage

The following will run the json_codable example, assuming you start at the root
of this repo:

```bash
dart pkgs/_macro_tool/bin/main.dart \
--workspace=goldens/foo \
--packageConfig=.dart_tool/package_config.json \
--script=goldens/foo/lib/json_codable_test.dart
```

You can also enable watch mode using `--watch`.

0 comments on commit 29f3b3c

Please sign in to comment.