CB-13380 added missing license headers
Project: http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/commit/9345e5ed Tree: http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/tree/9345e5ed Diff: http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/diff/9345e5ed Branch: refs/heads/master Commit: 9345e5ed03e2118b3f5baccd96c570446406d2a2 Parents: 53dda04 Author: Steve Gill <[email protected]> Authored: Thu Oct 5 17:34:46 2017 -0700 Committer: Steve Gill <[email protected]> Committed: Thu Oct 5 17:34:46 2017 -0700 ---------------------------------------------------------------------- Makefile | 19 +++++++++++++++++++ README.md | 21 +++++++++++++++++++++ index.js | 17 +++++++++++++++++ lib/parseJob.js | 17 +++++++++++++++++ lib/parser/pbxproj.js | 17 +++++++++++++++++ lib/parser/pbxproj.pegjs | 17 +++++++++++++++++ lib/pbxFile.js | 17 +++++++++++++++++ lib/pbxProject.js | 17 +++++++++++++++++ lib/pbxWriter.js | 17 +++++++++++++++++ test/BuildSettings.js | 17 +++++++++++++++++ test/FrameworkSearchPaths.js | 17 +++++++++++++++++ test/HeaderSearchPaths.js | 17 +++++++++++++++++ test/LibrarySearchPaths.js | 17 +++++++++++++++++ test/OtherLinkerFlags.js | 17 +++++++++++++++++ test/addBuildPhase.js | 17 +++++++++++++++++ test/addFramework.js | 17 +++++++++++++++++ test/addHeaderFile.js | 17 +++++++++++++++++ test/addRemovePbxGroup.js | 17 +++++++++++++++++ test/addResourceFile.js | 17 +++++++++++++++++ test/addSourceFile.js | 17 +++++++++++++++++ test/addStaticLibrary.js | 17 +++++++++++++++++ test/addTarget.js | 17 +++++++++++++++++ test/addTargetDependency.js | 17 +++++++++++++++++ test/addToPbxFileReferenceSection.js | 19 ++++++++++++++++++- test/addXCConfigurationList.js | 17 +++++++++++++++++ test/dataModelDocument.js | 17 +++++++++++++++++ test/group.js | 17 +++++++++++++++++ test/knownRegions.js | 17 +++++++++++++++++ test/multipleTargets.js | 17 +++++++++++++++++ test/parser/build-config.js | 17 +++++++++++++++++ test/parser/comments.js | 17 +++++++++++++++++ test/parser/dotsInNames.js | 17 +++++++++++++++++ test/parser/file-references.js | 17 +++++++++++++++++ test/parser/hash.js | 17 +++++++++++++++++ test/parser/header-search.js | 17 +++++++++++++++++ test/parser/section-entries.js | 17 +++++++++++++++++ test/parser/section-split.js | 17 +++++++++++++++++ test/parser/section.js | 17 +++++++++++++++++ test/parser/two-sections.js | 17 +++++++++++++++++ test/parser/with_array.js | 17 +++++++++++++++++ test/pbxFile.js | 17 +++++++++++++++++ test/pbxItemByComment.js | 17 +++++++++++++++++ test/pbxProject.js | 17 +++++++++++++++++ test/pbxTargetByName.js | 17 +++++++++++++++++ test/pbxWriter.js | 17 +++++++++++++++++ test/removeFramework.js | 17 +++++++++++++++++ test/removeHeaderFile.js | 17 +++++++++++++++++ test/removeResourceFile.js | 17 +++++++++++++++++ test/removeSourceFile.js | 17 +++++++++++++++++ test/variantGroup.js | 19 ++++++++++++++++++- test/xcode5searchPaths.js | 17 +++++++++++++++++ 51 files changed, 875 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/Makefile ---------------------------------------------------------------------- diff --git a/Makefile b/Makefile index f838310..8e42288 100644 --- a/Makefile +++ b/Makefile @@ -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. +# + tests: nodeunit test/* test/parser/* http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md index 0df0f73..e22b2fb 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,24 @@ +<!-- +# +# 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. +# +--> + # node-xcode > parser/toolkit for xcodeproj project files http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/index.js ---------------------------------------------------------------------- diff --git a/index.js b/index.js index c593bb8..4fe8416 100644 --- a/index.js +++ b/index.js @@ -1 +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. + */ + exports.project = require('./lib/pbxProject') http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/lib/parseJob.js ---------------------------------------------------------------------- diff --git a/lib/parseJob.js b/lib/parseJob.js index 9d6bffa..4e34eb2 100644 --- a/lib/parseJob.js +++ b/lib/parseJob.js @@ -1,3 +1,20 @@ +/** + 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. + */ + // parsing is slow and blocking right now // so we do it in a separate process var fs = require('fs'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/lib/parser/pbxproj.js ---------------------------------------------------------------------- diff --git a/lib/parser/pbxproj.js b/lib/parser/pbxproj.js index 69f2a6a..1ed30c5 100644 --- a/lib/parser/pbxproj.js +++ b/lib/parser/pbxproj.js @@ -1,3 +1,20 @@ +/** + 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. + */ + /* * Generated by PEG.js 0.10.0. * http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/lib/parser/pbxproj.pegjs ---------------------------------------------------------------------- diff --git a/lib/parser/pbxproj.pegjs b/lib/parser/pbxproj.pegjs index c612689..66699e0 100644 --- a/lib/parser/pbxproj.pegjs +++ b/lib/parser/pbxproj.pegjs @@ -1,3 +1,20 @@ +/** + 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. + */ + { function merge_obj(obj, secondObj) { if (!obj) http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/lib/pbxFile.js ---------------------------------------------------------------------- diff --git a/lib/pbxFile.js b/lib/pbxFile.js index 768122a..4d593f0 100644 --- a/lib/pbxFile.js +++ b/lib/pbxFile.js @@ -1,3 +1,20 @@ +/** + 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 path = require('path'), util = require('util'); http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/lib/pbxProject.js ---------------------------------------------------------------------- diff --git a/lib/pbxProject.js b/lib/pbxProject.js index 4243f65..c14f28b 100644 --- a/lib/pbxProject.js +++ b/lib/pbxProject.js @@ -1,3 +1,20 @@ +/** + 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 util = require('util'), f = util.format, EventEmitter = require('events').EventEmitter, http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/lib/pbxWriter.js ---------------------------------------------------------------------- diff --git a/lib/pbxWriter.js b/lib/pbxWriter.js index a65bcf1..9d49867 100644 --- a/lib/pbxWriter.js +++ b/lib/pbxWriter.js @@ -1,3 +1,20 @@ +/** + 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 pbxProj = require('./pbxProject'), util = require('util'), f = util.format, http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/BuildSettings.js ---------------------------------------------------------------------- diff --git a/test/BuildSettings.js b/test/BuildSettings.js index 0d940a4..213f575 100644 --- a/test/BuildSettings.js +++ b/test/BuildSettings.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/FrameworkSearchPaths.js ---------------------------------------------------------------------- diff --git a/test/FrameworkSearchPaths.js b/test/FrameworkSearchPaths.js index d717416..b709f3a 100644 --- a/test/FrameworkSearchPaths.js +++ b/test/FrameworkSearchPaths.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/HeaderSearchPaths.js ---------------------------------------------------------------------- diff --git a/test/HeaderSearchPaths.js b/test/HeaderSearchPaths.js index 15d1292..998fd8b 100644 --- a/test/HeaderSearchPaths.js +++ b/test/HeaderSearchPaths.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/LibrarySearchPaths.js ---------------------------------------------------------------------- diff --git a/test/LibrarySearchPaths.js b/test/LibrarySearchPaths.js index 8f9dd68..6788e10 100644 --- a/test/LibrarySearchPaths.js +++ b/test/LibrarySearchPaths.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/OtherLinkerFlags.js ---------------------------------------------------------------------- diff --git a/test/OtherLinkerFlags.js b/test/OtherLinkerFlags.js index ad99c8d..de59f4c 100644 --- a/test/OtherLinkerFlags.js +++ b/test/OtherLinkerFlags.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/addBuildPhase.js ---------------------------------------------------------------------- diff --git a/test/addBuildPhase.js b/test/addBuildPhase.js index f5dd27c..987ab34 100644 --- a/test/addBuildPhase.js +++ b/test/addBuildPhase.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/addFramework.js ---------------------------------------------------------------------- diff --git a/test/addFramework.js b/test/addFramework.js index d7e1c2b..c3c3200 100644 --- a/test/addFramework.js +++ b/test/addFramework.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/addHeaderFile.js ---------------------------------------------------------------------- diff --git a/test/addHeaderFile.js b/test/addHeaderFile.js index 064f1ea..0837f11 100644 --- a/test/addHeaderFile.js +++ b/test/addHeaderFile.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/addRemovePbxGroup.js ---------------------------------------------------------------------- diff --git a/test/addRemovePbxGroup.js b/test/addRemovePbxGroup.js index 7c6e978..a6a9aca 100644 --- a/test/addRemovePbxGroup.js +++ b/test/addRemovePbxGroup.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/addResourceFile.js ---------------------------------------------------------------------- diff --git a/test/addResourceFile.js b/test/addResourceFile.js index 3959efb..58382d1 100644 --- a/test/addResourceFile.js +++ b/test/addResourceFile.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/addSourceFile.js ---------------------------------------------------------------------- diff --git a/test/addSourceFile.js b/test/addSourceFile.js index 8d1bba5..5d84050 100644 --- a/test/addSourceFile.js +++ b/test/addSourceFile.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/addStaticLibrary.js ---------------------------------------------------------------------- diff --git a/test/addStaticLibrary.js b/test/addStaticLibrary.js index 6ba7c27..b099901 100644 --- a/test/addStaticLibrary.js +++ b/test/addStaticLibrary.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/addTarget.js ---------------------------------------------------------------------- diff --git a/test/addTarget.js b/test/addTarget.js index 265bb0d..85cb8d5 100644 --- a/test/addTarget.js +++ b/test/addTarget.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/addTargetDependency.js ---------------------------------------------------------------------- diff --git a/test/addTargetDependency.js b/test/addTargetDependency.js index 2ed6983..b77ed61 100644 --- a/test/addTargetDependency.js +++ b/test/addTargetDependency.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/addToPbxFileReferenceSection.js ---------------------------------------------------------------------- diff --git a/test/addToPbxFileReferenceSection.js b/test/addToPbxFileReferenceSection.js index a3319a7..9ee10e6 100644 --- a/test/addToPbxFileReferenceSection.js +++ b/test/addToPbxFileReferenceSection.js @@ -1,3 +1,20 @@ +/** + 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 jsonProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(jsonProject), pbx = require('../lib/pbxProject'), @@ -59,4 +76,4 @@ exports['addToPbxFileReferenceSection function'] = { test.equal(myProj.pbxFileReferenceSection()[appexFile.fileRef].path, '"WatchKit Extension.appex"'); test.done(); } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/addXCConfigurationList.js ---------------------------------------------------------------------- diff --git a/test/addXCConfigurationList.js b/test/addXCConfigurationList.js index 9ebe2a2..d7d8dca 100644 --- a/test/addXCConfigurationList.js +++ b/test/addXCConfigurationList.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/dataModelDocument.js ---------------------------------------------------------------------- diff --git a/test/dataModelDocument.js b/test/dataModelDocument.js index fa0b8a8..76477ed 100644 --- a/test/dataModelDocument.js +++ b/test/dataModelDocument.js @@ -1,3 +1,20 @@ +/** + 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 jsonProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(jsonProject), path = require('path'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/group.js ---------------------------------------------------------------------- diff --git a/test/group.js b/test/group.js index b23d18e..af2454e 100644 --- a/test/group.js +++ b/test/group.js @@ -1,3 +1,20 @@ +/** + 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 pbx = require('../lib/pbxProject'), pbxFile = require('../lib/pbxFile'), project, http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/knownRegions.js ---------------------------------------------------------------------- diff --git a/test/knownRegions.js b/test/knownRegions.js index 8418d58..6d3144c 100644 --- a/test/knownRegions.js +++ b/test/knownRegions.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/multipleTargets.js ---------------------------------------------------------------------- diff --git a/test/multipleTargets.js b/test/multipleTargets.js index 2ef3d4b..984ea90 100644 --- a/test/multipleTargets.js +++ b/test/multipleTargets.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/multiple-targets') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/parser/build-config.js ---------------------------------------------------------------------- diff --git a/test/parser/build-config.js b/test/parser/build-config.js index fa7e52c..465c352 100644 --- a/test/parser/build-config.js +++ b/test/parser/build-config.js @@ -1,3 +1,20 @@ +/** + 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 PEG = require('pegjs'), fs = require('fs'), pbx = fs.readFileSync('test/parser/projects/build-config.pbxproj', 'utf-8'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/parser/comments.js ---------------------------------------------------------------------- diff --git a/test/parser/comments.js b/test/parser/comments.js index a97c6c3..7be4c38 100644 --- a/test/parser/comments.js +++ b/test/parser/comments.js @@ -1,3 +1,20 @@ +/** + 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 PEG = require('pegjs'), fs = require('fs'), pbx = fs.readFileSync('test/parser/projects/comments.pbxproj', 'utf-8'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/parser/dotsInNames.js ---------------------------------------------------------------------- diff --git a/test/parser/dotsInNames.js b/test/parser/dotsInNames.js index f5c0070..4121bba 100644 --- a/test/parser/dotsInNames.js +++ b/test/parser/dotsInNames.js @@ -1,3 +1,20 @@ +/** + 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 PEG = require('pegjs'), fs = require('fs'), pbx = fs.readFileSync('test/parser/projects/dots-in-names.pbxproj', 'utf-8'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/parser/file-references.js ---------------------------------------------------------------------- diff --git a/test/parser/file-references.js b/test/parser/file-references.js index 53f1ce3..4275378 100644 --- a/test/parser/file-references.js +++ b/test/parser/file-references.js @@ -1,3 +1,20 @@ +/** + 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 PEG = require('pegjs'), fs = require('fs'), pbx = fs.readFileSync('test/parser/projects/file-references.pbxproj', 'utf-8'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/parser/hash.js ---------------------------------------------------------------------- diff --git a/test/parser/hash.js b/test/parser/hash.js index c64c829..6ec8106 100644 --- a/test/parser/hash.js +++ b/test/parser/hash.js @@ -1,3 +1,20 @@ +/** + 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 PEG = require('pegjs'), fs = require('fs'), pbx = fs.readFileSync('test/parser/projects/hash.pbxproj', 'utf-8'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/parser/header-search.js ---------------------------------------------------------------------- diff --git a/test/parser/header-search.js b/test/parser/header-search.js index 5bf27fa..226c301 100644 --- a/test/parser/header-search.js +++ b/test/parser/header-search.js @@ -1,3 +1,20 @@ +/** + 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 PEG = require('pegjs'), fs = require('fs'), pbx = fs.readFileSync('test/parser/projects/header-search.pbxproj', 'utf-8'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/parser/section-entries.js ---------------------------------------------------------------------- diff --git a/test/parser/section-entries.js b/test/parser/section-entries.js index 86fc506..56d578c 100644 --- a/test/parser/section-entries.js +++ b/test/parser/section-entries.js @@ -1,3 +1,20 @@ +/** + 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 PEG = require('pegjs'), fs = require('fs'), pbx = fs.readFileSync('test/parser/projects/section-entries.pbxproj', 'utf-8'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/parser/section-split.js ---------------------------------------------------------------------- diff --git a/test/parser/section-split.js b/test/parser/section-split.js index aa6ebdd..cd17247 100644 --- a/test/parser/section-split.js +++ b/test/parser/section-split.js @@ -1,3 +1,20 @@ +/** + 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 PEG = require('pegjs'), fs = require('fs'), pbx = fs.readFileSync('test/parser/projects/section-split.pbxproj', 'utf-8'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/parser/section.js ---------------------------------------------------------------------- diff --git a/test/parser/section.js b/test/parser/section.js index a49474d..65e65fa 100644 --- a/test/parser/section.js +++ b/test/parser/section.js @@ -1,3 +1,20 @@ +/** + 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 PEG = require('pegjs'), fs = require('fs'), pbx = fs.readFileSync('test/parser/projects/section.pbxproj', 'utf-8'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/parser/two-sections.js ---------------------------------------------------------------------- diff --git a/test/parser/two-sections.js b/test/parser/two-sections.js index bdc9484..3f8e1f4 100644 --- a/test/parser/two-sections.js +++ b/test/parser/two-sections.js @@ -1,3 +1,20 @@ +/** + 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 PEG = require('pegjs'), fs = require('fs'), pbx = fs.readFileSync('test/parser/projects/two-sections.pbxproj', 'utf-8'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/parser/with_array.js ---------------------------------------------------------------------- diff --git a/test/parser/with_array.js b/test/parser/with_array.js index c9c4f3d..b63ef50 100644 --- a/test/parser/with_array.js +++ b/test/parser/with_array.js @@ -1,3 +1,20 @@ +/** + 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 PEG = require('pegjs'), fs = require('fs'), pbx = fs.readFileSync('test/parser/projects/with_array.pbxproj', 'utf-8'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/pbxFile.js ---------------------------------------------------------------------- diff --git a/test/pbxFile.js b/test/pbxFile.js index a24f564..5a7b317 100644 --- a/test/pbxFile.js +++ b/test/pbxFile.js @@ -1,3 +1,20 @@ +/** + 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 pbxFile = require('../lib/pbxFile'); exports['lastKnownFileType'] = { http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/pbxItemByComment.js ---------------------------------------------------------------------- diff --git a/test/pbxItemByComment.js b/test/pbxItemByComment.js index d5d2146..6400404 100644 --- a/test/pbxItemByComment.js +++ b/test/pbxItemByComment.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/pbxProject.js ---------------------------------------------------------------------- diff --git a/test/pbxProject.js b/test/pbxProject.js index eacb61b..6b3a238 100644 --- a/test/pbxProject.js +++ b/test/pbxProject.js @@ -1,3 +1,20 @@ +/** + 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 pbx = require('../lib/pbxProject'), buildConfig = require('./fixtures/buildFiles'), jsonProject = require('./fixtures/full-project'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/pbxTargetByName.js ---------------------------------------------------------------------- diff --git a/test/pbxTargetByName.js b/test/pbxTargetByName.js index a51cb74..0949965 100644 --- a/test/pbxTargetByName.js +++ b/test/pbxTargetByName.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/pbxWriter.js ---------------------------------------------------------------------- diff --git a/test/pbxWriter.js b/test/pbxWriter.js index d3b49e8..743c8b9 100644 --- a/test/pbxWriter.js +++ b/test/pbxWriter.js @@ -1,3 +1,20 @@ +/** + 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 pbx = require('../lib/pbxProject'), fs = require('fs'), myProj; http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/removeFramework.js ---------------------------------------------------------------------- diff --git a/test/removeFramework.js b/test/removeFramework.js index ffca3b4..248a1e7 100644 --- a/test/removeFramework.js +++ b/test/removeFramework.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project'), fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/removeHeaderFile.js ---------------------------------------------------------------------- diff --git a/test/removeHeaderFile.js b/test/removeHeaderFile.js index e2d4491..9a18850 100644 --- a/test/removeHeaderFile.js +++ b/test/removeHeaderFile.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/removeResourceFile.js ---------------------------------------------------------------------- diff --git a/test/removeResourceFile.js b/test/removeResourceFile.js index 25b1347..e54cdb8 100644 --- a/test/removeResourceFile.js +++ b/test/removeResourceFile.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/removeSourceFile.js ---------------------------------------------------------------------- diff --git a/test/removeSourceFile.js b/test/removeSourceFile.js index e31e727..de7895e 100644 --- a/test/removeSourceFile.js +++ b/test/removeSourceFile.js @@ -1,3 +1,20 @@ +/** + 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 fullProject = require('./fixtures/full-project') fullProjectStr = JSON.stringify(fullProject), pbx = require('../lib/pbxProject'), http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/variantGroup.js ---------------------------------------------------------------------- diff --git a/test/variantGroup.js b/test/variantGroup.js index 4b3733e..356a232 100644 --- a/test/variantGroup.js +++ b/test/variantGroup.js @@ -1,3 +1,20 @@ +/** + 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 pbx = require('../lib/pbxProject'), project, projectHash; @@ -174,4 +191,4 @@ exports.removeResourceFileFromGroup = { test.done(); } -} \ No newline at end of file +} http://git-wip-us.apache.org/repos/asf/cordova-node-xcode/blob/9345e5ed/test/xcode5searchPaths.js ---------------------------------------------------------------------- diff --git a/test/xcode5searchPaths.js b/test/xcode5searchPaths.js index d76489a..7cdf46c 100644 --- a/test/xcode5searchPaths.js +++ b/test/xcode5searchPaths.js @@ -1,3 +1,20 @@ +/** + 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 xcode5proj = require('./fixtures/library-search-paths') xcode5projStr = JSON.stringify(xcode5proj), pbx = require('../lib/pbxProject'), --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
