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

Commit

Permalink
Add rustup depdendency, add just & Justfile, add Getting Started to R…
Browse files Browse the repository at this point in the history
…EADME
  • Loading branch information
KendallWeihe committed Apr 29, 2024
1 parent 0124fd5 commit fd6db84
Show file tree
Hide file tree
Showing 20 changed files with 59 additions and 3 deletions.
6 changes: 5 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,8 @@ Cargo.lock
**/*.rs.bk

# MSVC Windows builds of rustc generate these, which store debugging information
*.pdb
*.pdb

# ---

.hermit/
20 changes: 20 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
set shell := ["bash", "-uc"]

default: setup

# Setup local development environment
setup:
rustup default stable

# Build a release variant
build:
cargo build --release

# Run all tests
test:
cargo test

# Run linting, look for warnings in the output to correct
lint:
cargo clippy --workspace
cargo fmt
19 changes: 17 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,18 @@
# Work in progress
# Work in progress <!-- omit in toc -->

This repo is not ready for consumption, and is under heavy development
This repo is not ready for consumption, and is under heavy development

- [Getting Started](#getting-started)
- [Setup](#setup)

## Getting Started

### Setup

```shell
just setup # this will configure your rust environment
```

```shell
just --list
```
1 change: 1 addition & 0 deletions bin/.just-1.25.2.pkg
1 change: 1 addition & 0 deletions bin/.rustup-1.25.2.pkg
1 change: 1 addition & 0 deletions bin/cargo
1 change: 1 addition & 0 deletions bin/cargo-clippy
1 change: 1 addition & 0 deletions bin/cargo-fmt
1 change: 1 addition & 0 deletions bin/cargo-miri
1 change: 1 addition & 0 deletions bin/clippy-driver
1 change: 1 addition & 0 deletions bin/just
1 change: 1 addition & 0 deletions bin/rls
1 change: 1 addition & 0 deletions bin/rust-analyzer
1 change: 1 addition & 0 deletions bin/rust-gdb
1 change: 1 addition & 0 deletions bin/rust-gdbgui
1 change: 1 addition & 0 deletions bin/rust-lldb
1 change: 1 addition & 0 deletions bin/rustc
1 change: 1 addition & 0 deletions bin/rustdoc
1 change: 1 addition & 0 deletions bin/rustfmt
1 change: 1 addition & 0 deletions bin/rustup

0 comments on commit fd6db84

Please sign in to comment.