From a42a99029fb05c7f47959f7634da7ba23d4ea25a Mon Sep 17 00:00:00 2001 From: Wouter van Oortmerssen <wvo@google.com> Date: Mon, 23 May 2016 13:53:08 -0700 Subject: [PATCH] Made .sh files all have same comment formatting. Change-Id: Ie7cc268a8823aec1d06c8b7cbef54068d832de3a --- android/build_apk.sh | 1 + biicode/support/bii-travis.sh | 2 +- reflection/generate_code.sh | 2 +- samples/android/build_apk.sh | 1 + samples/android_sample.sh | 3 ++- samples/csharp_sample.sh | 3 ++- samples/go_sample.sh | 3 ++- samples/java_sample.sh | 3 ++- samples/javascript_sample.sh | 3 ++- samples/php_sample.sh | 3 ++- samples/python_sample.sh | 3 ++- tests/GoTest.sh | 1 + tests/JavaScriptTest.sh | 2 +- tests/JavaTest.sh | 2 +- tests/PythonTest.sh | 1 + tests/generate_code.sh | 2 +- 16 files changed, 23 insertions(+), 12 deletions(-) diff --git a/android/build_apk.sh b/android/build_apk.sh index 4967ee6d..1b9f4a45 100755 --- a/android/build_apk.sh +++ b/android/build_apk.sh @@ -1,4 +1,5 @@ #!/bin/bash -eu +# # Copyright (c) 2013 Google, Inc. # # This software is provided 'as-is', without any express or implied diff --git a/biicode/support/bii-travis.sh b/biicode/support/bii-travis.sh index d327a47c..67854c7c 100755 --- a/biicode/support/bii-travis.sh +++ b/biicode/support/bii-travis.sh @@ -1,5 +1,5 @@ #!/bin/bash - +# # Copyright 2016 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/reflection/generate_code.sh b/reflection/generate_code.sh index c679caf0..da8a1813 100644 --- a/reflection/generate_code.sh +++ b/reflection/generate_code.sh @@ -1,5 +1,5 @@ #!/bin/bash - +# # Copyright 2016 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/samples/android/build_apk.sh b/samples/android/build_apk.sh index 4967ee6d..1b9f4a45 100755 --- a/samples/android/build_apk.sh +++ b/samples/android/build_apk.sh @@ -1,4 +1,5 @@ #!/bin/bash -eu +# # Copyright (c) 2013 Google, Inc. # # This software is provided 'as-is', without any express or implied diff --git a/samples/android_sample.sh b/samples/android_sample.sh index 9e746fb2..ead8fd80 100755 --- a/samples/android_sample.sh +++ b/samples/android_sample.sh @@ -1,4 +1,5 @@ #!/bin/bash +# # Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +13,7 @@ # 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. - +# # Note: This script requires the Android NDK and Android SDK to be installed. # It also requires an Android device to be connected for installing and # running the applicaton. diff --git a/samples/csharp_sample.sh b/samples/csharp_sample.sh index 5c86f7b7..ea472ed9 100755 --- a/samples/csharp_sample.sh +++ b/samples/csharp_sample.sh @@ -1,4 +1,5 @@ #!/bin/bash +# # Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +13,7 @@ # 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. - +# # Note: This script runs on Mac and Linux. It requires `mono` to be installed # and `flatc` to be built (using `cmake` in the root directory). diff --git a/samples/go_sample.sh b/samples/go_sample.sh index 2a0605f2..13a96c12 100755 --- a/samples/go_sample.sh +++ b/samples/go_sample.sh @@ -1,4 +1,5 @@ #!/bin/bash +# # Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +13,7 @@ # 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. - +# # Note: This script runs on Mac and Linux. It requires `go` to be installed # and 'flatc' to be built (using `cmake` in the root directory). diff --git a/samples/java_sample.sh b/samples/java_sample.sh index 3e7ebcfe..bd1315f4 100755 --- a/samples/java_sample.sh +++ b/samples/java_sample.sh @@ -1,4 +1,5 @@ #!/bin/bash +# # Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +13,7 @@ # 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. - +# # Note: This script runs on Mac and Linux. It requires `java` to be installed # and `flatc` to be built (using `cmake` in the root directory). diff --git a/samples/javascript_sample.sh b/samples/javascript_sample.sh index 794ec4b7..4bbc478d 100755 --- a/samples/javascript_sample.sh +++ b/samples/javascript_sample.sh @@ -1,4 +1,5 @@ #!/bin/bash +# # Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +13,7 @@ # 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. - +# # Note: This script runs on Mac and Linux. It requires `Node.js` to be installed # and `flatc` to be built (using `cmake` in the root directory). diff --git a/samples/php_sample.sh b/samples/php_sample.sh index 8a55e2a0..c23edc38 100755 --- a/samples/php_sample.sh +++ b/samples/php_sample.sh @@ -1,4 +1,5 @@ #!/bin/bash +# # Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +13,7 @@ # 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. - +# # Note: This script runs on Mac and Linux. It requires `php` to be installed # and `flatc` to be built (using `cmake` in the root directory). diff --git a/samples/python_sample.sh b/samples/python_sample.sh index 9148c7d8..ca5de2b0 100755 --- a/samples/python_sample.sh +++ b/samples/python_sample.sh @@ -1,4 +1,5 @@ #!/bin/bash +# # Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); @@ -12,7 +13,7 @@ # 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. - +# # Note: This script runs on Mac and Linux. It requires `python` to be installed # and `flatc` to be built (using `cmake` in the root directory). diff --git a/tests/GoTest.sh b/tests/GoTest.sh index f9cc4104..353930a6 100755 --- a/tests/GoTest.sh +++ b/tests/GoTest.sh @@ -1,4 +1,5 @@ #!/bin/bash -eu +# # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tests/JavaScriptTest.sh b/tests/JavaScriptTest.sh index 799c55e2..75db0078 100755 --- a/tests/JavaScriptTest.sh +++ b/tests/JavaScriptTest.sh @@ -1,5 +1,5 @@ #!/bin/sh - +# # Copyright 2016 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tests/JavaTest.sh b/tests/JavaTest.sh index 7dd7ea98..344bd1c0 100755 --- a/tests/JavaTest.sh +++ b/tests/JavaTest.sh @@ -1,5 +1,5 @@ #!/bin/sh - +# # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tests/PythonTest.sh b/tests/PythonTest.sh index e59110b7..00fee7c7 100755 --- a/tests/PythonTest.sh +++ b/tests/PythonTest.sh @@ -1,4 +1,5 @@ #!/bin/bash -eu +# # Copyright 2014 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); diff --git a/tests/generate_code.sh b/tests/generate_code.sh index 712da6c7..b74c2bec 100644 --- a/tests/generate_code.sh +++ b/tests/generate_code.sh @@ -1,5 +1,5 @@ #!/bin/bash - +# # Copyright 2015 Google Inc. All rights reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); -- GitLab