Skip to content

Latest commit

 

History

History
26 lines (20 loc) · 1.52 KB

CONTRIBUTING.md

File metadata and controls

26 lines (20 loc) · 1.52 KB

Contributing

Guidelines

  • Convenience methods, request types and event names can be added for any request or event in the Home Assistant core repository. Calls which are added via third-party components should not be added here.
  • Code coverage must be maintained for all changes. Make sure your tests execute successfully.

Building the library

  • brew bundle installs linting and other utilities.
  • make open launches the Swift Project Manager version of the library in Xcode.
  • make generate-project creates an openable .xcodeproj from the Swift package.
  • make test executes all tests for the library.
  • make lint execute linting. Locally, this will also apply autocorrects.

Learn Swift

This project is a good opportunity to learn Swift programming and contribute back to a friendly and welcoming Open Source community. We've collected some pointers to get you started.