Skip to content

Latest commit

 

History

History
51 lines (42 loc) · 1.13 KB

DEVELOPER_NOTES.md

File metadata and controls

51 lines (42 loc) · 1.13 KB

Developer Notes

Publishing

  1. Make your changes.
  2. Run dart analyze to check for errors.
  3. Run dart fix --apply to apply fixes.
  4. Run dart format . to format the code.
  5. Update the version number in pubspec.yaml.
  6. Update the version number in CHANGELOG.md.
  7. Run dart pub publish --dry-run to check for errors.
  8. Run dart pub publish to publish the package.

macOS and Linux

Fetching Generators

rm -rf ___generators/
git clone https://github.com/robmllze/___generators.git
dart pub get -C ___generators

Adding the Workflow

rm -rf .github/
git clone https://github.com/robmllze/pub.dev_package_workflow.git .github
rm -rf .github/.git

Deleting .DS_Store files

cd your/project/path
find . -name '.DS_Store' -type f -delete

Windows

Fetching Generators

rmdir /s /q ___generators/
git clone https://github.com/robmllze/___generators.git
dart pub get -C ___generators
rmdir /s /q ___generators/.git

Adding the Workflow

rmdir /s /q .github/
git clone https://github.com/robmllze/pub.dev_package_workflow.git .github
rmdir /s /q .github/.git