Skip to content
Sassruist is the evil Sass/Scss ampersand slayer.
Branch: master
Clone or download
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
src fix mixed anp Jun 30, 2019
tests fix mixed anp Jun 30, 2019
www [demo] deploy Jul 1, 2019
.editorconfig test sass & fix bugs Jun 26, 2019
.gitignore init wasm site Jun 27, 2019
Cargo.lock
Cargo.toml rename Jun 29, 2019
README.md fix test Jun 29, 2019
build.sh add README.md Jun 27, 2019

README.md

Sassruist

Sassruist is the evil Scss ampersand slayer.

Unimplemented

Only Scss

I made a mistake and gave up.

A parent and a child sandwich @commands

In these cases, ampersands are not resolved.

.parent {      
  @include sp {
     &__a {}   
  }            
}              

Usage

USAGE:
    sassruist [FLAGS] <path>

FLAGS:
    -f, --fix        fix original file(s)
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <path>    target file or directory path

Develop

Test

cargo test

Run bin

cargo run --features bin src/bin.rs -h

Build bin

cargo build --features bin

Wasm Demo

The WebAssembly demo page is deployed here.
This demo was generated by using create-wasm-app.

Start Demo

wasm-pack build
cd ./www
npm install
npm run start

Build and Deploy demo page

Execute build script and commit all files.

sh ./build.sh
git add ./
git commit -m "[demo] deploy"
git push origin master
You can’t perform that action at this time.