Add rake/tasks/submodules.rake
This commit is contained in:
parent
c7606fa4cd
commit
3d092371da
2 changed files with 9 additions and 0 deletions
|
@ -9,6 +9,7 @@ require "yaml"
|
|||
load "rake/tasks/deploy.rake"
|
||||
load "rake/tasks/linter.rake"
|
||||
load "rake/tasks/nanoc.rake"
|
||||
load "rake/tasks/submodules.rake"
|
||||
|
||||
desc "Serve the website on localhost"
|
||||
task :server, [:host, :port] do |_t, args|
|
||||
|
|
8
rake/tasks/submodules.rake
Normal file
8
rake/tasks/submodules.rake
Normal file
|
@ -0,0 +1,8 @@
|
|||
namespace :submodules do
|
||||
desc "Copy surah-name-glyphs into place"
|
||||
task :'copy-glyphs' do
|
||||
sh "cp -Rfv " \
|
||||
"submodules/surah-name-glyphs/opengraph/*.png " \
|
||||
"src/images/opengraph/"
|
||||
end
|
||||
end
|
Loading…
Reference in a new issue