Skip to content

Commit

Permalink
accelerate dev provisioning
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Pennebaker committed Oct 22, 2024
1 parent 4cf4008 commit 3d2d2d9
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ jobs:
- uses: "actions/checkout@v4"
- run: "sudo apt-get update"
- run: "sudo apt-get install -y cargo make"
- run: "make"
- run: "make -j 4 crates"
- run: "tinyrick audit"
2 changes: 1 addition & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ jobs:
- uses: "actions/checkout@v4"
- run: "sudo apt-get update"
- run: "sudo apt-get install -y cargo make"
- run: "make"
- run: "make -j 4"
- run: "tinyrick lint"
2 changes: 1 addition & 1 deletion .github/workflows/test-futureproof-os.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,5 @@ jobs:
- uses: "actions/checkout@v4"
- run: "sudo apt-get update"
- run: "sudo apt-get install -y cargo make"
- run: "make"
- run: "make -j 4 crates"
- run: "tinyrick test"
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,5 @@ jobs:
- uses: "actions/checkout@v4"
- run: "sudo apt-get update"
- run: "sudo apt-get install -y cargo make"
- run: "make"
- run: "make -j 4 crates"
- run: "tinyrick test"
4 changes: 2 additions & 2 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# BUILDTIME REQUIREMENTS

* [Docker](https://www.docker.com/) 20.10.12+
* POSIX compatible [make](https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html)
* [GNU](https://www.gnu.org/software/make/) / [BSD](https://man.freebsd.org/cgi/man.cgi?make(1)) make
* [rustup](https://rustup.rs/) 1.25.2+
* [Rust](https://www.rust-lang.org/en-US/) 1.75.0+
* POSIX compatible [tar](https://pubs.opengroup.org/onlinepubs/7908799/xcu/tar.html)
* Provision additional dev tools with `make`
* Provision additional dev tools with `make -j 4`

## Recommended

Expand Down
17 changes: 12 additions & 5 deletions makefile
Original file line number Diff line number Diff line change
@@ -1,13 +1,20 @@
.POSIX:
.SILENT:
.PHONY: all
.PHONY: \
all \
crates \
rustup-components

all:
rustup component add \
clippy \
rustfmt
all: crates rustup-components

crates:
cargo install --force \
cargo-audit \
[email protected] \
[email protected] \
[email protected]

rustup-components:
rustup component add \
clippy \
rustfmt

0 comments on commit 3d2d2d9

Please sign in to comment.