Skip to content

Commit

Permalink
feat: implement the analyzer command. (#13)
Browse files Browse the repository at this point in the history
* feat: implement the `analyzer` command.

This commit introduces the `sprocket analyzer` command that can be used to run
sprocket as an LSP server.

The command currently takes two options:

* `--lint`: whether or not to enable lints in analysis.
* `--stdio` (currently required): use stdio as the transport channel for the
  server.

This commit also updates all dependencies to latest and adds `Cargo.lock` to
the repository for consistent builds, which is desirable for bin projects like
`sprocket`.

* chore: Update README with `sprocket analyzer` command.
  • Loading branch information
peterhuene committed Jul 26, 2024
1 parent 01a3ce1 commit 667776b
Show file tree
Hide file tree
Showing 7 changed files with 2,323 additions and 9 deletions.
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## Unreleased

### Added

- Added `analyzer` subcommand to sprocket ([#9](https://github.com/stjude-rust-labs/sprocket/pull/9)).
- Updated dependencies to latest ([#9](https://github.com/stjude-rust-labs/sprocket/pull/9)).

## 0.5.0 - 07-17-2024

### Changed
Expand Down
Loading

0 comments on commit 667776b

Please sign in to comment.