summaryrefslogtreecommitdiff
path: root/ext/win32-eventlog/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'ext/win32-eventlog/Rakefile')
-rw-r--r--ext/win32-eventlog/Rakefile22
1 files changed, 11 insertions, 11 deletions
diff --git a/ext/win32-eventlog/Rakefile b/ext/win32-eventlog/Rakefile
index 0aaf5df62f..81137b0d8d 100644
--- a/ext/win32-eventlog/Rakefile
+++ b/ext/win32-eventlog/Rakefile
@@ -1,6 +1,6 @@
-require 'rubygems'
-require 'rake'
-require 'mkmf'
+require "rubygems"
+require "rake"
+require "mkmf"
desc "Building event log dll"
@@ -13,13 +13,13 @@ def ensure_present(commands)
end
-EVT_MC_FILE = 'chef-log.man'
-EVT_RC_FILE = 'chef-log.rc'
-EVT_RESOURCE_OBJECT = 'resource.o'
-EVT_SHARED_OBJECT = 'chef-log.dll'
-MC = 'windmc'
-RC = 'windres'
-CC = 'gcc'
+EVT_MC_FILE = "chef-log.man"
+EVT_RC_FILE = "chef-log.rc"
+EVT_RESOURCE_OBJECT = "resource.o"
+EVT_SHARED_OBJECT = "chef-log.dll"
+MC = "windmc"
+RC = "windres"
+CC = "gcc"
ensure_present [MC, RC, CC]
@@ -39,7 +39,7 @@ file EVT_SHARED_OBJECT => EVT_RESOURCE_OBJECT do
end
task :register => EVT_SHARED_OBJECT do
- require 'win32/eventlog'
+ require "win32/eventlog"
dll_file = File.expand_path(EVT_SHARED_OBJECT)
begin
Win32::EventLog.add_event_source(