mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
a72bdac7df
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
10 lines
267 B
Bash
Executable file
10 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
|