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-
31BUNDLE_ID = "co.randompaper.qiita.alfred"
42PACKAGE_FILE = "info.plist"
53
64ALFRED_WORKFLOW_PATH = ENV [ 'ALFRED_WORKFLOW_PATH' ] || File . expand_path ( '~/Library/Application Support/Alfred 2/Alfred.alfredpreferences/workflows' )
75
8- task :default => [ :spec ]
6+ task :default => :spec
97
108desc "Link to Alfred"
119task :link do
@@ -16,3 +14,11 @@ desc "Unlink from Alfred"
1614task :unlink do
1715 rm File . join ( ALFRED_WORKFLOW_PATH , BUNDLE_ID )
1816end
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