Use independent cache on dev mode

This commit is contained in:
the1812 2020-11-05 20:10:22 +08:00
parent e17a2e373b
commit bd070a49d3
8 changed files with 7 additions and 8 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -10,7 +10,7 @@ namespace BilibiliEvolved.Build
{
public class BuildCache : IDisposable
{
public static string CacheFilename => "build.cache";
public static string CacheFilename => ProjectBuilder.ProductionMode ? "build.cache" : "dev.cache";
private readonly string fileName;
private readonly ConcurrentDictionary<string, string> sha1Cache = new ConcurrentDictionary<string, string>();
private readonly DirectoryInfo cacheDirectory;

Binary file not shown.

View File

@ -69,7 +69,6 @@
"dark-important.min.css": "71FA9C7DDCA886A5782FBA12E0F5B626851F530F5AAC619E8869DCEB066EF928",
"dark-navbar.min.css": "7FAD547E326B768904B3739C978DF86FFDDD5E5064FB8F490710D197CCC3018B",
"dark-schedule.min.js": "364DB7A5C21006669E38A60DF20166031EFC31CCAE0E74D1253995CC6EA4916F",
"dark-slice-13.min.css": "D61ABF5EBECC8C213B555CB3BD43D45FD36B904C1C53B22C6348F4F0599D1F11",
"dark-styles.min.js": "7B38EBEA44F6707A1840FED261F50922797E07545F2EEACE3F44DF4C15C591E2",
"dark.min.css": "83CFD50F35E7E9BE34EB935D0985AB913D800149AEFFEBA23343E0F90593CC1B",
"dark.user.css": "1ACC702219A2A5AF0AB95BE9524BE8F4AD6CDFE2BFE815549E270F24596D5A6C",

Binary file not shown.