2411: Updated check-copyright-notices script to correctly add the comment
authorLucas Di Pentima <lucas@curoverse.com>
Wed, 28 Jun 2017 22:53:36 +0000 (19:53 -0300)
committerLucas Di Pentima <lucas@curoverse.com>
Wed, 28 Jun 2017 22:53:36 +0000 (19:53 -0300)
block to coffeescript files.

Arvados-DCO-1.1-Signed-off-by: Lucas Di Pentima <lucas@curoverse.com>

apps/workbench/app/assets/javascripts/bootstrap.js.coffee
apps/workbench/app/assets/javascripts/keep_disks.js.coffee
build/check-copyright-notices

index 8d22e89854eb71d949a0bc8e8b98ae4f51f4907d..441d77fb89b5f0a4388193735cb0f6643873ddfd 100644 (file)
@@ -1,8 +1,8 @@
-// Copyright (C) The Arvados Authors. All rights reserved.
-//
-// SPDX-License-Identifier: AGPL-3.0
+### Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 ###
 
 jQuery ->
   $("a[rel=popover]").popover()
   $(".tooltip").tooltip()
-  $("a[rel=tooltip]").tooltip()
\ No newline at end of file
+  $("a[rel=tooltip]").tooltip()
index fe8c7a9edce625883583c1f598006b683e44517a..d33312d21cc35cf0d332ea800be43b791037d975 100644 (file)
@@ -1,6 +1,6 @@
-// Copyright (C) The Arvados Authors. All rights reserved.
-//
-// SPDX-License-Identifier: AGPL-3.0
+### Copyright (C) The Arvados Authors. All rights reserved.
+
+SPDX-License-Identifier: AGPL-3.0 ###
 
 cache_age_in_days = (milliseconds_age) ->
   ONE_DAY = 1000 * 60 * 60 * 24
index 239a0c6ba051294dfc0ec74f8787dd293a6b6b9d..cf4e9bf181b71e3dbd933eb76c4423fe0815f7c8 100755 (executable)
@@ -133,7 +133,13 @@ git ls-files -z ${@} | \
                 cc=""
                 ce=" */"
                 ;;
-            *.go | *.scss | *.java | *.js | *.coffee)
+            *.coffee)
+                fixer=fixer
+                cs="### "
+                cc=""
+                ce=" ###"
+                ;;
+            *.go | *.scss | *.java | *.js)
                 fixer=fixer
                 cc="//"
                 ;;