diff --git a/.drone.yml b/.drone.yml index 06bd01a..452d1c6 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,6 +11,12 @@ trigger: steps: #- name: lint - name: format + image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest + commands: + - dotnet tool install -g CSharpier # Installez CSharpier si necessaire + - cd src/ + - csharpier --check . # Verifie le formatage + - csharpier --write . # Applique le formatage - name: build image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest diff --git a/BookApp/BookApp.sln b/src/BookApp.sln similarity index 100% rename from BookApp/BookApp.sln rename to src/BookApp.sln diff --git a/BookApp/BookApp/App.xaml b/src/BookApp/App.xaml similarity index 100% rename from BookApp/BookApp/App.xaml rename to src/BookApp/App.xaml diff --git a/BookApp/BookApp/App.xaml.cs b/src/BookApp/App.xaml.cs similarity index 100% rename from BookApp/BookApp/App.xaml.cs rename to src/BookApp/App.xaml.cs diff --git a/BookApp/BookApp/AppShell.xaml b/src/BookApp/AppShell.xaml similarity index 100% rename from BookApp/BookApp/AppShell.xaml rename to src/BookApp/AppShell.xaml diff --git a/BookApp/BookApp/AppShell.xaml.cs b/src/BookApp/AppShell.xaml.cs similarity index 100% rename from BookApp/BookApp/AppShell.xaml.cs rename to src/BookApp/AppShell.xaml.cs diff --git a/BookApp/BookApp/BookApp.csproj b/src/BookApp/BookApp.csproj similarity index 100% rename from BookApp/BookApp/BookApp.csproj rename to src/BookApp/BookApp.csproj diff --git a/BookApp/BookApp/MainPage.xaml b/src/BookApp/MainPage.xaml similarity index 98% rename from BookApp/BookApp/MainPage.xaml rename to src/BookApp/MainPage.xaml index e730548..9baf73c 100644 --- a/BookApp/BookApp/MainPage.xaml +++ b/src/BookApp/MainPage.xaml @@ -3,44 +3,44 @@ xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml" x:Class="BookApp.MainPage"> - - - - - - - - + + + + + + + + - - - - - - - - - - - - - -