[Tools] testbot: Add Emacs directives to automatically get 2-space indentation.

Francois Gouget fgouget at codeweavers.com
Mon Oct 2 20:25:48 CDT 2017


Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
---
 testbot/bin/Engine.pl                          | 1 +
 testbot/bin/Janitor.pl                         | 1 +
 testbot/bin/PingEngine.pl                      | 1 +
 testbot/bin/build/Build.pl                     | 1 +
 testbot/bin/build/Reconfig.pl                  | 1 +
 testbot/lib/ObjectModel/CGI/FreeFormPage.pm    | 1 +
 testbot/lib/WineTestBot/ConfigLocalTemplate.pl | 1 +
 7 files changed, 7 insertions(+)

diff --git a/testbot/bin/Engine.pl b/testbot/bin/Engine.pl
index 956f180c..6dddc8f7 100755
--- a/testbot/bin/Engine.pl
+++ b/testbot/bin/Engine.pl
@@ -1,4 +1,5 @@
 #!/usr/bin/perl -Tw
+# -*- Mode: Perl; perl-indent-level: 2; indent-tabs-mode: nil -*-
 #
 # The WineTestBot server, aka the engine that makes it all work.
 #
diff --git a/testbot/bin/Janitor.pl b/testbot/bin/Janitor.pl
index 6dcbf488..383ae315 100755
--- a/testbot/bin/Janitor.pl
+++ b/testbot/bin/Janitor.pl
@@ -1,4 +1,5 @@
 #!/usr/bin/perl -Tw
+# -*- Mode: Perl; perl-indent-level: 2; indent-tabs-mode: nil -*-
 #
 # This script performs janitorial tasks. It removes incomplete patch series,
 # archives old jobs and purges older jobs and patches.
diff --git a/testbot/bin/PingEngine.pl b/testbot/bin/PingEngine.pl
index 2fb1b702..618b844b 100755
--- a/testbot/bin/PingEngine.pl
+++ b/testbot/bin/PingEngine.pl
@@ -1,4 +1,5 @@
 #!/usr/bin/perl -Tw
+# -*- Mode: Perl; perl-indent-level: 2; indent-tabs-mode: nil -*-
 #
 # Pings the WineTestBot engine to see if it is still alive.
 #
diff --git a/testbot/bin/build/Build.pl b/testbot/bin/build/Build.pl
index fb3235db..051039f1 100755
--- a/testbot/bin/build/Build.pl
+++ b/testbot/bin/build/Build.pl
@@ -1,4 +1,5 @@
 #!/usr/bin/perl -Tw
+# -*- Mode: Perl; perl-indent-level: 2; indent-tabs-mode: nil -*-
 #
 # Performs the 'build' task in the build machine. Specifically this applies a
 # conformance test patch, rebuilds the impacted test and retrieves the
diff --git a/testbot/bin/build/Reconfig.pl b/testbot/bin/build/Reconfig.pl
index dfc338b5..7e267091 100755
--- a/testbot/bin/build/Reconfig.pl
+++ b/testbot/bin/build/Reconfig.pl
@@ -1,4 +1,5 @@
 #!/usr/bin/perl -Tw
+# -*- Mode: Perl; perl-indent-level: 2; indent-tabs-mode: nil -*-
 #
 # Performs the 'reconfig' task in the build machine. Specifically this updates
 # the build machine's Wine repository, re-runs configure, and rebuilds the
diff --git a/testbot/lib/ObjectModel/CGI/FreeFormPage.pm b/testbot/lib/ObjectModel/CGI/FreeFormPage.pm
index 77cac6b4..607fd7bd 100644
--- a/testbot/lib/ObjectModel/CGI/FreeFormPage.pm
+++ b/testbot/lib/ObjectModel/CGI/FreeFormPage.pm
@@ -1,3 +1,4 @@
+# -*- Mode: Perl; perl-indent-level: 2; indent-tabs-mode: nil -*-
 # Base class for web pages containing a form which is not bound to a db table
 #
 # Copyright 2009 Ge van Geldorp
diff --git a/testbot/lib/WineTestBot/ConfigLocalTemplate.pl b/testbot/lib/WineTestBot/ConfigLocalTemplate.pl
index 6d8128bc..1b1a62ef 100644
--- a/testbot/lib/WineTestBot/ConfigLocalTemplate.pl
+++ b/testbot/lib/WineTestBot/ConfigLocalTemplate.pl
@@ -1,3 +1,4 @@
+# -*- Mode: Perl; perl-indent-level: 2; indent-tabs-mode: nil -*-
 # WineTestBot configuration
 #
 # Copyright 2009 Ge van Geldorp
-- 
2.14.1




More information about the wine-patches mailing list