Compare commits

...

2 Commits

Author SHA1 Message Date
a8c94fc1cd ok 2025-03-19 13:43:24 +01:00
0025a9cf1a update scripts to check if tailwind installed 2025-03-19 13:43:03 +01:00
3 changed files with 17 additions and 3 deletions

View File

@ -1,8 +1,15 @@
#!/bin/bash
echo "Building Tailwind CSS..."
echo "🔍 Checking for Tailwind CSS..."
if ! [ -d "node_modules" ]; then
echo "📦 Installing Tailwind CSS and dependencies..."
npm install
fi
echo "🚀 Building Tailwind CSS..."
npx tailwindcss -i ./static/css/main.css -o ./static/css/output.css --minify
echo "Building Zola site..."
echo "🔨 Building Zola site..."
zola build
echo "✅ Build complete!"

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,11 @@
#!/bin/bash
echo "🔍 Checking for Tailwind CSS..."
if ! [ -d "node_modules" ]; then
echo "📦 Installing Tailwind CSS and dependencies..."
npm install
fi
echo "Starting Tailwind CSS watcher & Zola live server..."
npx tailwindcss -i ./static/css/main.css -o ./static/css/output.css --watch & zola serve