-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathSmartOrder.csproj
86 lines (75 loc) · 2.82 KB
/
SmartOrder.csproj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
<Project Sdk="Microsoft.NET.Sdk.Web">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<Nullable>enable</Nullable>
<ImplicitUsings>enable</ImplicitUsings>
<UserSecretsId>9cdec653-23e1-486d-8377-fa7decc71749</UserSecretsId>
<GenerateEmbeddedFilesManifest>true</GenerateEmbeddedFilesManifest>
<NoWarn>1591</NoWarn>
<NoWarn>$(NoWarn);NETSDK1057</NoWarn>
</PropertyGroup>
<PropertyGroup Condition="$(CI) != 'true'">
<TAILWINDCSS_PATH>/usr/local/bin/tailwindcss</TAILWINDCSS_PATH>
</PropertyGroup>
<ItemGroup>
<Watch Include="./Styles/**/*.css" />
</ItemGroup>
<!-- Third Party Dependencies -->
<ItemGroup>
<PackageReference Include="Auth0.AspNetCore.Authentication" Version="1.4.1" />
<PackageReference Include="AutoMapper" Version="12.0.1" />
<PackageReference Include="Microsoft.AspNetCore.Components.DataAnnotations.Validation" Version="3.*-*" />
<PackageReference Include="Microsoft.AspNetCore.Components.QuickGrid" Version="8.*" />
<PackageReference Include="System.Drawing.Common" Version="8.*" />
</ItemGroup>
<ItemGroup>
<Reference Include="SMART.Common">
<HintPath>lib/SMART.Common.dll</HintPath>
</Reference>
<Reference Include="SMART.Common.Functions">
<HintPath>lib/SMART.Common.Functions.dll</HintPath>
</Reference>
<Reference Include="SMART.Utility.Globalization">
<HintPath>lib/SMART.Utility.Globalization.dll</HintPath>
</Reference>
</ItemGroup>
<!-- Internal Dependencies -->
<ItemGroup Condition="'$(Configuration)'!='Release'">
<ProjectReference Include="../daemon-dotnet/DataAccess/DataAccess.csproj" />
<ProjectReference Include="../SmartOrderApi/SmartOrderApi.csproj" />
</ItemGroup>
<ItemGroup Condition="'$(Configuration)'=='Release'">
<PackageReference Include="Daemon.DataAccess" Version="1.*-*" />
<PackageReference Include="SmartOrderApi" Version="1.*-*" />
</ItemGroup>
<!-- Integrate TailwindCSS -->
<Target
Name="ProcessScopedCssFilesWithTailwind"
AfterTargets="_GenerateScopedCssFiles"
>
<MSBuild
Projects="$(MSBuildProjectFile)"
Properties="CurrentScopedCssFile=%(_ScopedCssOutputs.Identity)"
Targets="ProcessScopedCssFileWithTailwind"
>
</MSBuild>
</Target>
<Target Name="ProcessScopedCssFileWithTailwind">
<Message
Importance="high"
Text="Processing with Tailwind: $(CurrentScopedCssFile)"
/>
<Exec
Command="$(TAILWINDCSS_PATH) -i $(CurrentScopedCssFile) -o $(CurrentScopedCssFile)"
WorkingDirectory="$(MSBuildProjectDirectory)"
/>
</Target>
<Target
Name="Build TailwindCSS"
AfterTargets="Build"
>
<Exec
Command="$(ProjectDir)build-tailwind.sh"
/>
</Target>
</Project>