Skip to content

Instantly share code, notes, and snippets.

@whdzera
Last active September 18, 2025 18:22
Show Gist options
  • Select an option

  • Save whdzera/aefad9ae560df32adfb7848e0bad28f2 to your computer and use it in GitHub Desktop.

Select an option

Save whdzera/aefad9ae560df32adfb7848e0bad28f2 to your computer and use it in GitHub Desktop.
jekyll-stimulus-tw-starter
task :default do
sh "rake -T"
end
desc "Boilerplate Jekyll"
task :jekyll, [:name] do |t, args|
abort "Please provide a name. Usage: rake jekyll[Name]" unless args[:name]
project_name = args[:name]
sh "cp -R jekyll-boilerplate #{project_name}"
Dir.chdir(project_name) do
sh "rm -rf .git"
sh "git init"
puts "Now in directory: #{Dir.pwd}"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment