Wiki » Historique » Version 2
Patrice Nadeau, 2023-02-26 09:45
| 1 | 1 | Patrice Nadeau | # SOP4000-Programmation |
|---|---|---|---|
| 2 | |||
| 3 | ## Setup |
||
| 4 | Copie des fichiers gabarits (`/home/pnadeau/Documents/projects/c/`) |
||
| 5 | * Makefile |
||
| 6 | * LICENSE.txt |
||
| 7 | |||
| 8 | ## Makefile |
||
| 9 | 1. Éditer le fichier `Makefile` |
||
| 10 | * Modifier les valeurs de base |
||
| 11 | 1. Créer les fichier sources avec Vim |
||
| 12 | * F7 |
||
| 13 | * F6 et Shift-F6 |
||
| 14 | 1. Vérification de l'environnement de travail |
||
| 15 | 2 | Patrice Nadeau | |
| 16 | 1 | Patrice Nadeau | ```bash |
| 17 | make env |
||
| 18 | ``` |
||
| 19 | |||
| 20 | ## Git |
||
| 21 | |||
| 22 | ### Manuellement |
||
| 23 | 1. `git init` |
||
| 24 | 1. `git add *` |
||
| 25 | 1. `git commit --all` |
||
| 26 | 1. Boucle avec ajout et commit |
||
| 27 | |||
| 28 | ### VIM |
||
| 29 | > vim-plugin-fugitive |
||
| 30 | 1. `:Git init` |
||
| 31 | 1. `:Git add *` |
||
| 32 | 1. `:Git commit -all` |
||
| 33 | 1. Boucle avec ajout et commit |