mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-23 02:22:13 +00:00
Update paths to renamed collab crate
This commit is contained in:
parent
3b852ee2bd
commit
72ea71ca52
5 changed files with 7 additions and 7 deletions
|
@ -7,4 +7,4 @@ cd ./script
|
|||
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
|
||||
npx tailwindcss build ../crates/collab/styles.css --output ../crates/collab/static/styles.css
|
||||
|
|
|
@ -16,7 +16,7 @@ if [[ $# < 1 ]]; then
|
|||
fi
|
||||
|
||||
export ZED_KUBE_NAMESPACE=$1
|
||||
ENV_FILE="crates/server/k8s/environments/${ZED_KUBE_NAMESPACE}.sh"
|
||||
ENV_FILE="crates/collab/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 < crates/server/k8s/manifest.template.yml | kubectl apply -f -
|
||||
envsubst < crates/collab/k8s/manifest.template.yml | kubectl apply -f -
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
cd crates/server
|
||||
cd crates/collab
|
||||
|
||||
# Export contents of .env.toml
|
||||
eval "$(cargo run --bin dotenv)"
|
||||
|
|
|
@ -5,7 +5,7 @@ set -e
|
|||
# Install sqlx-cli if needed
|
||||
[[ "$(sqlx --version)" == "sqlx-cli 0.5.7" ]] || cargo install sqlx-cli --version 0.5.7
|
||||
|
||||
cd crates/server
|
||||
cd crates/collab
|
||||
|
||||
# Export contents of .env.toml
|
||||
eval "$(cargo run --bin dotenv)"
|
||||
|
|
|
@ -40,7 +40,7 @@ module.exports = {
|
|||
},
|
||||
darkMode: false,
|
||||
purge: [
|
||||
"../crates/server/templates/**/*.hbs",
|
||||
"../crates/server/templates/*.hbs"
|
||||
"../crates/collab/templates/**/*.hbs",
|
||||
"../crates/collab/templates/*.hbs"
|
||||
]
|
||||
}
|
Loading…
Reference in a new issue