Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap-rubygem.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Rakefile b/Rakefile
index 90158b2..e12012d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -19,8 +19,13 @@ end
desc 'Convert bootstrap to bootstrap-sass'
task :convert, :branch do |t, args|
require './tasks/converter'
- branch = args[:branch]
- Converter.new(branch).process
+ Converter.new(branch: args[:branch]).process_bootstrap
+end
+
+desc 'LESS to stdin -> Sass to stdout'
+task :less_to_scss, :branch do |t, args|
+ require './tasks/converter'
+ puts Converter.new(branch: args[:branch]).convert_less(STDIN.read)
end
desc 'Compile bootstrap-sass to tmp/ (or first arg)'