Skip to content

Commit bf3e1d2

Browse files
committed
remove tailwind env var
1 parent 49bfc48 commit bf3e1d2

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

.github/workflows/publish-razorui.yml

-2
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,6 @@ env:
1717
DOTNET_SKIP_FIRST_TIME_EXPERIENCE: 1
1818
DOTNET_NOLOGO: true
1919
NuGetDirectory: ${{github.workspace}}/RazorUI/nuget
20-
APP_MODE: "Production"
21-
TAILWINDCSS: "./tailwindcss"
2220

2321
jobs:
2422
create_nuget:

RazorUI/RazorUI.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353

5454
<Target Name="ProcessScopedCssFileWithTailwind">
5555
<Message Importance="high" Text="Processing Scoped CSS with Tailwind: $(CurrentScopedCssFile)" />
56-
<Exec Command="$(TAILWINDCSS) -i $(CurrentScopedCssFile) -o $(CurrentScopedCssFile)" WorkingDirectory="$(MSBuildProjectDirectory)" />
56+
<Exec Command="tailwindcss -i $(CurrentScopedCssFile) -o $(CurrentScopedCssFile)" WorkingDirectory="$(MSBuildProjectDirectory)" />
5757
</Target>
5858

5959
<Target Name="PostBuild" AfterTargets="PostBuildEvent" Condition="'$(Configuration)'=='Release'">

RazorUI/tailwindbuild.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ appStylesPathOut="./wwwroot/css/razor-ui.css"
77

88
if [[ $1 == "--watch" ]]; then
99
echo "Building Tailwind CSS in watch mode..."
10-
$TAILWINDCSS -i $appStylesPathIn -o $appStylesPathOut --watch
10+
tailwindcss -i $appStylesPathIn -o $appStylesPathOut --watch
1111
else
1212
echo "Building Tailwind CSS..."
13-
$TAILWINDCSS -i $appStylesPathIn -o $appStylesPathOut
13+
tailwindcss -i $appStylesPathIn -o $appStylesPathOut
1414
fi

0 commit comments

Comments
 (0)