Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/appfolio/sassc-import_once

Changes the behavior of Sassc's @import directive to only import a file once.
https://github.com/appfolio/sassc-import_once

Last synced: about 2 months ago
JSON representation

Changes the behavior of Sassc's @import directive to only import a file once.

Awesome Lists containing this project

README

        

# SassC::ImportOnce
[![Gem Version][gem-badge]][gem]
[![Build status][build-badge]][build]

Changes the behavior of Sassc's @import directive to only import a file once. This is very similar to the functionality provided by https://github.com/Compass/compass/tree/master/import-once for Sass.

## Installation

Add this line to your application's Gemfile:

```ruby
gem 'sassc-import_once', :require => 'sassc/import_once/activate'
```

And then execute:

$ bundle

Or install it yourself as:

$ gem install sassc-import_once

## Usage

TODO: Write usage instructions here

## Contributing

1. Fork it ( https://github.com/[my-github-username]/sassc-import_once/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create a new Pull Request

[gem-badge]: https://badge.fury.io/rb/sassc-import_once.svg
[gem]: http://badge.fury.io/rb/sassc-import_once
[build-badge]: https://travis-ci.org/appfolio/sassc-import_once.svg
[build]: https://travis-ci.org/appfolio/sassc-import_once