FazBrowse GitHub Viewer
|
Trending
|
URL:
|
Home
Tools:
[Download Repo ZIP]
[View Raw Code]
[Original HTTPS Page]
jsonapi-resources/Rakefile at master · JSONAPI-Resources/jsonapi-resources · GitHub
Uh oh!
There was an error while loading.
Please reload this page
.
JSONAPI-Resources
/
jsonapi-resources
Public
Notifications
You must be signed in to change notification settings
Fork
545
Star
2.3k
Code
Issues
208
Pull requests
52
Discussions
Actions
Projects
Wiki
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Wiki
Security and quality
Insights
Expand file tree
Breadcrumbs
jsonapi-resources
/
Rakefile
Copy path
More file actions
More file actions
Latest commit
History
History
History
35 lines (31 loc) · 962 Bytes
Breadcrumbs
jsonapi-resources
/
Rakefile
Copy path
File metadata and controls
35 lines (31 loc) · 962 Bytes
Raw
Copy raw file
Download raw file
Open symbols panel
Edit and raw actions
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'
require
'rake/testtask'
Rake
::
TestTask
.
new
do
|
t
|
t
.
verbose
=
true
t
.
warning
=
false
t
.
test_files
=
FileList
[
'test/**/*_test.rb'
]
end
task
default
:
[
:test
]
desc
'Run benchmarks'
namespace
:test
do
Rake
::
TestTask
.
new
(
:benchmark
)
do
|
t
|
t
.
pattern
=
'test/benchmark/*_benchmark.rb'
end
end
desc
'Test bug report template'
namespace
:test
do
namespace
:bug_report_template
do
task
:rails_5
do
puts
'Test bug report templates'
jsonapi_resources_root
=
File
.
expand_path
(
'..'
,
__FILE__
)
chdir_path
=
File
.
join
(
jsonapi_resources_root
,
'lib'
,
'bug_report_templates'
)
report_env
=
{
'SILENT'
=>
'true'
,
'JSONAPI_RESOURCES_PATH'
=>
jsonapi_resources_root
}
Bundler
.
with_clean_env
do
Dir
.
chdir
(
chdir_path
)
do
abort
(
'bug report template rails_5_master fails'
)
unless
system
(
report_env
,
Gem
.
ruby
,
'rails_5_master.rb'
)
end
end
end
end
end
Back
|
FazBrowse Home
|
New Git URL