Skip to content

Use bundler for Sass dependency #4

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Sep 9, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,15 +79,14 @@ build/Release
# Dependency directories
node_modules
jspm_packages
bower_components
vendor

# Optional npm cache directory
.npm

# Optional REPL history
.node_repl_history

# Dependency directories
bower_components

# Sass Cache
.sass-cache
.sass-cache
4 changes: 4 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# A sample Gemfile
source "https://rubygems.org"

gem "sass"
13 changes: 13 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
GEM
remote: https://rubygems.org/
specs:
sass (3.4.22)

PLATFORMS
ruby

DEPENDENCIES
sass

BUNDLED WITH
1.11.2
1 change: 1 addition & 0 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ module.exports = function (grunt) {
options: {
style: 'expanded',
precision: 8,
bundleExec: true,
'unix-newlines': true
}
}
Expand Down
9 changes: 8 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,11 +34,18 @@ You can also import the theme into your styles using SASS.

Development
------------
You must have Node and Grunt CLI installed. To install Grunt CLI, run: `npm install -g grunt-cli`. Once you have those tools installed, clone this repo and run the following commands to install dependencies:
You must have Node + NPM, Grunt CLI, Bower, and Ruby + Bundler installed.

* To install Grunt CLI, run: `npm install -g grunt-cli`
* To install Bower, run: `npm install -g bower`
* To install Bundler, run: `gem install bundler`

Once you have those tools installed, clone this repo and run the following commands to install dependencies:

```
npm install
bower install
bundle install
```

Once all of the dependencies are installed, run `grunt build` to build the theme (artifacts will be dropped in `./dist`), or simply `grunt` to start a live reload server for development.
Expand Down