diff --git a/.env b/.env index 6c2e8e7b..991422c8 100644 --- a/.env +++ b/.env @@ -13,4 +13,5 @@ AKASH_TS_PACKAGE_FILE=${AKASH_TS_ROOT}/package.json AKASH_TS_NODE_MODULES=${AKASH_TS_ROOT}/node_modules AKASH_TS_NODE_BIN=${AKASH_TS_NODE_MODULES}/.bin AKASH_DEVCACHE_TS_TMP=${AKASH_DEVCACHE_BASE}/tmp/ts -AKASH_DEVCACHE_TS_TMP_GRPC_JS=${AKASH_DEVCACHE_TS_TMP}/generated-grpc-js \ No newline at end of file +AKASH_DEVCACHE_TS_TMP_GRPC_JS=${AKASH_DEVCACHE_TS_TMP}/generated-grpc-js +AKASH_DEVCACHE_TS_TMP_PATCHES=${AKASH_DEVCACHE_TS_TMP}/patches \ No newline at end of file diff --git a/make/setup-cache.mk b/make/setup-cache.mk index c9c5269f..76030c55 100644 --- a/make/setup-cache.mk +++ b/make/setup-cache.mk @@ -22,6 +22,7 @@ $(AKASH_DEVCACHE): mkdir -p $(AKASH_DEVCACHE_NODE_MODULES) mkdir -p $(AKASH_DEVCACHE)/run mkdir -p $(AKASH_DEVCACHE_TS_TMP_GRPC_JS) + mkdir -p $(AKASH_DEVCACHE_TS_TMP_PATCHES) cache: $(AKASH_DEVCACHE) diff --git a/script/ts-patches.sh b/script/ts-patches.sh index 54c711eb..45a98077 100755 --- a/script/ts-patches.sh +++ b/script/ts-patches.sh @@ -3,7 +3,7 @@ set -eo pipefail generated_dir="$AKASH_TS_ROOT/src/generated" -tmp_dir="$AKASH_DEVCACHE_TS_TMP/patches" +tmp_dir="AKASH_DEVCACHE_TS_TMP_PATCHES" if [ ! -d "$generated_dir" ]; then echo "Directory $generated_dir does not exist. Skipping..."