mirror of
https://github.com/zed-industries/zed.git
synced 2024-12-24 17:28:40 +00:00
Fix paths to server crate in scripts and gitignore
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
parent
44e0a00734
commit
a72bdac7df
4 changed files with 5 additions and 195550 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -2,6 +2,6 @@
|
|||
/zed.xcworkspace
|
||||
.DS_Store
|
||||
/script/node_modules
|
||||
/server/.env.toml
|
||||
/server/static/styles.css
|
||||
/crates/server/.env.toml
|
||||
/crates/server/static/styles.css
|
||||
/vendor/bin
|
||||
|
|
File diff suppressed because it is too large
Load diff
|
@ -7,4 +7,4 @@ cd ./script
|
|||
if [[ $1 == --release ]]; then
|
||||
export NODE_ENV=production # Purge unused styles in --release mode
|
||||
fi
|
||||
npx tailwindcss build ../server/styles.css --output ../server/static/styles.css
|
||||
npx tailwindcss build ../crates/server/styles.css --output ../crates/server/static/styles.css
|
||||
|
|
|
@ -16,7 +16,7 @@ if [[ $# < 1 ]]; then
|
|||
fi
|
||||
|
||||
export ZED_KUBE_NAMESPACE=$1
|
||||
ENV_FILE="server/k8s/environments/${ZED_KUBE_NAMESPACE}.sh"
|
||||
ENV_FILE="crates/server/k8s/environments/${ZED_KUBE_NAMESPACE}.sh"
|
||||
if [[ ! -f $ENV_FILE ]]; then
|
||||
echo "Invalid environment name '${ZED_KUBE_NAMESPACE}'"
|
||||
exit 1
|
||||
|
@ -34,4 +34,4 @@ export $(cat $ENV_FILE)
|
|||
docker build . --tag "$ZED_IMAGE_ID"
|
||||
docker push "$ZED_IMAGE_ID"
|
||||
|
||||
envsubst < server/k8s/manifest.template.yml | kubectl apply -f -
|
||||
envsubst < crates/server/k8s/manifest.template.yml | kubectl apply -f -
|
||||
|
|
Loading…
Reference in a new issue