Skip to content

Commit

Permalink
fix: setup tool versions
Browse files Browse the repository at this point in the history
  • Loading branch information
lpsm-dev committed Sep 19, 2023
1 parent 0f1d70b commit 32380ab
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ repos:
- id: gitleaks
args: ["--verbose"]
- repo: https://github.com/commitizen-tools/commitizen
rev: 3.8.2
rev: 3.9.0
hooks:
- id: commitizen
- id: commitizen-branch
Expand Down
2 changes: 2 additions & 0 deletions .tool-versions
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
gitleaks 8.18.0
hadolint 2.12.0
pre-commit 3.4.0
task 3.30.0
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,20 @@ CPU mining can be profitable using algorithms such as: `RandomX`, `Cryptonight`

<p align="right">(<a href="#readme-top">back to top</a>)</p>

## ➤ Getting Started <a name="#-getting-started"></a>

To configure your system for the development of this project, follow the steps below:

- Install [asdf](https://asdf-vm.com/) to manage runtime dependencies.
- Install runtime dependencies.

```bash
cut -d' ' -f1 .tool-versions | xargs -I{} sh -c 'asdf plugin add "$1"' -- {}
asdf install
```

- Run task from the root of the repository to see available commands. We use task in place of make for this project. See [Taskfile.yml](Taskfile.yml) for more information.

## ➤ Setup

The preferred way to configure XMRig is using a configuration file in JSON format, because it is more flexible and easier to use. The CLI doesn't cover all the features available and can be a limiting factor, depending on the scenario.
Expand Down

0 comments on commit 32380ab

Please sign in to comment.