File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change
1
+ language : ruby
2
+ rvm :
3
+ - 2.1.2
Original file line number Diff line number Diff line change 1
- require 'rspec/core/rake_task'
2
-
3
1
BUNDLE_ID = "co.randompaper.qiita.alfred"
4
2
PACKAGE_FILE = "info.plist"
5
3
6
4
ALFRED_WORKFLOW_PATH = ENV [ 'ALFRED_WORKFLOW_PATH' ] || File . expand_path ( '~/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows' )
7
5
8
- task :default => [ :spec ]
6
+ task :default => :spec
9
7
10
8
desc "Link to Alfred"
11
9
task :link do
@@ -16,3 +14,11 @@ desc "Unlink from Alfred"
16
14
task :unlink do
17
15
rm File . join ( ALFRED_WORKFLOW_PATH , BUNDLE_ID )
18
16
end
17
+
18
+ require 'rspec/core/rake_task'
19
+
20
+ desc "Run all specs"
21
+ RSpec ::Core ::RakeTask . new ( :spec ) do |t |
22
+ t . rspec_opts = %w[ --color ]
23
+ t . verbose = false
24
+ end
You can’t perform that action at this time.
0 commit comments