forked from Barriebee/plinth
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathRakefile
More file actions
35 lines (29 loc) · 721 Bytes
/
Rakefile
File metadata and controls
35 lines (29 loc) · 721 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/usr/bin/env rake
require "bundler/gem_tasks"
desc "Push Style Guide"
task :push_it do
abort "This feature has been disbaled for now."
end
#
# Start server
#
desc "Start Styleguide Server \[port 3001\]"
task :start do
puts ''
puts ''
puts '=============================='
puts ' STARTING THE STYLEGUIDE'
puts '=============================='
puts ''
system 'bundle exec rails s -p 3001'
end
begin
require 'jasmine'
load 'jasmine/tasks/jasmine.rake'
rescue LoadError
task :jasmine do
abort "Jasmine is not available. In order to run jasmine, you must: (sudo) gem install jasmine"
end
end
require File.expand_path('../config/application', __FILE__)
SbStyleguide::Application.load_tasks