-
Notifications
You must be signed in to change notification settings - Fork 7
/
computron.sh
executable file
·30 lines (22 loc) · 1.59 KB
/
computron.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# CMAKE_VERSION=3.22.1 - This comment is used by the maintenance script to look up the cmake version
# Clear Slicer settings
# See https://github.com/Slicer/Slicer/pull/6879 introduced in March 2023
rm -rf /Users/svc-dashboard/.config/slicer.org/
# Clear reports to help avoid "The last time you opened ... Do you want to try to reopen its windows again?" dialog
rm -rf /Users/svc-dashboard/Library/Application\ Support/CrashReporter/*
# Clear "Saved Application State" specific to Slicer
rm -rf /Users/svc-dashboard/Library/Saved\ Application\ State/org.slicer.slicer.savedState/
# Restore 'site-packages' directory associated with Slicer 'Stable' build
# Note: Hyper-short name required on computron (S-0-build -> A)
rm -rf /D/S/A/python-install/lib/python3.9/site-packages
cp -rp \
/D/S/A/python-install/lib/python3.9/site-packages.bkp \
/D/S/A/python-install/lib/python3.9/site-packages
# Slicer 'Preview' release
/D/Support/CMake-3.22.1.app/Contents/bin/ctest -S /D/DashboardScripts/computron-slicer_preview_nightly.cmake -VV -O /D/Logs/computron-slicer_preview_nightly.log
# Slicer 'Preview' release extensions
/D/Support/CMake-3.22.1.app/Contents/bin/ctest -S /D/DashboardScripts/computron-slicerextensions_preview_nightly.cmake -VV -O /D/Logs/computron-slicerextensions_preview_nightly.log
# Slicer 'Stable' release extensions
/D/Support/CMake-3.22.1.app/Contents/bin/ctest -S /D/DashboardScripts/computron-slicerextensions_stable_nightly.cmake -VV -O /D/Logs/computron-slicerextensions_stable_nightly.log
# Medical Team Dashboard
/D/Med/MedicalTeamDashboardScripts/computron.sh > /D/Med/Logs/computron.log 2>&1