Skip to content

Commit 4deef39

Browse files
committed
Change fixed-build-dir flag default to true
1 parent a926587 commit 4deef39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/build.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ func addBuildFlags(cmd *cobra.Command) {
186186
cmd.Flags().String("report", "", "Generate a HTML report after the build has finished. (e.g. --report myreport.html)")
187187
cmd.Flags().String("report-segment", os.Getenv("LEEWAY_SEGMENT_KEY"), "Report build events to segment using the segment key (defaults to $LEEWAY_SEGMENT_KEY)")
188188
cmd.Flags().Bool("report-github", os.Getenv("GITHUB_OUTPUT") != "", "Report package build success/failure to GitHub Actions using the GITHUB_OUTPUT environment variable")
189-
cmd.Flags().Bool("fixed-build-dir", false, "Use a fixed build directory for each package, instead of based on the package version, to better utilize caches based on absolute paths (defaults to false)")
189+
cmd.Flags().Bool("fixed-build-dir", true, "Use a fixed build directory for each package, instead of based on the package version, to better utilize caches based on absolute paths (defaults to true)")
190190
}
191191

192192
func getBuildOpts(cmd *cobra.Command) ([]leeway.BuildOption, cache.LocalCache) {

0 commit comments

Comments
 (0)