| Safe Haskell | None | 
|---|---|
| Language | Haskell2010 | 
FeedGipeda.Gipeda
Description
This module is just for parsing and generating gipeda.yaml files.
    It should probably replaced by a reference to gipeda, but it works for now.
    The raison d'être is settingsForRepo.
- data GipedaSettings = GipedaSettings {}
- data BenchmarkSettings = BenchmarkSettings {}
- settingsForRepo :: Repo -> IO GipedaSettings
- determineBenchmarkScript :: Repo -> IO String
Documentation
data GipedaSettings Source #
Models the possible settings in a gipeda.yaml file, as expected to be
    present by gipeda.
Constructors
| GipedaSettings | |
| Fields 
 | |
Instances
| Show GipedaSettings Source # | |
| ToJSON GipedaSettings Source # | |
data BenchmarkSettings Source #
Matches benchmark groups from the names in the produced benchmark CSV files.
Constructors
| BenchmarkSettings | |
| Fields 
 | |
Instances
| Show BenchmarkSettings Source # | |
| ToJSON BenchmarkSettings Source # | |
| FromJSON BenchmarkSettings Source # | |
settingsForRepo :: Repo -> IO GipedaSettings Source #
Generates a gipeda.yaml file for the given repository. It thereby takes
    project-specific settings from a top-level .?gipeda.ya?ml file at the
    repository's HEAD (if present) or from the project directory and fills
    in missing settings with defaults.
determineBenchmarkScript :: Repo -> IO String Source #
Determines the benchmark script for the given repo by looking into the
    gipeda.yaml file in the project-specific directory under the working
    directory. The settings file was previously generated by settingsForRepo,
    which also tries to merge project-specific settings to the default.