Refactor compass plugin #47

Merged
merged 2 commits into from Apr 23, 2013

Conversation

2 participants
Contributor

tedtate commented Mar 7, 2013

Moved the compass plugin logic in to its own file and then create separate plugins for either using running compass when running either build or preview.

Original compass_plugin.coffee file left for compatibility reasons. Ideally going forward if people wanted to run compass both with preview and with build they would do something like this in their project.json:

    "build_directory": "bld",
    "plugins": ["compass_build", "compass_run"],
    "exclude": [
Contributor

tedtate commented Mar 7, 2013

The main purpose behind doing this is so that users can include the "compass_build" plugin to build minified versions of their SCSS without having to run compass in the same shell as preview (which was required by "compass_plugin")

@noahadams @rrjamie Thoughts?

Ryan J Daw
Merge branch 'master' into compass-plugin-refactor
Conflicts:
	src/compass_plugin.coffee

rrjamie pushed a commit that referenced this pull request Apr 23, 2013

@rrjamie rrjamie merged commit d31f50e into master Apr 23, 2013

1 check was pending

default
Details

@rrjamie rrjamie deleted the compass-plugin-refactor branch Apr 23, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment