meaqese / AutoImporter

AutoImporer - tool that can import all other preprocessor style files to single style file.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AutoImporter Codacy Badge Build Status

What is it?

Tool that can import all preprocessor files to single file.

How to use?

Syntax

python autoimporter.py path_to_config

path_to_config - YAML file there are import settings

How to create config file?

  1. Create any file with .yaml extension (e.g.: config.yaml (logical))
  2. Configurate this config file.
    import (list) - less file paths which need to import to styles.
    destination (str) - preprocessor styles file, where will be all imports
  3. That's all! Congratulations 🎉

Example

Config file (in sandbox/config.yaml)

import: [blocks/*/**, blocks/*] 
destination: styles.scss

Command

python autoimporter.py sandbox/config.yaml

About

AutoImporer - tool that can import all other preprocessor style files to single style file.


Languages

Language:Python 94.9%Language:SCSS 5.1%