Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
abjerner committed Feb 9, 2022
1 parent 0768d71 commit 3757e49
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 44 deletions.
37 changes: 0 additions & 37 deletions skybrud.build.json

This file was deleted.

11 changes: 7 additions & 4 deletions src/Skybrud.ImagePicker/Skybrud.ImagePicker.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,19 @@
<RepositoryUrl>https://github.com/skybrud/Skybrud.ImagePicker</RepositoryUrl>
</PropertyGroup>

<!-- Include NuGet dependencies -->
<ItemGroup>
<PackageReference Include="Skybrud.Essentials" Version="1.1.35" />
<PackageReference Include="Umbraco.Cms.Web.BackOffice" Version="9.0.0" />
</ItemGroup>

<!-- Include backoffice assets -->
<ItemGroup>
<Content Include="App_Plugins\Skybrud.Umbraco.ImagePicker\**\*.js" />
<Content Include="App_Plugins\Skybrud.Umbraco.ImagePicker\**\*.css" />
<Content Include="App_Plugins\Skybrud.Umbraco.ImagePicker\**\*.html" />
<Content Remove="App_Plugins\Skybrud.Umbraco.ImagePicker\Scripts\Intellisense.js" />
<Content Include="App_Plugins\Skybrud.Umbraco.ImagePicker\package.manifest" />
<None Include="../build/Limbo.png" Pack="true" PackagePath="\" />
</ItemGroup>

<ItemGroup>
<Content Update="App_Plugins\Skybrud.Umbraco.ImagePicker\Styles\Default.css">
<DependentUpon>Default.less</DependentUpon>
</Content>
Expand All @@ -50,6 +48,11 @@
<Content Include="../build/$(AssemblyName).targets" PackagePath="build\$(AssemblyName).targets" />
</ItemGroup>

<!-- Include package icon for NuGet -->
<ItemGroup>
<Content Include="../build/Limbo.png" Pack="true" PackagePath="\" />
</ItemGroup>

<!-- Generate XML documentation -->
<PropertyGroup>
<DocumentationFile>bin\$(Configuration)\$(TargetFramework)\$(AssemblyName).xml</DocumentationFile>
Expand Down
Binary file removed src/build/Newtonsoft.Json.dll
Binary file not shown.
Binary file removed src/build/Skybrud.BuildTools.Tasks.exe
Binary file not shown.
Binary file removed src/build/Skybrud.Essentials.dll
Binary file not shown.
6 changes: 3 additions & 3 deletions src/build/Skybrud.ImagePicker.targets
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003">

<PropertyGroup>
<SkybrudImagePickerContentFilesPath>$(MSBuildThisFileDirectory)..\content\App_Plugins\Skybrud.Umbraco.ImagePicker\**\*.*</SkybrudImagePickerContentFilesPath>
<SkybrudImagePickerContentFilesPath>$(MSBuildThisFileDirectory)..\content\App_Plugins\Skybrud.ImagePicker\**\*.*</SkybrudImagePickerContentFilesPath>
</PropertyGroup>

<Target Name="CopySkybrudImagePickerAssets" BeforeTargets="Build">
Expand All @@ -11,13 +11,13 @@
<Message Text="Copying Skybrud.ImagePicker files: $(SkybrudImagePickerContentFilesPath) - #@(SkybrudImagePickerContentFiles->Count()) files" Importance="high" />
<Copy
SourceFiles="@(SkybrudImagePickerContentFiles)"
DestinationFiles="@(SkybrudImagePickerContentFiles->'$(MSBuildProjectDirectory)\App_Plugins\Skybrud.Umbraco.ImagePicker\%(RecursiveDir)%(Filename)%(Extension)')"
DestinationFiles="@(SkybrudImagePickerContentFiles->'$(MSBuildProjectDirectory)\App_Plugins\Skybrud.ImagePicker\%(RecursiveDir)%(Filename)%(Extension)')"
SkipUnchangedFiles="true" />
</Target>

<Target Name="ClearSkybrudImagePickerAssets" BeforeTargets="Clean">
<ItemGroup>
<SkybrudImagePickerDir Include="$(MSBuildProjectDirectory)\App_Plugins\Skybrud.Umbraco.ImagePicker\" />
<SkybrudImagePickerDir Include="$(MSBuildProjectDirectory)\App_Plugins\Skybrud.ImagePicker\" />
</ItemGroup>
<Message Text="Clear old Skybrud.ImagePicker files" Importance="high" />
<RemoveDir Directories="@(SkybrudImagePickerDir)" />
Expand Down

0 comments on commit 3757e49

Please sign in to comment.