Comments (4)
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.
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.
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.
Added old indented Sass syntax in v1.5.0-pre.1 (3d5a089), not yet released as package.
from boussole.
Related Issues (20)
- Broken links on Core API documentation HOT 1
- Test against python-libsass 0.13.4 HOT 1
- Source map path is not correct
- Libsass does not find unqualified *.css source anymore HOT 2
- Discovering and default settings backend filename HOT 3
- Put every packaging config into 'setup.cfg'
- Forgot to clean 'setup.py'
- FutureWarning: `custom_import_extensions` HOT 1
- PyYAML .load() deprecation warning HOT 1
- Import resolution HOT 2
- Upgrade to last Click version HOT 1
- Not working on Mac HOT 4
- Install documentation note about compiling is out of date HOT 1
- click 8.1.0 dropped Python3.6 support HOT 1
- Move documentation building requirement to its own extra requirements HOT 1
- Builds manifest
- sass-embedded HOT 1
- How to use libsass with boussole through a single python process? HOT 8
- ReadTheDoc build is broken HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from boussole.