diff --git a/.drone.yml b/.drone.yml index 99e8c35..931eb7b 100644 --- a/.drone.yml +++ b/.drone.yml @@ -11,7 +11,7 @@ steps: - name: build image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest commands: - - cd MangaMap/ + - cd src/MangaMap/ - dotnet restore MangaMap.sln - dotnet build MangaMap.sln -c Release --no-restore --framework net7.0 - dotnet publish MangaMap.sln -c Release --no-restore -o $CI_PROJECT_DIR/build/release --framework net7.0 @@ -19,7 +19,7 @@ steps: - name: tests image: hub.codefirst.iut.uca.fr/marc.chevaldonne/codefirst-dotnet7-maui:latest commands: - - cd MangaMap/ + - cd src/MangaMap/ - dotnet restore MangaMap.sln - dotnet test MangaMap.sln --logger trx --no-restore /p:CollectCoverage=true /p:CoverletOutputFormat=cobertura --collect "XPlat Code Coverage" depends_on: [build] @@ -34,7 +34,7 @@ steps: sonar_token: from_secret: SECRET_SONAR_LOGIN commands: - - cd MangaMap/ + - cd src/MangaMap/ - dotnet restore MangaMap.sln - dotnet sonarscanner begin /k:"MangaMap" /d:sonar.host.url=$${PLUGIN_SONAR_HOST} /d:sonar.login=$${PLUGIN_SONAR_TOKEN} - dotnet build MangaMap.sln -c Release --no-restore diff --git a/MangaMap/App.xaml b/src/MangaMap/App.xaml similarity index 100% rename from MangaMap/App.xaml rename to src/MangaMap/App.xaml diff --git a/MangaMap/App.xaml.cs b/src/MangaMap/App.xaml.cs similarity index 100% rename from MangaMap/App.xaml.cs rename to src/MangaMap/App.xaml.cs diff --git a/MangaMap/AppShell.xaml b/src/MangaMap/AppShell.xaml similarity index 100% rename from MangaMap/AppShell.xaml rename to src/MangaMap/AppShell.xaml diff --git a/MangaMap/AppShell.xaml.cs b/src/MangaMap/AppShell.xaml.cs similarity index 100% rename from MangaMap/AppShell.xaml.cs rename to src/MangaMap/AppShell.xaml.cs diff --git a/MangaMap/CustomHeader.xaml b/src/MangaMap/CustomHeader.xaml similarity index 100% rename from MangaMap/CustomHeader.xaml rename to src/MangaMap/CustomHeader.xaml diff --git a/MangaMap/CustomHeader.xaml.cs b/src/MangaMap/CustomHeader.xaml.cs similarity index 100% rename from MangaMap/CustomHeader.xaml.cs rename to src/MangaMap/CustomHeader.xaml.cs diff --git a/MangaMap/MainPage.xaml b/src/MangaMap/MainPage.xaml similarity index 100% rename from MangaMap/MainPage.xaml rename to src/MangaMap/MainPage.xaml diff --git a/MangaMap/MainPage.xaml.cs b/src/MangaMap/MainPage.xaml.cs similarity index 100% rename from MangaMap/MainPage.xaml.cs rename to src/MangaMap/MainPage.xaml.cs diff --git a/MangaMap/MangaMap.csproj b/src/MangaMap/MangaMap.csproj similarity index 100% rename from MangaMap/MangaMap.csproj rename to src/MangaMap/MangaMap.csproj diff --git a/MangaMap/MangaMap.sln b/src/MangaMap/MangaMap.sln similarity index 100% rename from MangaMap/MangaMap.sln rename to src/MangaMap/MangaMap.sln diff --git a/MangaMap/MauiProgram.cs b/src/MangaMap/MauiProgram.cs similarity index 100% rename from MangaMap/MauiProgram.cs rename to src/MangaMap/MauiProgram.cs diff --git a/MangaMap/Platforms/Android/AndroidManifest.xml b/src/MangaMap/Platforms/Android/AndroidManifest.xml similarity index 100% rename from MangaMap/Platforms/Android/AndroidManifest.xml rename to src/MangaMap/Platforms/Android/AndroidManifest.xml diff --git a/MangaMap/Platforms/Android/MainActivity.cs b/src/MangaMap/Platforms/Android/MainActivity.cs similarity index 100% rename from MangaMap/Platforms/Android/MainActivity.cs rename to src/MangaMap/Platforms/Android/MainActivity.cs diff --git a/MangaMap/Platforms/Android/MainApplication.cs b/src/MangaMap/Platforms/Android/MainApplication.cs similarity index 100% rename from MangaMap/Platforms/Android/MainApplication.cs rename to src/MangaMap/Platforms/Android/MainApplication.cs diff --git a/MangaMap/Platforms/Android/Resources/values/colors.xml b/src/MangaMap/Platforms/Android/Resources/values/colors.xml similarity index 100% rename from MangaMap/Platforms/Android/Resources/values/colors.xml rename to src/MangaMap/Platforms/Android/Resources/values/colors.xml diff --git a/MangaMap/Platforms/MacCatalyst/AppDelegate.cs b/src/MangaMap/Platforms/MacCatalyst/AppDelegate.cs similarity index 100% rename from MangaMap/Platforms/MacCatalyst/AppDelegate.cs rename to src/MangaMap/Platforms/MacCatalyst/AppDelegate.cs diff --git a/MangaMap/Platforms/MacCatalyst/Info.plist b/src/MangaMap/Platforms/MacCatalyst/Info.plist similarity index 100% rename from MangaMap/Platforms/MacCatalyst/Info.plist rename to src/MangaMap/Platforms/MacCatalyst/Info.plist diff --git a/MangaMap/Platforms/MacCatalyst/Program.cs b/src/MangaMap/Platforms/MacCatalyst/Program.cs similarity index 100% rename from MangaMap/Platforms/MacCatalyst/Program.cs rename to src/MangaMap/Platforms/MacCatalyst/Program.cs diff --git a/MangaMap/Platforms/Tizen/Main.cs b/src/MangaMap/Platforms/Tizen/Main.cs similarity index 100% rename from MangaMap/Platforms/Tizen/Main.cs rename to src/MangaMap/Platforms/Tizen/Main.cs diff --git a/MangaMap/Platforms/Tizen/tizen-manifest.xml b/src/MangaMap/Platforms/Tizen/tizen-manifest.xml similarity index 100% rename from MangaMap/Platforms/Tizen/tizen-manifest.xml rename to src/MangaMap/Platforms/Tizen/tizen-manifest.xml diff --git a/MangaMap/Platforms/Windows/App.xaml b/src/MangaMap/Platforms/Windows/App.xaml similarity index 100% rename from MangaMap/Platforms/Windows/App.xaml rename to src/MangaMap/Platforms/Windows/App.xaml diff --git a/MangaMap/Platforms/Windows/App.xaml.cs b/src/MangaMap/Platforms/Windows/App.xaml.cs similarity index 100% rename from MangaMap/Platforms/Windows/App.xaml.cs rename to src/MangaMap/Platforms/Windows/App.xaml.cs diff --git a/MangaMap/Platforms/Windows/Package.appxmanifest b/src/MangaMap/Platforms/Windows/Package.appxmanifest similarity index 100% rename from MangaMap/Platforms/Windows/Package.appxmanifest rename to src/MangaMap/Platforms/Windows/Package.appxmanifest diff --git a/MangaMap/Platforms/Windows/app.manifest b/src/MangaMap/Platforms/Windows/app.manifest similarity index 100% rename from MangaMap/Platforms/Windows/app.manifest rename to src/MangaMap/Platforms/Windows/app.manifest diff --git a/MangaMap/Platforms/iOS/AppDelegate.cs b/src/MangaMap/Platforms/iOS/AppDelegate.cs similarity index 100% rename from MangaMap/Platforms/iOS/AppDelegate.cs rename to src/MangaMap/Platforms/iOS/AppDelegate.cs diff --git a/MangaMap/Platforms/iOS/Info.plist b/src/MangaMap/Platforms/iOS/Info.plist similarity index 100% rename from MangaMap/Platforms/iOS/Info.plist rename to src/MangaMap/Platforms/iOS/Info.plist diff --git a/MangaMap/Platforms/iOS/Program.cs b/src/MangaMap/Platforms/iOS/Program.cs similarity index 100% rename from MangaMap/Platforms/iOS/Program.cs rename to src/MangaMap/Platforms/iOS/Program.cs diff --git a/MangaMap/Properties/launchSettings.json b/src/MangaMap/Properties/launchSettings.json similarity index 100% rename from MangaMap/Properties/launchSettings.json rename to src/MangaMap/Properties/launchSettings.json diff --git a/MangaMap/Resources/AppIcon/appicon.svg b/src/MangaMap/Resources/AppIcon/appicon.svg similarity index 100% rename from MangaMap/Resources/AppIcon/appicon.svg rename to src/MangaMap/Resources/AppIcon/appicon.svg diff --git a/MangaMap/Resources/AppIcon/appiconfg.svg b/src/MangaMap/Resources/AppIcon/appiconfg.svg similarity index 100% rename from MangaMap/Resources/AppIcon/appiconfg.svg rename to src/MangaMap/Resources/AppIcon/appiconfg.svg diff --git a/MangaMap/Resources/AppIcon/logo.png b/src/MangaMap/Resources/AppIcon/logo.png similarity index 100% rename from MangaMap/Resources/AppIcon/logo.png rename to src/MangaMap/Resources/AppIcon/logo.png diff --git a/MangaMap/Resources/Fonts/OpenSans-Regular.ttf b/src/MangaMap/Resources/Fonts/OpenSans-Regular.ttf similarity index 100% rename from MangaMap/Resources/Fonts/OpenSans-Regular.ttf rename to src/MangaMap/Resources/Fonts/OpenSans-Regular.ttf diff --git a/MangaMap/Resources/Fonts/OpenSans-Semibold.ttf b/src/MangaMap/Resources/Fonts/OpenSans-Semibold.ttf similarity index 100% rename from MangaMap/Resources/Fonts/OpenSans-Semibold.ttf rename to src/MangaMap/Resources/Fonts/OpenSans-Semibold.ttf diff --git a/MangaMap/Resources/Images/account_circle.png b/src/MangaMap/Resources/Images/account_circle.png similarity index 100% rename from MangaMap/Resources/Images/account_circle.png rename to src/MangaMap/Resources/Images/account_circle.png diff --git a/MangaMap/Resources/Images/addepisodes.png b/src/MangaMap/Resources/Images/addepisodes.png similarity index 100% rename from MangaMap/Resources/Images/addepisodes.png rename to src/MangaMap/Resources/Images/addepisodes.png diff --git a/MangaMap/Resources/Images/dotnet_bot.svg b/src/MangaMap/Resources/Images/dotnet_bot.svg similarity index 100% rename from MangaMap/Resources/Images/dotnet_bot.svg rename to src/MangaMap/Resources/Images/dotnet_bot.svg diff --git a/MangaMap/Resources/Images/evangelion.jpg b/src/MangaMap/Resources/Images/evangelion.jpg similarity index 100% rename from MangaMap/Resources/Images/evangelion.jpg rename to src/MangaMap/Resources/Images/evangelion.jpg diff --git a/MangaMap/Resources/Images/listbutton.png b/src/MangaMap/Resources/Images/listbutton.png similarity index 100% rename from MangaMap/Resources/Images/listbutton.png rename to src/MangaMap/Resources/Images/listbutton.png diff --git a/MangaMap/Resources/Images/logo.png b/src/MangaMap/Resources/Images/logo.png similarity index 100% rename from MangaMap/Resources/Images/logo.png rename to src/MangaMap/Resources/Images/logo.png diff --git a/MangaMap/Resources/Images/ok.png b/src/MangaMap/Resources/Images/ok.png similarity index 100% rename from MangaMap/Resources/Images/ok.png rename to src/MangaMap/Resources/Images/ok.png diff --git a/MangaMap/Resources/Images/onepiece.jpg b/src/MangaMap/Resources/Images/onepiece.jpg similarity index 100% rename from MangaMap/Resources/Images/onepiece.jpg rename to src/MangaMap/Resources/Images/onepiece.jpg diff --git a/MangaMap/Resources/Images/oshinoko.png b/src/MangaMap/Resources/Images/oshinoko.png similarity index 100% rename from MangaMap/Resources/Images/oshinoko.png rename to src/MangaMap/Resources/Images/oshinoko.png diff --git a/MangaMap/Resources/Images/settings.png b/src/MangaMap/Resources/Images/settings.png similarity index 100% rename from MangaMap/Resources/Images/settings.png rename to src/MangaMap/Resources/Images/settings.png diff --git a/MangaMap/Resources/Images/star_empty.svg b/src/MangaMap/Resources/Images/star_empty.svg similarity index 100% rename from MangaMap/Resources/Images/star_empty.svg rename to src/MangaMap/Resources/Images/star_empty.svg diff --git a/MangaMap/Resources/Images/star_full.svg b/src/MangaMap/Resources/Images/star_full.svg similarity index 100% rename from MangaMap/Resources/Images/star_full.svg rename to src/MangaMap/Resources/Images/star_full.svg diff --git a/MangaMap/Resources/Raw/AboutAssets.txt b/src/MangaMap/Resources/Raw/AboutAssets.txt similarity index 100% rename from MangaMap/Resources/Raw/AboutAssets.txt rename to src/MangaMap/Resources/Raw/AboutAssets.txt diff --git a/MangaMap/Resources/Splash/splash.svg b/src/MangaMap/Resources/Splash/splash.svg similarity index 100% rename from MangaMap/Resources/Splash/splash.svg rename to src/MangaMap/Resources/Splash/splash.svg diff --git a/MangaMap/Resources/Styles/Colors.xaml b/src/MangaMap/Resources/Styles/Colors.xaml similarity index 100% rename from MangaMap/Resources/Styles/Colors.xaml rename to src/MangaMap/Resources/Styles/Colors.xaml diff --git a/MangaMap/Resources/Styles/Styles.xaml b/src/MangaMap/Resources/Styles/Styles.xaml similarity index 100% rename from MangaMap/Resources/Styles/Styles.xaml rename to src/MangaMap/Resources/Styles/Styles.xaml diff --git a/MangaMap/Resources/Theme/DarkTheme.xaml b/src/MangaMap/Resources/Theme/DarkTheme.xaml similarity index 100% rename from MangaMap/Resources/Theme/DarkTheme.xaml rename to src/MangaMap/Resources/Theme/DarkTheme.xaml diff --git a/MangaMap/Resources/Theme/DarkTheme.xaml.cs b/src/MangaMap/Resources/Theme/DarkTheme.xaml.cs similarity index 100% rename from MangaMap/Resources/Theme/DarkTheme.xaml.cs rename to src/MangaMap/Resources/Theme/DarkTheme.xaml.cs diff --git a/MangaMap/Stub/DataContract.cs b/src/MangaMap/Stub/DataContract.cs similarity index 100% rename from MangaMap/Stub/DataContract.cs rename to src/MangaMap/Stub/DataContract.cs diff --git a/MangaMap/Stub/DataContractJSON.cs b/src/MangaMap/Stub/DataContractJSON.cs similarity index 100% rename from MangaMap/Stub/DataContractJSON.cs rename to src/MangaMap/Stub/DataContractJSON.cs diff --git a/MangaMap/Stub/DataContractXML.cs b/src/MangaMap/Stub/DataContractXML.cs similarity index 100% rename from MangaMap/Stub/DataContractXML.cs rename to src/MangaMap/Stub/DataContractXML.cs diff --git a/MangaMap/Stub/DataToPersist.cs b/src/MangaMap/Stub/DataToPersist.cs similarity index 100% rename from MangaMap/Stub/DataToPersist.cs rename to src/MangaMap/Stub/DataToPersist.cs diff --git a/MangaMap/Stub/Stub.cs b/src/MangaMap/Stub/Stub.cs similarity index 100% rename from MangaMap/Stub/Stub.cs rename to src/MangaMap/Stub/Stub.cs diff --git a/MangaMap/Views/Composants/ListOeuvre.xaml b/src/MangaMap/Views/Composants/ListOeuvre.xaml similarity index 100% rename from MangaMap/Views/Composants/ListOeuvre.xaml rename to src/MangaMap/Views/Composants/ListOeuvre.xaml diff --git a/MangaMap/Views/Composants/ListOeuvre.xaml.cs b/src/MangaMap/Views/Composants/ListOeuvre.xaml.cs similarity index 100% rename from MangaMap/Views/Composants/ListOeuvre.xaml.cs rename to src/MangaMap/Views/Composants/ListOeuvre.xaml.cs diff --git a/MangaMap/Views/Composants/StyleBouton.xaml b/src/MangaMap/Views/Composants/StyleBouton.xaml similarity index 100% rename from MangaMap/Views/Composants/StyleBouton.xaml rename to src/MangaMap/Views/Composants/StyleBouton.xaml diff --git a/MangaMap/Views/Composants/StyleBouton.xaml.cs b/src/MangaMap/Views/Composants/StyleBouton.xaml.cs similarity index 100% rename from MangaMap/Views/Composants/StyleBouton.xaml.cs rename to src/MangaMap/Views/Composants/StyleBouton.xaml.cs diff --git a/MangaMap/Views/CreateOeuvre.xaml.cs b/src/MangaMap/Views/CreateOeuvre.xaml.cs similarity index 100% rename from MangaMap/Views/CreateOeuvre.xaml.cs rename to src/MangaMap/Views/CreateOeuvre.xaml.cs diff --git a/MangaMap/Views/FicheAnime.xaml.cs b/src/MangaMap/Views/FicheAnime.xaml.cs similarity index 100% rename from MangaMap/Views/FicheAnime.xaml.cs rename to src/MangaMap/Views/FicheAnime.xaml.cs diff --git a/MangaMap/Views/createOeuvre.xaml b/src/MangaMap/Views/createOeuvre.xaml similarity index 100% rename from MangaMap/Views/createOeuvre.xaml rename to src/MangaMap/Views/createOeuvre.xaml diff --git a/MangaMap/Views/ficheAnime.xaml b/src/MangaMap/Views/ficheAnime.xaml similarity index 100% rename from MangaMap/Views/ficheAnime.xaml rename to src/MangaMap/Views/ficheAnime.xaml diff --git a/MangaMap/Views/homePage.xaml b/src/MangaMap/Views/homePage.xaml similarity index 100% rename from MangaMap/Views/homePage.xaml rename to src/MangaMap/Views/homePage.xaml diff --git a/MangaMap/Views/homePage.xaml.cs b/src/MangaMap/Views/homePage.xaml.cs similarity index 100% rename from MangaMap/Views/homePage.xaml.cs rename to src/MangaMap/Views/homePage.xaml.cs diff --git a/MangaMap/Views/listPage.xaml b/src/MangaMap/Views/listPage.xaml similarity index 100% rename from MangaMap/Views/listPage.xaml rename to src/MangaMap/Views/listPage.xaml diff --git a/MangaMap/Views/listPage.xaml.cs b/src/MangaMap/Views/listPage.xaml.cs similarity index 100% rename from MangaMap/Views/listPage.xaml.cs rename to src/MangaMap/Views/listPage.xaml.cs diff --git a/MangaMap/Views/loginAdminPage.xaml b/src/MangaMap/Views/loginAdminPage.xaml similarity index 100% rename from MangaMap/Views/loginAdminPage.xaml rename to src/MangaMap/Views/loginAdminPage.xaml diff --git a/MangaMap/Views/loginAdminPage.xaml.cs b/src/MangaMap/Views/loginAdminPage.xaml.cs similarity index 100% rename from MangaMap/Views/loginAdminPage.xaml.cs rename to src/MangaMap/Views/loginAdminPage.xaml.cs diff --git a/MangaMap/Views/loginPage.xaml b/src/MangaMap/Views/loginPage.xaml similarity index 100% rename from MangaMap/Views/loginPage.xaml rename to src/MangaMap/Views/loginPage.xaml diff --git a/MangaMap/Views/loginPage.xaml.cs b/src/MangaMap/Views/loginPage.xaml.cs similarity index 100% rename from MangaMap/Views/loginPage.xaml.cs rename to src/MangaMap/Views/loginPage.xaml.cs diff --git a/MangaMap/Views/settingsPage.xaml b/src/MangaMap/Views/settingsPage.xaml similarity index 100% rename from MangaMap/Views/settingsPage.xaml rename to src/MangaMap/Views/settingsPage.xaml diff --git a/MangaMap/Views/settingsPage.xaml.cs b/src/MangaMap/Views/settingsPage.xaml.cs similarity index 100% rename from MangaMap/Views/settingsPage.xaml.cs rename to src/MangaMap/Views/settingsPage.xaml.cs diff --git a/MangaMap/Views/signUpPage.xaml b/src/MangaMap/Views/signUpPage.xaml similarity index 100% rename from MangaMap/Views/signUpPage.xaml rename to src/MangaMap/Views/signUpPage.xaml diff --git a/MangaMap/Views/signUpPage.xaml.cs b/src/MangaMap/Views/signUpPage.xaml.cs similarity index 100% rename from MangaMap/Views/signUpPage.xaml.cs rename to src/MangaMap/Views/signUpPage.xaml.cs diff --git a/Models/Admin.cs b/src/Models/Admin.cs similarity index 100% rename from Models/Admin.cs rename to src/Models/Admin.cs diff --git a/Models/IPersistanceManager.cs b/src/Models/IPersistanceManager.cs similarity index 100% rename from Models/IPersistanceManager.cs rename to src/Models/IPersistanceManager.cs diff --git a/Models/Liste.cs b/src/Models/Liste.cs similarity index 100% rename from Models/Liste.cs rename to src/Models/Liste.cs diff --git a/Models/Manager.cs b/src/Models/Manager.cs similarity index 100% rename from Models/Manager.cs rename to src/Models/Manager.cs diff --git a/Models/Models.csproj b/src/Models/Models.csproj similarity index 100% rename from Models/Models.csproj rename to src/Models/Models.csproj diff --git a/Models/Oeuvre.cs b/src/Models/Oeuvre.cs similarity index 100% rename from Models/Oeuvre.cs rename to src/Models/Oeuvre.cs diff --git a/Models/Personne.cs b/src/Models/Personne.cs similarity index 100% rename from Models/Personne.cs rename to src/Models/Personne.cs diff --git a/Models/Utilisateur.cs b/src/Models/Utilisateur.cs similarity index 100% rename from Models/Utilisateur.cs rename to src/Models/Utilisateur.cs