Closed thomaswelton closed 11 years ago
Compser.json
composer.json
to install my fork
{
"minimum-stability": "dev",
"repositories": [
{
"type": "vcs",
"url": "https://github.com/thomaswelton/compass-twitter-bootstrap"
}
],
"require": {
"vwall/compass-twitter-bootstrap": "master"
},
"config": {
"vendor-dir": "vendor"
}
}
composer.json
to install the project after the PR
{
"require": {
"vwall/compass-twitter-bootstrap": "master"
},
"config": {
"vendor-dir": "vendor"
}
}
This and all other composer dependencies for the project can be installed by running composer install
from the terminal.
Then in my config.rb
extentions_dir = 'vendor'
add_import_path extentions_dir + '/jlong/sass-twitter-bootstrap/lib'
From then I can import bootstrap elements into my scss files to create a custom build of twitter bootstrap
@import "compass";
// Core variables and mixins
@import "compass_twitter_bootstrap/variables"; // Modify this for custom colors, font-sizes, etc
@import "compass_twitter_bootstrap/mixins";
.clearfix {
@include ctb-clearfix();
}
.hide-text {
@include ctb-hide-text();
}
.input-block-level {
@include ctb-input-block-level();
}
// CSS Reset
@import "compass_twitter_bootstrap/reset";
// Grid system and page structure
@import "compass_twitter_bootstrap/scaffolding";
@import "compass_twitter_bootstrap/grid";
@import "compass_twitter_bootstrap/layouts";
:/ Yeah i should have install this using bundle instead
Added a composer.json file as discussed here - closes #120 http://getcomposer.org/