refactor: remove support for the railpack no-cache property

This replicates the docker-options functionality.
This commit is contained in:
Jose Diaz-Gonzalez
2025-11-15 23:30:24 -05:00
parent 93cf9cc118
commit 364eac374d
4 changed files with 6 additions and 63 deletions

View File

@@ -38,9 +38,6 @@ cmd-builder-railpack-report-single() {
"--builder-railpack-computed-railpackjson-path: $(fn-builder-railpack-computed-railpackjson-path "$APP")"
"--builder-railpack-global-railpackjson-path: $(fn-builder-railpack-global-railpackjson-path "$APP")"
"--builder-railpack-railpackjson-path: $(fn-builder-railpack-railpackjson-path "$APP")"
"--builder-railpack-computed-no-cache: $(fn-builder-railpack-computed-no-cache "$APP")"
"--builder-railpack-global-no-cache: $(fn-builder-railpack-global-no-cache "$APP")"
"--builder-railpack-no-cache: $(fn-builder-railpack-no-cache "$APP")"
)
if [[ -z "$INFO_FLAG" ]]; then
@@ -91,26 +88,3 @@ fn-builder-railpack-railpackjson-path() {
fn-plugin-property-get "builder-railpack" "$APP" "railpackjson-path" ""
}
fn-builder-railpack-computed-no-cache() {
declare APP="$1"
file="$(fn-builder-railpack-no-cache "$APP")"
if [[ "$file" == "" ]]; then
file="$(fn-builder-railpack-global-no-cache "$APP")"
fi
echo "$file"
}
fn-builder-railpack-global-no-cache() {
declare APP="$1"
fn-plugin-property-get "builder-railpack" "--global" "no-cache" "false"
}
fn-builder-railpack-no-cache() {
declare APP="$1"
fn-plugin-property-get "builder-railpack" "$APP" "no-cache" ""
}