diff --git a/bin/package.json b/bin/package.json index 76a74f46..b4231140 100644 --- a/bin/package.json +++ b/bin/package.json @@ -1,3 +1,21 @@ +/* + 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. +*/ { "name": "cordova-android-cli", "description": "CLI tooling for the cordova-android project", diff --git a/bin/templates/project/cordova/templates/project/assets/www/.main.js.swp b/bin/templates/project/cordova/templates/project/assets/www/.main.js.swp new file mode 100644 index 00000000..07993ba2 Binary files /dev/null and b/bin/templates/project/cordova/templates/project/assets/www/.main.js.swp differ diff --git a/bin/templates/project/cordova/templates/project/assets/www/index.html b/bin/templates/project/cordova/templates/project/assets/www/index.html index a66fdbe2..2bf3dda5 100644 --- a/bin/templates/project/cordova/templates/project/assets/www/index.html +++ b/bin/templates/project/cordova/templates/project/assets/www/index.html @@ -1,4 +1,22 @@ +
diff --git a/bin/templates/project/cordova/templates/project/assets/www/main.js b/bin/templates/project/cordova/templates/project/assets/www/main.js index f6316928..739a02e3 100644 --- a/bin/templates/project/cordova/templates/project/assets/www/main.js +++ b/bin/templates/project/cordova/templates/project/assets/www/main.js @@ -1,3 +1,22 @@ +/* + 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. +*/ + var deviceInfo = function() { document.getElementById("platform").innerHTML = device.platform; document.getElementById("version").innerHTML = device.version; diff --git a/bin/templates/project/cordova/templates/project/assets/www/master.css b/bin/templates/project/cordova/templates/project/assets/www/master.css index d4401f51..3aad33d3 100644 --- a/bin/templates/project/cordova/templates/project/assets/www/master.css +++ b/bin/templates/project/cordova/templates/project/assets/www/master.css @@ -1,4 +1,24 @@ - body { +/* + 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. +*/ + + + body { background:#222 none repeat scroll 0 0; color:#666; font-family:Helvetica; diff --git a/bin/tests/autotest.coffee b/bin/tests/autotest.coffee index 28479653..1ee4c397 100644 --- a/bin/tests/autotest.coffee +++ b/bin/tests/autotest.coffee @@ -1,3 +1,23 @@ +/* + 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. +*/ + + exports['you are sane'] = (test) -> test.expect 1 test.ok true, "this assertion should always pass" diff --git a/bin/tests/create.coffee b/bin/tests/create.coffee index 0ed37efc..6c87af4f 100644 --- a/bin/tests/create.coffee +++ b/bin/tests/create.coffee @@ -1,3 +1,22 @@ +/* + 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. +*/ + util = require 'util' exec = require('child_process').exec path = require 'path' diff --git a/bin/tests/debug.coffee b/bin/tests/debug.coffee index e69de29b..a5d9ebac 100644 --- a/bin/tests/debug.coffee +++ b/bin/tests/debug.coffee @@ -0,0 +1,18 @@ +/* + 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. +*/