Skip to content

Cleaning

marksvc edited this page Mar 14, 2023 · 4 revisions

After updating or switching branches, some of these cleaning steps may be helpful. Run from the repo root directory.

# Delete obj directories left over from old .NET versions.
find test src -name obj -print0 | xargs -0 rm -vrf
# Clean .NET backend.
dotnet clean
# Install realtime server and frontend dependencies.
cd src/RealtimeServer &&
  npm install &&
  cd ../SIL.XForge.Scripture/ClientApp &&
  npm install

On Windows, replace the find command above with:

FOR /F "tokens=*" %G IN ('DIR /B /AD /S obj') DO RMDIR /S /Q "%G"
Clone this wiki locally