Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
Gleb Mazovetskiy 0ca86d31fc streamline tests, switch to minitest 2014-08-24 22:46:13 +02:00
Gleb Mazovetskiy 0cbe7255b5 pure scss asset helpers, new paths 2014-06-24 03:08:13 +02:00
Gleb Mazovetskiy 8adf184001 Rakefile: load path 2014-05-01 07:59:10 +02:00
Gleb Mazovetskiy 328973b548 bower.json main field
See #563 #585 #586

Adds `rake bower:spec` to automatically generate main and version fields
for bower.json.
2014-04-14 13:22:31 +02:00
Carlos Diaz-Padron c624370acb Create directory from argument in compile task
Previously, the compile task would always create a tmp/ directory, even
if another directory is specified. The specified directory was also not
created if necessary.
2014-03-19 21:53:27 -04:00
Gleb Mazovetskiy 347a33e3b0 rake compile minor fixes #540 2014-02-25 01:05:23 +01:00
Gleb Mazovetskiy f076f64a4a Minor refactorings and rake less_to_scss
less_to_scss:

    $ echo '.p { #gradient > .horizontal(red,blue) }' | rake less_to_scss[master]
    .p { @include gradient-horizontal(red,blue) }
2013-12-20 23:20:01 +01:00
Gleb Mazovetskiy c58415eef0 Sass-only support 2013-11-14 21:55:26 +01:00
Gleb Mazovetskiy 07f9d01b55 rake compile will compile CSS to tmp/ 2013-08-18 20:34:36 +02:00
Peter Gumeson 49811fb945 Ported converter rake task from compass-twitter-bootstrap gem. 2013-05-23 14:51:56 -07:00
Thomas McDonald 52b7f4869a Merge branch 'master' into 3
Merge updates from master since I started working on 3.
2013-04-13 16:16:40 +01:00
Thomas McDonald 0f144a11d0 Update to a working copy of 3-wip 2013-04-13 15:59:28 +01:00
Tristan Harward 3e40c4caea Provide image_path that works with Sprockets
Prior to this, functions in sprockets-sass conflicted with ours and caused an infinite loop and StackError. This fixes thomas-mcdonald/bootstrap-sass#257

Note that Sprockets' asset_path requires configuration if it's not already configured by your framework. For example, in a simple Rack app, add the following to your config.ru:

environment.context_class.class_eval do
  def asset_path(path, options = {})
    "/assets/#{path}"
  end
end
2013-03-21 13:06:19 -04:00
Thomas McDonald c53b325b32 Update rake:debug with file locations 2013-01-20 14:48:46 +00:00
Thomas McDonald bc90e37c6c Alter rake debug to compile bootstrap-responsive 2012-06-04 11:34:57 +01:00
Thomas McDonald 931fbc67b4 Add rake:debug task to quickly build the CSS
Previously to ensure that changes have been working it was required to
build the gem and then push it to a sample application (e.g. Rails &
Compass).

The rake:debug task uses plain Sass - as we do for testing, and creates
the file 'debug.css' without having to rebuild the Gem and fire up an
application.
2012-05-12 08:24:22 +01:00
Thomas McDonald ff71c5f2aa add tests to check for compilation errors with Sass 2012-05-06 19:50:46 +01:00