-
-
Notifications
You must be signed in to change notification settings - Fork 14
Advanced Usage
Kyle Wood edited this page Jan 3, 2024
·
2 revisions
This repo will only have a single version per branch, but it's made to be able to support multiple versions at once. This makes it easy to compare multiple versions, as well as comparing tooling changes against the same version.
You can open any published version alongside any currently open versions with the open
command:
./gradlew open --ver={version_name}
# For example:
./gradlew open --ver=1.20.1
# To a different directory name
./gradlew open --ver=1.20.1 --dir-name=1.20.1-other
When you provide a general version, such as 1.20.1
, Mâché will select the latest build for the given version. You can
specify a specific build as well:
./gradlew open --ver=1.20.1+build.1
You can copy any version you have open already to a different directory name using the copy
command:
./gradlew copy --from={from_dir} --to={to_dir}
# For example:
./gradlew copy --from=1.20.1 --to=1.20.1-copy
Both arguments refer to the name of the directory inside the versions/
directory.