lib/makit/tasks.rb in makit-0.0.0 vs lib/makit/tasks.rb in makit-0.0.1
- old
+ new
@@ -10,13 +10,13 @@
# For example, close files, remove temporary files, etc.
# store current state of Makit::PROJECT to a file
#json_filename = File.join(Makit::Directories::PROJECT_ROOT, ".makit.project.json")
#puts "Saving project state to #{json_filename}"
#Makit::PROJECT.save_as(json_filename)
- yml_filename = File.join(Makit::Directories::PROJECT_ROOT, ".makit.project.yml")
- puts "Saving project state to #{yml_filename}"
- Makit::PROJECT.save_as(yml_filename)
+ #yml_filename = File.join(Makit::Directories::PROJECT_ROOT, ".makit.project.yml")
+ #puts "Saving project state to #{yml_filename}"
+ # Makit::PROJECT.save_as(yml_filename)
end
# This module provides classes for the Makit gem.
module Makit
# This class provide methods for managing persistent data for the makit gem
@@ -59,5 +59,9 @@
Dir.glob("**/*.csproj").each do |file|
"dotnet format #{file}".run
end
end
+# Register the at_exit hook for cleanup
+at_exit do
+ puts "at_exit in tasks.rb...."
+end