Skip to content

Commit

Permalink
Merge pull request #3 from G-Epitech/pre-commit
Browse files Browse the repository at this point in the history
config: add pre-commit config
  • Loading branch information
TekMath authored Mar 11, 2024
2 parents 88e7229 + 09dbcc6 commit df6262e
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
repos:
- repo: local
hooks:
- id: tests_run
name: Run tests
entry: bash -c 'make tests_run'
language: system
pass_filenames: false
32 changes: 32 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,34 @@
# FMY-Arcade
🖲️ Retro Platform

## Installation
### Cmake
```
sudo apt install cmake
```
More informations [here](https://cmake.org/download/).

### Pre-Commit
First, install pre-commit package.
- On linux:
```
pip install pre-commit
```
- On macOS (Intel/AMD):
```
brew install pre-commit
```
Next, steup pre-commit at the root of the repository:
```
pre-commit install
```

## Build project
Build the project
```
make
```
Clean the project
```
make fclean
```

0 comments on commit df6262e

Please sign in to comment.