mirror of
https://github.com/ae-utbm/sith.git
synced 2025-07-11 20:39:23 +00:00
documentation: move markdown syntax documentation and move helper for counting lines
This commit is contained in:
@ -1,8 +1,17 @@
|
||||
Commandes utiles
|
||||
================
|
||||
|
||||
* Appliquer le header de licence sur tout le projet
|
||||
Appliquer le header de licence sur tout le projet
|
||||
-------------------------------------------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
for f in $(find . -name "*.py" ! -path "*migration*" ! -path "./env/*" ! -path "./doc/*"); do cat ./doc/header "$f" > /tmp/temp && mv /tmp/temp "$f"; done
|
||||
|
||||
Compter le nombre de lignes de code
|
||||
-----------------------------------
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
sudo apt install cloc
|
||||
cloc --exclude-dir=doc,env .
|
||||
|
Reference in New Issue
Block a user