Git Product home page Git Product logo

compass-sass's People

Contributors

altosz avatar burtbeckwith avatar dpcasady avatar stefankendall2 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

compass-sass's Issues

compass-sass 0.6 , grails 2.0 on mac doesn't seem to work

i get the following error:

Error loading event script from file [/Users/quorak/.grails/2.0.0/projects/beeWorkflow/plugins/compass-sass-0.6/scripts/_Events.groovy] /Users/quorak/.grails/2.0.0/projects/beeWorkflow/plugins/compass-sass-0.6**/src/groovy/com/stefankendall**/CompassInvoker.groovy (/Users/quorak/.grails/2.0.0/projects/beeWorkflow/plugins/compass-sass-0.6**/src/groovy/com/stefankendall/**CompassInvoker.groovy) (Use --stacktrace to see the full trace)

import sass/ scss located in plugins

Thanks for your plugin, it's awesome. But there is an issue when we build a multiple module project using grails plugin system.
First of all, we created a plugin which only contains the base sass files which can be imported by other plugins/ main app.
The plugin does not contain the GrassConfig.groovy. But when packing it, it will always generate one and cause compilation error on the main app caused by the duplicated GrassConfig.groovy in the plugins and the main app.
Another issue is about importing the sass/ scss located in plugin between different plugins and the main app. Currently, it will show "File to import not found or unreadable" when importing such files. Any workaround to solve this issues? Thanks.

relative_assets cannot be changed

The config file specifies the ability to toggle "relative_assets", but due to a bug in compile(), this isn't working.

I have a patch and am sending you a pull request.

Update resources-plugin to 1.1.6

Currenty (at least in my case) grails asks me upon dependency renewal if I want to upgrade to 1.1.5 (although I have 1.1.6 installed) and afterwards asks me to upgrade to 1.1.6 again.. Kind of strange.

Grails 2.0 support

Would be great to see this updated to support Grails 2.0 along with it's associated plugin updates.

Differentiate between using plugin with explicit compilation of SASS/SCSS files and resources plugin integration

Hi,
in my opinion, the plugin has two modes of operation:

  1. Compilation of SASS/SCSS files located in the folder grass.sass_dir, either continuously when run-app is invoked (using compass watch) or on demand when compile-css is invoked (using compass compile).
  2. Integration into the resource framework, using a SASS/SCSS resource mapper (SassResourceMapper.groovy) and referencing SASS/SCSS files in the application resource definitions, with attrs: [type: 'css'] set.

Is this correct?

I think, these two modes are used mutual exclusive. E.g., I decided to use the second mode and thus, I do not require compass watch to be run upon run-app.
Can you introduce a flag to switch between the two modes of operation in GrassConfig.groovy, or a flag to disable compass watching the grass.sass_dir?

Thanks!

Florian

scss not compiling correctly

I have this plugin setup with the defaults and compiling, but once my css gets a certain length it starts cutting things off.

This....

header {
    background-color:green;

    h1 {
        color:white;
        font-weight:bold;
        text-transform:uppercase;
        padding:10px 0;
    }

}

#main{
    padding-top:30px;
    min-height:300px;
    background-color:#eeeeee;
}

body.welcome {
    div.post {
        border: 1px dashed black;
        background-color: #eeeeee;
        margin-bottom:10px;
        padding:20px;
    }

}

turns into this....

header {
  background-color: green;
}
header h1 {
  color: white;
  font-weight: bold;
  text-transform: uppercase;
  padding: 10px 0;
}

#main {
  padding-top: 30px;
  min-height: 300px;
  background-color: #eeeeee;
}

body.welcome div.post {
  border: 1px dashed black;
  background-color: #eeeeee;
  margin-bottom: 10px;

notice the padding isn't there and the bottom bracket is missing. If I switch everything around in terms of order, it doesn't matter.. it just cuts off the last few lines. Even if I change the styles to something completely mundane.

Any ideas on how I can even see if an error is happening?

Slow

Testing with a project and it's really slow, like 30 sec per file. Running windows jdk 1.7, grails 2.3.0 and latest version of your plugin.

jruby: No such file or directory -- compass (LoadError)

We're using the latest version, just installed into a new Grails app.

$ jruby -v                                                                                                 [9:17:56]
jruby 1.6.2 (ruby-1.8.7-p330) (2011-05-23 e2ea975) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_26) [darwin-x86_64-java]

App itself runs fine but every time I launch it I see:

$ grails install-blueprint
Welcome to Grails 1.3.7 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /Users/xxx/grails

Base Directory: /local/svn/app/grails-soa/trunk
Resolving dependencies...
Dependencies resolved in 1799ms.
Running script /Users/xxx/.grails/1.3.7/projects/trunk/plugins/compass-sass-0.4.3/scripts/InstallBlueprint.groovy
Environment set to development
Executing: jruby -S compass create --using blueprint --sass-dir ./src/stylesheets --css-dir ./web-app/css --javascripts-dir js --images-dir ./web-app/images
jruby: No such file or directory -- compass (LoadError)

Blueprint has been installed!

I had Compass installed already on my MacBook Pro (Snow Leopard) using rvm but I blew rvm away and manually had jruby install compass:

$ jruby -S gem install compass --pre
Fetching: sass-3.1.10.gem (100%)
Fetching: chunky_png-1.2.5.gem (100%)
Fetching: fssm-0.2.7.gem (100%)
Fetching: compass-0.12.alpha.0.gem (100%)
Successfully installed sass-3.1.10
Successfully installed chunky_png-1.2.5
Successfully installed fssm-0.2.7
Successfully installed compass-0.12.alpha.0
4 gems installed

But no change in result, still get the error

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.