From 4c3a4b57251361376ed7df69b05afc6813f515c7 Mon Sep 17 00:00:00 2001 From: 0x1eef <0x1eef@protonmail.com> Date: Fri, 9 Feb 2024 19:57:29 -0300 Subject: [PATCH] Add Rakefile.rb task descriptions --- Rakefile.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Rakefile.rb b/Rakefile.rb index 63abc8d..dc3cd51 100644 --- a/Rakefile.rb +++ b/Rakefile.rb @@ -2,18 +2,22 @@ require_relative "rakelib/builders" load "twenty-frontend/tasks/nanoc.rake" namespace :gem do + desc "Build gemspec" task :gemspec, [:version] do |t, args| GemSpec.call(args[:version]) end + desc "Copy files to stage directory" task :copy, [:version] => [:gemspec] do |t, args| Copy.call(args[:version]) end + desc "Build gems" task :build, [:version] => ["nanoc:clean", "nanoc:build", :copy] do |t, args| Build.call(args[:version]) end + desc "Deploy gems" task :deploy, [:version] => [:build] do |t, args| Deploy.call(args[:version]) end