Giter VIP home page Giter VIP logo

sassc-win's People

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

sassc-win's Issues

Switches

The switches I see in the help menu are:

Usage: sassc.exe [options] [INPUT] [OUTPUT]

Options:
   -s, --stdin             Read input from standard input instead of an input file.
   -t, --style NAME        Output style. Can be: nested, compressed.
   -l, --line-numbers      Emit comments showing original line numbers.
       --line-comments
   -I, --load-path PATH    Set Sass import path.
   -m, --sourcemap         Emit source map.
       --precision         Set the precision for numbers.
   -h, --help              Display this help message.

is this all there is? By comparison the node-sass module has:

Usage:
  node-sass [options] <input.scss> [output.css] cat <input.scss> | node-sass > output.css

Options:
  -w, --watch                Watch a directory or file
  -r, --recursive            Recursively watch directories or files
  -o, --output               Output directory
  -x, --omit-source-map-url  Omit source map URL comment from output
  -i, --indented-syntax      Treat data from stdin as sass code (versus scss)
  -q, --quiet                Suppress log output except on error
  -v, --version              Prints version info
  --output-style             CSS output style (nested | expanded | compact | compressed)
  --indent-type              Indent type for output CSS (space | tab)
  --indent-width             Indent width; number of spaces or tabs (maximum value: 10)
  --linefeed                 Linefeed style (cr | crlf | lf | lfcr)
  --source-comments          Include debug info in output
  --source-map               Emit source map
  --source-map-contents      Embed include contents in map
  --source-map-embed         Embed sourceMappingUrl as data URI
  --source-map-root          Base path, will be emitted in source-map as is
  --include-path             Path to look for imported files
  --precision                The amount of precision allowed in decimal numbers
  --importer                 Path to .js file containing custom importer
  --functions                Path to .js file containing custom functions
  --help                     Print usage info

Why is -t used for output style (rather than the more logical -o), and why can't it do all 4 of the normal methods.Granted I only ever use Expanded and Compressed, but having more options is never bad. And more importantly, where is the -w, --watch. That seems like an extremely important feature to have. One thing I think you could do to improve upon what node-sass is doing is have a -vs, --versassc and -vl, --verlibsass to print off seperate versions for each. And of course -v, --version just to be consistent with node, npm, git, etc. That's a pretty standard one.

Also, thank you for doing this. I couldn't believe how hard it was to find an already compiled sassc.exe. Though you should probably link to the Releases page in the readme of this repo, as many will not know to look there.

Update to latest libsass

Thanks for the much easier option for building sassc.exe. After updating the libsass folder, the build breaks with unresolved external symbol errors.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.