mirror of
https://github.com/zed-industries/zed.git
synced 2024-11-14 13:24:25 +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
|