Add rake/tasks/submodules.rake

This commit is contained in:
0x1eef 2024-03-15 13:05:58 -03:00
parent c7606fa4cd
commit 3d092371da
2 changed files with 9 additions and 0 deletions

View file

@ -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|

View 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