Git Product home page Git Product logo

Comments (4)

sveetch avatar sveetch commented on August 23, 2024 1

Thanks for the report but i still need to duplicate inspector+scss tests for sass files support to check everything is ok.

Note that if you use Bulma as a library, you may be able to write your project sources with scss since Bulma library is given "as it" to libsass compiler and libsass is able to manage sources with mixed syntax.

from boussole.

sveetch avatar sveetch commented on August 23, 2024

Boussole does not support old legacy Sass syntax (aka *.sass) because i'm not sure about it will work with watcher that make extra job to inspect source to know about path to watch for.

Still it would work with the simple compile command since it just pass source to libsass, but with inspector it's another thing.

Some time ago, someone added a pull request just changing a settings and thought it would be ok, but Boussole is Test driven development and i don't have any one test about old legacy Sass syntax. I may have another idea about to maintain *.sass support if some one could bring me some tests to cover up everything like i did for *.scss

from boussole.

tehfink avatar tehfink commented on August 23, 2024

Thanks for the reply, and a cool project!

Boussole does not support old legacy Sass syntax (aka *.sass)…

I was hoping to use Boussole to work on Bulma, which uses .sass files: https://github.com/jgthms/bulma

After making the change to finder.py in @dansamara's PR, the compile command works for .sass files:

$ boussole -v 5 compile
17:23:16 - Building project
17:23:16 - Settings file: settings.json (json)
17:23:16 - Project sources directory: /Users/tehfink/…/my_project/static/css/sass
17:23:16 - Project destination directory: /Users/tehfink/…/my_project/static/css/compiled
17:23:16 - Exclude patterns: []
17:23:16 - Compile: /Users/tehfink/…/my_project/static/css/sass/test.sass
17:23:16 - Output: /Users/tehfink/…/my_project/static/css/compiled/test.css

After making a similar change in watch.py, changing line 74 to:

        'patterns': ['*.scss', '*.sass'],

now the watch command works with .sass files:

$ boussole -v 5 watch 
17:28:13 - Watching project
17:28:13 - Project sources directory: /Users/tehfink/…/my_project/static/css/sass
17:28:13 - Project destination directory: /Users/tehfink/…/my_project/static/css/compiled
17:28:13 - Exclude patterns: []
17:28:13 - Using Watchdog native platform observer
17:28:13 - Launching the watcher, use CTRL+C to stop it
17:28:38 - Change detected from an edit on: /Users/tehfink/…/my_project/static/css/sass/test.sass
17:28:38 - Compile: /Users/tehfink/…/my_project/static/css/sass/test.sass
17:28:38 - Output: /Users/tehfink/…/my_project/static/css/compiled/test.css

from boussole.

sveetch avatar sveetch commented on August 23, 2024

Added old indented Sass syntax in v1.5.0-pre.1 (3d5a089), not yet released as package.

from boussole.

Related Issues (20)

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.