SalamLang / Salam

Salam Language: The inaugural coding language for Persian and Arabic speakers, inspired by the word salam meaning peace. With a user-friendly approach, it provides an accessible coding experience, promoting collaboration and simplicity for local developers.
https://www.salamlang.ir
GNU General Public License v3.0
9 stars 9 forks source link

Need to add check layer before running pre-commit command in MAKEFILE #311

Closed BaseMax closed 2 hours ago

BaseMax commented 2 hours ago
root@maxbasecode:~# cd /tmp
root@maxbasecode:/tmp# git clone https://github.com/SalamLang/Salam
Cloning into 'Salam'...
remote: Enumerating objects: 7389, done.
remote: Counting objects: 100% (383/383), done.
remote: Compressing objects: 100% (222/222), done.
remote: Total 7389 (delta 169), reused 364 (delta 156), pack-reused 7006 (from 1)
Receiving objects: 100% (7389/7389), 14.19 MiB | 15.70 MiB/s, done.
Resolving deltas: 100% (5021/5021), done.
root@maxbasecode:/tmp# cd Salam

root@maxbasecode:/tmp/Salam# dir
assets  CODE_OF_CONDUCT.md  config  CONTRIBUTING.md  example  LICENSE  Makefile  pyproject.toml  README.md  requirements.txt  src  test  VERSION

root@maxbasecode:/tmp/Salam# make check
pre-commit install
make: pre-commit: No such file or directory
make: *** [Makefile:40: checkinstall] Error 127
BaseMax commented 2 hours ago

Added.

BaseMax commented 2 hours ago

Now:

root@maxbasecode:/tmp/Salam# make check
Error: pre-commit is not installed. Please install it first.
make: *** [Makefile:44: checkinstall] Error 1