Fix paths to server crate in scripts and gitignore
Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
co-authored by
Nathan Sobo
parent
44e0a00734
commit
a72bdac7df
+2
-2
@@ -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
+1
-1
@@ -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
|
||||
|
||||
+2
-2
@@ -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 -
|
||||
|
||||
Reference in New Issue
Block a user