Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions .cz.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[tool.commitizen]
name = "cz_conventional_commits"
tag_format = "$version"
version_scheme = "semver2"
version = "0.0.1"
update_changelog_on_bump = true
major_version_zero = true
7 changes: 7 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
repos:
- repo: https://github.com/commitizen-tools/commitizen
rev: v4.8.3
hooks:
- id: commitizen
stages: [commit-msg]
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,11 @@ FortranPEG is an online parser generator that uses a PEG grammar and generates a

### [Try FortranPEG online!](https://ecys-fiusac.github.io/fortranpeg/)

# Content

- [Usage guide](#usage-guide)
- [Developing FortranPEG](developing-fortranpeg)


## Usage guide

Expand Down Expand Up @@ -105,6 +110,19 @@ Congratulations :clap:! You can now use the built program!

![Alt text](https://github.com/ECYS-FIUSAC/fortranpeg/blob/main/test/test1/screenshot.png?raw=true "execute")

## Developing FortranPEG

### Dependencies

- Python
- commitizen
- pre-commit

### Set up workspace

1. run scripts/setup.sh

```bash
bash scripts/setup.sh
```

3 changes: 3 additions & 0 deletions scripts/setup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#!/usr/bin/env bash

pre-commit install --hook-type commit-msg