mirror of
https://github.com/tnypxl/rollup.git
synced 2025-12-15 15:03:17 +00:00
flatten scrape config to 'sites:'
* flatten scrape config to 'sites:'. Update unit tests and readme. * remove check for file_extensions configuration. * show progress indication after 5 seconds. * add documentation to functions * fix: remove MaxDepth and link extraction functionality * fix: Remove MaxDepth references from cmd/web.go
This commit is contained in:
@@ -112,9 +112,9 @@ func TestRunRollup(t *testing.T) {
|
||||
|
||||
// Set up test configuration
|
||||
cfg = &config.Config{
|
||||
FileTypes: []string{"go", "txt", "md"},
|
||||
Ignore: []string{"*.json", ".git/**", "vendor/**"},
|
||||
CodeGenerated: []string{"generated_*.go"},
|
||||
FileExtensions: []string{"go", "txt", "md"},
|
||||
IgnorePaths: []string{"*.json", ".git/**", "vendor/**"},
|
||||
CodeGeneratedPaths: []string{"generated_*.go"},
|
||||
}
|
||||
|
||||
// Change working directory to the temp directory
|
||||
|
||||
Reference in New Issue
Block a user