Skip to content
This repository has been archived by the owner on Dec 2, 2024. It is now read-only.

Latest commit

 

History

History
37 lines (27 loc) · 1.32 KB

README.md

File metadata and controls

37 lines (27 loc) · 1.32 KB

Provenance Dart

The home of all shared Dart resources for the Provenance ecosystem.

Build

Getting Started

Software

  1. Install the latest Flutter SDK
  2. Install protoc and add it to your PATH.
  3. Install the protoc_plugin

Zsh Configuration

  1. Open or create ~/.zshrc
  2. Add export PATH="$PATH:<Flutter SDK path>/bin" (enables flutter commands)
  3. Add export PATH="$PATH":"$HOME/.pub-cache/bin" (enables protoc-gen-dart commands)
  4. Run source ~/.zshrc or restart Terminal

Visual Studio Code Configuration

Install the Flutter extension

  1. Open the Extensions window (Code -> Preferences -> Extensions)
  2. Search for "Flutter" and click Install

Enable Format On Save

  1. Open Settings (Code -> Preferences -> Settings)
  2. On the User tab, go to Text Editor -> Formatting
  3. Check the box for Format On Save

Other Configurations

For setting up auto formatting on other IDEs please see the Flutter Documentation.

Regenerating Protos

Update/Build Protos

  1. Run ./build_proto.sh
  2. Commit the code changes.