Compare commits
No commits in common. "a8c94fc1cdef35cf02a39d89b303464dc3a8d369" and "60e1fc5d5d1de32511e89123cfb2ba670f440ce8" have entirely different histories.
a8c94fc1cd
...
60e1fc5d5d
11
build.sh
11
build.sh
@ -1,15 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/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
|
npx tailwindcss -i ./static/css/main.css -o ./static/css/output.css --minify
|
||||||
|
|
||||||
echo "🔨 Building Zola site..."
|
echo "Building Zola site..."
|
||||||
zola build
|
zola build
|
||||||
|
|
||||||
echo "✅ Build complete!"
|
echo "✅ Build complete!"
|
||||||
|
File diff suppressed because one or more lines are too long
7
start.sh
7
start.sh
@ -1,11 +1,4 @@
|
|||||||
#!/bin/bash
|
#!/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..."
|
echo "Starting Tailwind CSS watcher & Zola live server..."
|
||||||
|
|
||||||
npx tailwindcss -i ./static/css/main.css -o ./static/css/output.css --watch & zola serve
|
npx tailwindcss -i ./static/css/main.css -o ./static/css/output.css --watch & zola serve
|
||||||
|
Loading…
Reference in New Issue
Block a user