Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.08 KB

DEVELOPING.md

File metadata and controls

42 lines (28 loc) · 1.08 KB

Developing

Required dependencies

Before committing

# Format all code correctly
$ goimports -w .

# Ensure code builds succesfully
$ go build

# Ensure code is free of common mistakes
$ go vet ./...

# Ensure all tests pass
$ go test ./...

Manual testing

AppleScript

note uses AppleScript to drive Notes.app. The underlying AppleScript script can be tested like this:

$ osascript append_to_latest_unshared_note.txt "Text to append"

Please note that the formatting of the text (as HTML) is set in the containing Go code.

Releasing

  1. Ensure build is passing: Build
  2. Create a new release with:
    • Version: Incremented in format: vX.Y.Z
    • Release title: note <version-from-last-step>
    • Release notes