File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,15 @@ make_experiment_dir() {
4
4
mkdir -p " ${EXP_DIR} "
5
5
cd " ${EXP_DIR} " || die " Unable to access the experiment dir (${EXP_DIR} )." 2
6
6
rm -f " ${BUILD_SCAN_FILE} "
7
+
8
+ make_symlink_to_latest_experiment_dir
9
+ }
10
+
11
+ make_symlink_to_latest_experiment_dir () {
12
+ LINK_NAME=" $( dirname " ${EXP_DIR} " ) /latest"
13
+ readonly LINK_NAME
14
+ rm -f " ${LINK_NAME} " > /dev/null 2>&1
15
+ ln -s " ${EXP_DIR} " " ${LINK_NAME} " > /dev/null 2>&1
7
16
}
8
17
9
18
generate_run_id () {
Original file line number Diff line number Diff line change 1
1
* FIX: Gradle experiment scripts fail when using the ``` --project-dir ``` argument to specify the build invocation directory.
2
+ * Add a symbolic link to the latest experiment folder to ease folder navigation.
You can’t perform that action at this time.
0 commit comments