Metadata-Version: 1.1
Name: frigg-settings
Version: 1.0.0
Summary: A module for parsing and discovery of frigg settings file
Home-page: https://github.com/frigg/frigg-settings
Author: The frigg team
Author-email: hi@frigg.io
License: MIT
Description: frigg-settings |Build status| |Coverage status|
        ===============================================
        
        A python module for parsing and discovery of frigg settings file
        
        Installation
        ------------
        
        ::
        
            pip install frigg-settings
        
        Usage
        -----
        
        The same content as t.py, thus run ``python t.py`` to se the output.
        
        .. code:: python
        
            from frigg_settings.helpers import FileSystemWrapper
            from frigg_settings import build_tasks, load_settings_file, build_settings
        
            path = os.getcwd()
            runner = FileSystemWrapper()
        
            print('Tasks: {}'.format(build_tasks(path, runner)))
            print('Settings-file: {}'.format(load_settings_file('{}/.frigg.yml'.format(path), runner)))
            print('Build-settings: {}'.format(build_settings(path, runner)))
        
        The script prints the following:
        
        .. code:: text
        
            Tasks: ['tox', 'flake8']
            Settings-file: {'tasks': ['tox -e py34', 'tox -e flake8', 'tox -e isort', 'coverage report -m && coverage xml'], 'coverage': {'parser': 'python', 'path': 'coverage.xml'}}
            Build-settings: {'webhooks': [], 'services': [], 'tasks': ['tox -e py34', 'tox -e flake8', 'tox -e isort', 'coverage report -m && coverage xml'], 'coverage': {'parser': 'python', 'path': 'coverage.xml'}}
        
        --------------
        
        MIT © frigg.io
        
        .. |Build status| image:: https://ci.frigg.io/badges/frigg/frigg-settings/
           :target: https://ci.frigg.io/frigg/frigg-settings/last/
        .. |Coverage status| image:: https://ci.frigg.io/badges/coverage/frigg/frigg-settings/
           :target: https://ci.frigg.io/frigg/frigg-settings/last/
        
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
