-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathcomputron-slicer_stable_package.sh
More file actions
executable file
·31 lines (23 loc) · 1.37 KB
/
computron-slicer_stable_package.sh
File metadata and controls
executable file
·31 lines (23 loc) · 1.37 KB
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
31
#!/usr/bin/env bash
# CMAKE_VERSION=NA - 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/kitware/Library/Application\ Support/CrashReporter/*
# Clear "Saved Application State" specific to Slicer
rm -rf /Users/kitware/Library/Saved\ Application\ State/org.slicer.slicer.savedState/
# Remove source and build directories
# Note: Hyper-short name required on computron (S-0-build -> A)
rm -rf /D/S/S-0
rm -rf /D/S/A
rm -rf /D/S/S-0-E-b
# Slicer 'Stable' release
/D/Support/CMake-3.22.1.app/Contents/bin/ctest -S /D/DashboardScripts/computron-slicer_stable_package.cmake -VV -O /D/Logs/computron-slicer_stable_package.log
# Backup 'site-packages' directory associated with Slicer 'Stable' build
# Note: Hyper-short name required on computron (S-0-build -> A)
cp -rp \
/D/S/A/python-install/lib/python3.12/site-packages \
/D/S/A/python-install/lib/python3.12/site-packages.bkp
# 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