Skip to content

uminocelo/musezz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Musezz

A simple and flexible SCSS compiler script for your web projects.

Overview

Musezz is a Bash script that simplifies compiling SCSS files to CSS. It supports both Dart Sass and Node Sass, works with file watching, and offers various customization options.

Features

  • Supports both Dart Sass and Node Sass
  • Watch mode for automatic compilation when files change
  • Recursive directory processing
  • Skips partial files (beginning with _)
  • Multiple style outputs (compressed, expanded, etc.)
  • Source map generation
  • Force compilation option

Requirements

You need one of the following installed:

For watch mode, you'll need:

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/musezz.git
  2. Make the script executable:

    chmod +x musezz.sh

Usage

Basic usage:

./musezz.sh -i <input_directory> -o <output_directory>

Options

Option Description
-i, --input <dir> Input directory containing SCSS files
-o, --output <dir> Output directory for compiled CSS
-s, --style <style> Output style (compressed, expanded, etc.)
-m, --source-map Generate source maps
-w, --watch Watch for file changes
-r, --recursive Process directories recursively
-f, --force Force compilation even if files are up-to-date
-h, --help Show help information

Examples

Compile a directory of SCSS files:

./musezz.sh -i src/scss -o src/css

Watch for changes and compile automatically:

./musezz.sh -i src/scss -o src/css -w

Compile with expanded style and source maps:

./musezz.sh -i src/scss -o src/css -s expanded -m

License

MIT License

Contributing

Contributions are welcome! Please feel free to submit a Pull Request.

About

A simple and flexible SCSS compiler script for your web projects.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages