add license header to all bat files, and echo off so we don't see the goto output
Project: http://git-wip-us.apache.org/repos/asf/cordova-wp8/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-wp8/commit/f752917d Tree: http://git-wip-us.apache.org/repos/asf/cordova-wp8/tree/f752917d Diff: http://git-wip-us.apache.org/repos/asf/cordova-wp8/diff/f752917d Branch: refs/heads/master Commit: f752917d107e551ddd62034969f1c9679939d37b Parents: 19fc5df Author: Jesse MacFadyen <[email protected]> Authored: Tue Jun 3 11:48:44 2014 -0700 Committer: Jesse MacFadyen <[email protected]> Committed: Tue Jun 3 11:48:44 2014 -0700 ---------------------------------------------------------------------- createTemplates.bat | 1 + wp8/bin/check_reqs.bat | 20 ++++++++++++++++++++ wp8/bin/create.bat | 20 ++++++++++++++++++++ wp8/bin/update.bat | 20 ++++++++++++++++++++ wp8/template/cordova/clean.bat | 1 + wp8/template/cordova/lib/install-device.bat | 1 + wp8/template/cordova/lib/install-emulator.bat | 1 + wp8/template/cordova/lib/list-devices.bat | 1 + .../cordova/lib/list-emulator-images.bat | 1 + .../cordova/lib/list-started-emulators.bat | 1 + wp8/template/cordova/lib/start-emulator.bat | 1 + wp8/template/cordova/log.bat | 1 + wp8/template/cordova/run.bat | 1 + wp8/template/cordova/version.bat | 1 + wp8/template/cordova/win_os_version.bat | 1 + wp8/template/cordova/win_sdk_version.bat | 1 + wp8/tooling/scripts/buildjs.bat | 1 + wp8/tooling/scripts/createTemplates.bat | 1 + wp8/tooling/scripts/dist.bat | 1 + wp8/tooling/scripts/new.bat | 1 + wp8/tooling/scripts/package.bat | 1 + wp8/tooling/scripts/reversion.bat | 1 + 22 files changed, 79 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/createTemplates.bat ---------------------------------------------------------------------- diff --git a/createTemplates.bat b/createTemplates.bat index a405b8f..24dac87 100644 --- a/createTemplates.bat +++ b/createTemplates.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/bin/check_reqs.bat ---------------------------------------------------------------------- diff --git a/wp8/bin/check_reqs.bat b/wp8/bin/check_reqs.bat index 19d5df1..f339c95 100644 --- a/wp8/bin/check_reqs.bat +++ b/wp8/bin/check_reqs.bat @@ -1,4 +1,24 @@ @ECHO OFF +goto endheader +# +# 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. +# +:endheader SET script_path="%~dp0check_reqs.js" IF EXIST %script_path% ( cscript %script_path% %* //nologo http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/bin/create.bat ---------------------------------------------------------------------- diff --git a/wp8/bin/create.bat b/wp8/bin/create.bat index 329048e..1794031 100644 --- a/wp8/bin/create.bat +++ b/wp8/bin/create.bat @@ -1,4 +1,24 @@ @ECHO OFF +goto endheader +# +# 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. +# +:endheader SET full_path=%~dp0 IF EXIST %full_path%create.js ( cscript "%full_path%create.js" %* //nologo http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/bin/update.bat ---------------------------------------------------------------------- diff --git a/wp8/bin/update.bat b/wp8/bin/update.bat index 9da7e3c..d39069d 100644 --- a/wp8/bin/update.bat +++ b/wp8/bin/update.bat @@ -1,4 +1,24 @@ @ECHO OFF +goto endheader +# +# 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. +# +:endheader SET full_path=%~dp0 IF EXIST %full_path%update.js ( cscript "%full_path%update.js" %* //nologo http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/template/cordova/clean.bat ---------------------------------------------------------------------- diff --git a/wp8/template/cordova/clean.bat b/wp8/template/cordova/clean.bat index f37347f..4b2d6c7 100644 --- a/wp8/template/cordova/clean.bat +++ b/wp8/template/cordova/clean.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/template/cordova/lib/install-device.bat ---------------------------------------------------------------------- diff --git a/wp8/template/cordova/lib/install-device.bat b/wp8/template/cordova/lib/install-device.bat index d0ed614..c656e54 100644 --- a/wp8/template/cordova/lib/install-device.bat +++ b/wp8/template/cordova/lib/install-device.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/template/cordova/lib/install-emulator.bat ---------------------------------------------------------------------- diff --git a/wp8/template/cordova/lib/install-emulator.bat b/wp8/template/cordova/lib/install-emulator.bat index 1d9758c..a6c42c9 100644 --- a/wp8/template/cordova/lib/install-emulator.bat +++ b/wp8/template/cordova/lib/install-emulator.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/template/cordova/lib/list-devices.bat ---------------------------------------------------------------------- diff --git a/wp8/template/cordova/lib/list-devices.bat b/wp8/template/cordova/lib/list-devices.bat index ab756a0..53be19a 100644 --- a/wp8/template/cordova/lib/list-devices.bat +++ b/wp8/template/cordova/lib/list-devices.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/template/cordova/lib/list-emulator-images.bat ---------------------------------------------------------------------- diff --git a/wp8/template/cordova/lib/list-emulator-images.bat b/wp8/template/cordova/lib/list-emulator-images.bat index 561cf57..bdfb164 100644 --- a/wp8/template/cordova/lib/list-emulator-images.bat +++ b/wp8/template/cordova/lib/list-emulator-images.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/template/cordova/lib/list-started-emulators.bat ---------------------------------------------------------------------- diff --git a/wp8/template/cordova/lib/list-started-emulators.bat b/wp8/template/cordova/lib/list-started-emulators.bat index d6022e5..04b365b 100644 --- a/wp8/template/cordova/lib/list-started-emulators.bat +++ b/wp8/template/cordova/lib/list-started-emulators.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/template/cordova/lib/start-emulator.bat ---------------------------------------------------------------------- diff --git a/wp8/template/cordova/lib/start-emulator.bat b/wp8/template/cordova/lib/start-emulator.bat index f78ecf7..db7b055 100644 --- a/wp8/template/cordova/lib/start-emulator.bat +++ b/wp8/template/cordova/lib/start-emulator.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/template/cordova/log.bat ---------------------------------------------------------------------- diff --git a/wp8/template/cordova/log.bat b/wp8/template/cordova/log.bat index 8962dd4..009e5b3 100644 --- a/wp8/template/cordova/log.bat +++ b/wp8/template/cordova/log.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/template/cordova/run.bat ---------------------------------------------------------------------- diff --git a/wp8/template/cordova/run.bat b/wp8/template/cordova/run.bat index de618b2..1f00e01 100644 --- a/wp8/template/cordova/run.bat +++ b/wp8/template/cordova/run.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/template/cordova/version.bat ---------------------------------------------------------------------- diff --git a/wp8/template/cordova/version.bat b/wp8/template/cordova/version.bat index 496334d..fb4a129 100644 --- a/wp8/template/cordova/version.bat +++ b/wp8/template/cordova/version.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/template/cordova/win_os_version.bat ---------------------------------------------------------------------- diff --git a/wp8/template/cordova/win_os_version.bat b/wp8/template/cordova/win_os_version.bat index 750f5f5..41c50c0 100644 --- a/wp8/template/cordova/win_os_version.bat +++ b/wp8/template/cordova/win_os_version.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/template/cordova/win_sdk_version.bat ---------------------------------------------------------------------- diff --git a/wp8/template/cordova/win_sdk_version.bat b/wp8/template/cordova/win_sdk_version.bat index 876ef14..7031875 100644 --- a/wp8/template/cordova/win_sdk_version.bat +++ b/wp8/template/cordova/win_sdk_version.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/tooling/scripts/buildjs.bat ---------------------------------------------------------------------- diff --git a/wp8/tooling/scripts/buildjs.bat b/wp8/tooling/scripts/buildjs.bat index 9d04681..6f9c2b0 100644 --- a/wp8/tooling/scripts/buildjs.bat +++ b/wp8/tooling/scripts/buildjs.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/tooling/scripts/createTemplates.bat ---------------------------------------------------------------------- diff --git a/wp8/tooling/scripts/createTemplates.bat b/wp8/tooling/scripts/createTemplates.bat index 906c666..6aa8f80 100644 --- a/wp8/tooling/scripts/createTemplates.bat +++ b/wp8/tooling/scripts/createTemplates.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/tooling/scripts/dist.bat ---------------------------------------------------------------------- diff --git a/wp8/tooling/scripts/dist.bat b/wp8/tooling/scripts/dist.bat index 1f4fea5..ac017d8 100644 --- a/wp8/tooling/scripts/dist.bat +++ b/wp8/tooling/scripts/dist.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/tooling/scripts/new.bat ---------------------------------------------------------------------- diff --git a/wp8/tooling/scripts/new.bat b/wp8/tooling/scripts/new.bat index a64441e..4798f6b 100644 --- a/wp8/tooling/scripts/new.bat +++ b/wp8/tooling/scripts/new.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/tooling/scripts/package.bat ---------------------------------------------------------------------- diff --git a/wp8/tooling/scripts/package.bat b/wp8/tooling/scripts/package.bat index d57f603..17b38f3 100644 --- a/wp8/tooling/scripts/package.bat +++ b/wp8/tooling/scripts/package.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one http://git-wip-us.apache.org/repos/asf/cordova-wp8/blob/f752917d/wp8/tooling/scripts/reversion.bat ---------------------------------------------------------------------- diff --git a/wp8/tooling/scripts/reversion.bat b/wp8/tooling/scripts/reversion.bat index b905240..79fa609 100644 --- a/wp8/tooling/scripts/reversion.bat +++ b/wp8/tooling/scripts/reversion.bat @@ -1,3 +1,4 @@ +@ECHO OFF goto endheader # # Licensed to the Apache Software Foundation (ASF) under one
