mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-10 14:06:11 +03:00
a72bdac7df
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
11 lines
267 B
Bash
Executable File
11 lines
267 B
Bash
Executable File
#!/bin/bash
|
|
|
|
set -e
|
|
|
|
cd ./script
|
|
[ -d node_modules ] || npm install
|
|
if [[ $1 == --release ]]; then
|
|
export NODE_ENV=production # Purge unused styles in --release mode
|
|
fi
|
|
npx tailwindcss build ../crates/server/styles.css --output ../crates/server/static/styles.css
|