public async Task UpdateAsync(IEnumerable <IMigration> previousMigrations) { if (!previousMigrations.Any(x => x is Migration01_FromCqrs)) { await rebuilder.RebuildAssetsAsync(); } }
public async Task RunAsync(CancellationToken ct) { if (rebuildOptions.Apps) { await rebuilder.RebuildAppsAsync(ct); } if (rebuildOptions.Schemas) { await rebuilder.RebuildSchemasAsync(ct); } if (rebuildOptions.Rules) { await rebuilder.RebuildRulesAsync(ct); } if (rebuildOptions.Assets) { await rebuilder.RebuildAssetsAsync(ct); } if (rebuildOptions.Contents) { await rebuilder.RebuildContentAsync(ct); } if (rebuildOptions.Indexes) { await populateGrainIndexes.UpdateAsync(); } }
public async Task UpdateAsync(IEnumerable <IMigration> previousMigrations) { await rebuilder.RebuildConfigAsync(); await rebuilder.RebuildContentAsync(); await rebuilder.RebuildAssetsAsync(); }
public Task UpdateAsync() { return(rebuilder.RebuildAssetsAsync()); }