/* Copyright (c) 2020, 2023, The Unified Company. This code is part of Unify. This program is free software; you can redistribute it and/or modify it under the terms of the ESA Software Community License - Strong Copyleft, https://unifyjs.org */ import fs from "fs"; if( fs.existsSync( "./framework/cache/platforms" ) ) { fs.rmSync("./framework/cache/platforms", { recursive: true }); } fs.mkdirSync("./framework/cache/platforms"); if( fs.existsSync( "./framework/cache/server" ) ) { fs.rmSync("./framework/cache/server", { recursive: true }); } fs.mkdirSync("./framework/cache/server");