Skip to content
This repository has been archived by the owner on Feb 4, 2025. It is now read-only.

Commit

Permalink
add readme with instructions to the _macro_tool
Browse files Browse the repository at this point in the history
  • Loading branch information
jakemac53 committed Oct 18, 2024
1 parent a482288 commit 1262f21
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 1262f21

Please sign in to comment.