From 8a1dbcdcdd6dfc7bf5e274aa624bce5b7508905f Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Sun, 14 Nov 2021 16:31:26 +0700 Subject: [PATCH] chore: more verbose build and check command --- .github/workflows/ci.yml | 4 ++-- README.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 09d392d..f78d0b9 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -17,7 +17,7 @@ jobs: uses: actions/checkout@v2 - name: Check - run: cargo check + run: cargo check --all-targets --verbose - name: Build - run: cargo build + run: cargo build --all-targets --verbose --release diff --git a/README.md b/README.md index e225c78..7d237f9 100644 --- a/README.md +++ b/README.md @@ -25,8 +25,8 @@ Yes, you'll need to build from source. 1. Clone this repository. 2. Make sure to have Rust in your system. At this point of time, I have v1.54.0. -3. Run `cargo build`. -4. Run `sudo cp -v target/debug/add-editorconfig /usr/local/bin`. +3. Run `cargo build --all-targets --release`. +4. Run `sudo cp -v target/release/add-editorconfig /usr/local/bin`. If you're not running in Linux, try to check how to move file on your own. 5. Check it via `add-editorconfig version`.