Francois Gouget : testbot: Add Emacs directives to automatically get 2-space indentation.

Alexandre Julliard julliard at winehq.org
Tue Oct 3 02:43:56 CDT 2017


Module: tools
Branch: master
Commit: 0be52c9c403dde301b537e7db1abfb81d75fe46e
URL:    http://source.winehq.org/git/tools.git/?a=commit;h=0be52c9c403dde301b537e7db1abfb81d75fe46e

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Oct  3 03:25:48 2017 +0200

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

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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 956f180..6dddc8f 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 6dcbf48..383ae31 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 2fb1b70..618b844 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 fb3235d..051039f 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 dfc338b..7e26709 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 77cac6b..607fd7b 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 6d8128b..1b1a62e 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




More information about the wine-cvs mailing list