Last active
September 18, 2025 18:22
-
-
Save whdzera/aefad9ae560df32adfb7848e0bad28f2 to your computer and use it in GitHub Desktop.
jekyll-stimulus-tw-starter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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