You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@buildr.apache.org by do...@apache.org on 2014/05/30 02:45:38 UTC

[2/2] git commit: Add licenses to the xsl files and enhance the 'license' rake task to enforce licenses have been added to xsl files

Add licenses to the xsl files and enhance the 'license' rake task to enforce licenses have been added to xsl files


Project: http://git-wip-us.apache.org/repos/asf/buildr/repo
Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/4934d3b1
Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/4934d3b1
Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/4934d3b1

Branch: refs/heads/master
Commit: 4934d3b16ba5b72a38833c7d7ff947484e6e2214
Parents: d5decfe
Author: Peter Donald <pe...@realityforge.org>
Authored: Fri May 30 10:45:28 2014 +1000
Committer: Peter Donald <pe...@realityforge.org>
Committed: Fri May 30 10:45:28 2014 +1000

----------------------------------------------------------------------
 addon/buildr/checkstyle-report.xsl | 17 +++++++++++++++++
 addon/buildr/css_lint-report.xsl   | 17 +++++++++++++++++
 addon/buildr/scss_lint-report.xsl  | 18 ++++++++++++++++++
 rakelib/checks.rake                |  2 +-
 4 files changed, 53 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/buildr/blob/4934d3b1/addon/buildr/checkstyle-report.xsl
----------------------------------------------------------------------
diff --git a/addon/buildr/checkstyle-report.xsl b/addon/buildr/checkstyle-report.xsl
index 07843a4..716acf8 100644
--- a/addon/buildr/checkstyle-report.xsl
+++ b/addon/buildr/checkstyle-report.xsl
@@ -2,6 +2,23 @@
 
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
+  <!--
+     Licensed to the Apache Software Foundation (ASF) under one or more
+     contributor license agreements.  See the NOTICE file distributed with
+     this work for additional information regarding copyright ownership.
+     The ASF licenses this file to You under the Apache License, Version 2.0
+     (the "License"); you may not use this file except in compliance with
+     the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+  -->
+
   <xsl:template match="/">
     <html>
       <head>

http://git-wip-us.apache.org/repos/asf/buildr/blob/4934d3b1/addon/buildr/css_lint-report.xsl
----------------------------------------------------------------------
diff --git a/addon/buildr/css_lint-report.xsl b/addon/buildr/css_lint-report.xsl
index 11f174e..290533f 100644
--- a/addon/buildr/css_lint-report.xsl
+++ b/addon/buildr/css_lint-report.xsl
@@ -2,6 +2,23 @@
 
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
+  <!--
+     Licensed to the Apache Software Foundation (ASF) under one or more
+     contributor license agreements.  See the NOTICE file distributed with
+     this work for additional information regarding copyright ownership.
+     The ASF licenses this file to You under the Apache License, Version 2.0
+     (the "License"); you may not use this file except in compliance with
+     the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+  -->
+
   <xsl:template match="/">
     <html>
       <head>

http://git-wip-us.apache.org/repos/asf/buildr/blob/4934d3b1/addon/buildr/scss_lint-report.xsl
----------------------------------------------------------------------
diff --git a/addon/buildr/scss_lint-report.xsl b/addon/buildr/scss_lint-report.xsl
index b378207..9ab913f 100644
--- a/addon/buildr/scss_lint-report.xsl
+++ b/addon/buildr/scss_lint-report.xsl
@@ -2,6 +2,24 @@
 
 <xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
 
+  <!--
+     Licensed to the Apache Software Foundation (ASF) under one or more
+     contributor license agreements.  See the NOTICE file distributed with
+     this work for additional information regarding copyright ownership.
+     The ASF licenses this file to You under the Apache License, Version 2.0
+     (the "License"); you may not use this file except in compliance with
+     the License.  You may obtain a copy of the License at
+
+         http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+  -->
+
+
   <xsl:template match="/">
     <html>
       <head>

http://git-wip-us.apache.org/repos/asf/buildr/blob/4934d3b1/rakelib/checks.rake
----------------------------------------------------------------------
diff --git a/rakelib/checks.rake b/rakelib/checks.rake
index 6b02665..744890e 100644
--- a/rakelib/checks.rake
+++ b/rakelib/checks.rake
@@ -14,7 +14,7 @@
 # the License.
 
 desc 'Check that source files contain the Apache license'
-task 'license' => FileList['{addon,lib,doc,rakelib}/**/*.{rb,rake,java}', 'buildr.gemspec', 'Rakefile'] do |task|
+task 'license' => FileList['{addon,lib,doc,rakelib}/**/*.{xsl,rb,rake,java}', 'buildr.gemspec', 'Rakefile'] do |task|
   puts 'Checking that files contain the Apache license ... '
   required = task.prerequisites.select { |fn| File.file?(fn) }
   missing = required.reject { |fn|