Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
caesr-pub
jekyll-scholar-extras
Commits
af848051
Commit
af848051
authored
Jan 03, 2018
by
rmrf
Browse files
Rakefile update
parent
2db6069d
Pipeline
#31887
failed with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Rakefile
View file @
af848051
require
'bundler'
begin
Bundler
.
setup
(
:default
,
:development
)
rescue
Bundler
::
BundlerError
=>
e
...
...
@@ -10,15 +11,24 @@ require 'rake'
require
'jekyll/scholar/version'
require
'cucumber/rake/task'
Cucumber
::
Rake
::
Task
.
new
(
:features
)
#
require 'cucumber/rake/task'
#
Cucumber::Rake::Task.new(:features)
task
:default
=>
[
:features
]
require
'coveralls/rake/task'
Coveralls
::
RakeTask
.
new
task
:test_with_coveralls
=>
[
:features
,
'coveralls:push'
]
#require 'coveralls/rake/task'
#Coveralls::RakeTask.new
#task :test_with_coveralls => [:features, 'coveralls:push']
require
'jekyll/scholar/version'
# Bring latest commit to oldest
# Mirror to github without history
task
:github
do
|
t
|
system
"git checkout --orphan upit"
system
"git commit -m 'Push jekyll-scholar-extras
#{
Jekyll
::
ScholarExtras
::
VERSION
}
to github' "
system
"echo 'push to remote without history'"
system
"git checkout master"
system
"git branch -D upit"
end
# Bring oldest commit to latest
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment