lib/makit/tasks.rb in makit-0.0.39 vs lib/makit/tasks.rb in makit-0.0.40
- old
+ new
@@ -13,11 +13,11 @@
end
end
desc "Remove any temporary products."
task :clean do
- Makit::SHOW.task(:blue)
+ Makit::SHOW.task(:clean)
Makit::RUNNER.run(Makit::RUNNER.parse_command_request("git clean -dXf"))
end
desc "Integrate changes into the git repository."
task :integrate do
@@ -25,27 +25,27 @@
Makit::Git.integrate
end
desc "Sync changes with the git repository."
task :sync do
- Makit::SHOW.task(:blue)
+ Makit::SHOW.task(:sync)
Makit::Git.sync
end
task :pull do
Makit::SHOW.task(:pull)
Makit::Git.pull
end
desc "Format source code."
task :format do
- Makit::SHOW.task(:blue)
+ Makit::SHOW.task(:format)
Makit::RUNNER.try("rufo .") if File.exist?("Gemfile") || File.exist?("Rakefile")
end
desc "Update dependencies."
task :update do
- Makit::SHOW.task(:blue)
+ Makit::SHOW.task(:update)
system("bundle update") if File.exist?("Gemfile")
# glob all *.csproj files
Dir.glob("**/*.csproj").each do |file|
"dotnet format #{file}".run
end