├── .gitattributes ├── .gitignore ├── .gitmodules ├── .travis.yml ├── CMakeLists.txt ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── LICENSE ├── Libraries ├── CMakeLists.txt ├── acdriver │ ├── CMakeLists.txt │ ├── Headers │ │ └── acdriver │ │ │ ├── Compile │ │ │ ├── AppIconSet.h │ │ │ ├── Asset.h │ │ │ ├── BrandAssets.h │ │ │ ├── ComplicationSet.h │ │ │ ├── Convert.h │ │ │ ├── CubeTextureSet.h │ │ │ ├── DataSet.h │ │ │ ├── GCDashboardImage.h │ │ │ ├── GCLeaderboard.h │ │ │ ├── GCLeaderboardSet.h │ │ │ ├── IconSet.h │ │ │ ├── ImageSet.h │ │ │ ├── ImageStack.h │ │ │ ├── ImageStackLayer.h │ │ │ ├── LaunchImage.h │ │ │ ├── MipmapSet.h │ │ │ ├── Output.h │ │ │ ├── SpriteAtlas.h │ │ │ ├── Sticker.h │ │ │ ├── StickerPack.h │ │ │ ├── StickerSequence.h │ │ │ ├── StickersIconSet.h │ │ │ └── TextureSet.h │ │ │ ├── CompileAction.h │ │ │ ├── ContentsAction.h │ │ │ ├── Driver.h │ │ │ ├── NonStandard.h │ │ │ ├── Options.h │ │ │ ├── Output.h │ │ │ ├── Result.h │ │ │ ├── Version.h │ │ │ └── VersionAction.h │ ├── Sources │ │ ├── Compile │ │ │ ├── AppIconSet.cpp │ │ │ ├── Asset.cpp │ │ │ ├── BrandAssets.cpp │ │ │ ├── ComplicationSet.cpp │ │ │ ├── Convert.cpp │ │ │ ├── CubeTextureSet.cpp │ │ │ ├── DataSet.cpp │ │ │ ├── GCDashboardImage.cpp │ │ │ ├── GCLeaderboard.cpp │ │ │ ├── GCLeaderboardSet.cpp │ │ │ ├── IconSet.cpp │ │ │ ├── ImageSet.cpp │ │ │ ├── ImageStack.cpp │ │ │ ├── ImageStackLayer.cpp │ │ │ ├── LaunchImage.cpp │ │ │ ├── MipmapSet.cpp │ │ │ ├── Output.cpp │ │ │ ├── SpriteAtlas.cpp │ │ │ ├── Sticker.cpp │ │ │ ├── StickerPack.cpp │ │ │ ├── StickerSequence.cpp │ │ │ ├── StickersIconSet.cpp │ │ │ └── TextureSet.cpp │ │ ├── CompileAction.cpp │ │ ├── ContentsAction.cpp │ │ ├── Driver.cpp │ │ ├── NonStandard.cpp │ │ ├── Options.cpp │ │ ├── Output.cpp │ │ ├── Result.cpp │ │ ├── Version.cpp │ │ └── VersionAction.cpp │ ├── Tests │ │ ├── test_AppIconSet.cpp │ │ ├── test_LaunchImage.cpp │ │ ├── test_Options.cpp │ │ ├── test_Output.cpp │ │ └── test_Result.cpp │ └── Tools │ │ └── actool.cpp ├── builtin │ ├── CMakeLists.txt │ ├── Headers │ │ └── builtin │ │ │ ├── Driver.h │ │ │ ├── Registry.h │ │ │ ├── copy │ │ │ ├── Driver.h │ │ │ └── Options.h │ │ │ ├── copyPlist │ │ │ ├── Driver.h │ │ │ └── Options.h │ │ │ ├── copyStrings │ │ │ ├── Driver.h │ │ │ └── Options.h │ │ │ ├── copyTiff │ │ │ ├── Driver.h │ │ │ └── Options.h │ │ │ ├── embeddedBinaryValidationUtility │ │ │ ├── Driver.h │ │ │ └── Options.h │ │ │ ├── infoPlistUtility │ │ │ ├── Driver.h │ │ │ └── Options.h │ │ │ ├── lsRegisterURL │ │ │ ├── Driver.h │ │ │ └── Options.h │ │ │ ├── productPackagingUtility │ │ │ ├── Driver.h │ │ │ └── Options.h │ │ │ └── validationUtility │ │ │ ├── Driver.h │ │ │ └── Options.h │ ├── Sources │ │ ├── Driver.cpp │ │ ├── Registry.cpp │ │ ├── copy │ │ │ ├── Driver.cpp │ │ │ └── Options.cpp │ │ ├── copyPlist │ │ │ ├── Driver.cpp │ │ │ └── Options.cpp │ │ ├── copyStrings │ │ │ ├── Driver.cpp │ │ │ └── Options.cpp │ │ ├── copyTiff │ │ │ ├── Driver.cpp │ │ │ └── Options.cpp │ │ ├── embeddedBinaryValidationUtility │ │ │ ├── Driver.cpp │ │ │ └── Options.cpp │ │ ├── infoPlistUtility │ │ │ ├── Driver.cpp │ │ │ └── Options.cpp │ │ ├── lsRegisterURL │ │ │ ├── Driver.cpp │ │ │ └── Options.cpp │ │ ├── productPackagingUtility │ │ │ ├── Driver.cpp │ │ │ └── Options.cpp │ │ └── validationUtility │ │ │ ├── Driver.cpp │ │ │ └── Options.cpp │ ├── Tests │ │ ├── test_copy.cpp │ │ ├── test_copyPlist.cpp │ │ └── test_copyStrings.cpp │ └── Tools │ │ ├── CMakeLists.txt │ │ ├── copy.cpp │ │ ├── copyPlist.cpp │ │ ├── copyStrings.cpp │ │ ├── copyTiff.cpp │ │ ├── embeddedBinaryValidationUtility.cpp │ │ ├── infoPlistUtility.cpp │ │ ├── lsRegisterURL.cpp │ │ ├── productPackagingUtility.cpp │ │ └── validationUtility.cpp ├── dependency │ ├── CMakeLists.txt │ ├── Headers │ │ └── dependency │ │ │ ├── BinaryDependencyInfo.h │ │ │ ├── DependencyInfo.h │ │ │ ├── DependencyInfoFormat.h │ │ │ ├── DirectoryDependencyInfo.h │ │ │ └── MakefileDependencyInfo.h │ ├── Sources │ │ ├── BinaryDependencyInfo.cpp │ │ ├── DependencyInfo.cpp │ │ ├── DependencyInfoFormat.cpp │ │ ├── DirectoryDependencyInfo.cpp │ │ └── MakefileDependencyInfo.cpp │ ├── Tests │ │ ├── test_BinaryDependencyInfo.cpp │ │ ├── test_DirectoryDependencyInfo.cpp │ │ └── test_MakefileDependencyInfo.cpp │ └── Tools │ │ ├── dependency-info-tool.cpp │ │ └── dump_dependency.cpp ├── ext │ ├── CMakeLists.txt │ ├── Headers │ │ └── ext │ │ │ └── optional │ └── Sources │ │ └── optional.cpp ├── graphics │ ├── CMakeLists.txt │ ├── Headers │ │ └── graphics │ │ │ ├── Format │ │ │ └── PNG.h │ │ │ ├── Image.h │ │ │ └── PixelFormat.h │ ├── Sources │ │ ├── Format │ │ │ └── PNG.cpp │ │ ├── Image.cpp │ │ └── PixelFormat.cpp │ └── Tests │ │ ├── test_PNG.cpp │ │ └── test_PixelFormat.cpp ├── libbom │ ├── CMakeLists.txt │ ├── Headers │ │ └── bom │ │ │ ├── bom.h │ │ │ └── bom_format.h │ ├── Sources │ │ ├── bom.c │ │ ├── bom_memory.c │ │ └── bom_tree.c │ └── Tools │ │ ├── dump_bom.c │ │ └── lsbom.cpp ├── libcar │ ├── CMakeLists.txt │ ├── Headers │ │ └── car │ │ │ ├── AttributeList.h │ │ │ ├── Facet.h │ │ │ ├── Reader.h │ │ │ ├── Rendition.h │ │ │ ├── Writer.h │ │ │ └── car_format.h │ ├── Sources │ │ ├── AttributeList.cpp │ │ ├── Facet.cpp │ │ ├── Reader.cpp │ │ ├── Rendition.cpp │ │ ├── Writer.cpp │ │ └── car_format.c │ ├── Tests │ │ ├── test_AttributeList.cpp │ │ ├── test_Facet.cpp │ │ ├── test_Rendition.cpp │ │ └── test_Writer.cpp │ └── Tools │ │ └── dump_car.cpp ├── libutil │ ├── CMakeLists.txt │ ├── Headers │ │ └── libutil │ │ │ ├── Absolute.h │ │ │ ├── Base.h │ │ │ ├── CompilerSupport.h │ │ │ ├── DefaultFilesystem.h │ │ │ ├── Escape.h │ │ │ ├── FSUtil.h │ │ │ ├── Filesystem.h │ │ │ ├── MemoryFilesystem.h │ │ │ ├── Options.h │ │ │ ├── Permissions.h │ │ │ ├── Relative.h │ │ │ ├── Strings.h │ │ │ ├── Unix.h │ │ │ ├── Wildcard.h │ │ │ ├── Windows.h │ │ │ └── md5.h │ ├── Sources │ │ ├── Absolute.cpp │ │ ├── DefaultFilesystem.cpp │ │ ├── Escape.cpp │ │ ├── FSUtil.cpp │ │ ├── Filesystem.cpp │ │ ├── MemoryFilesystem.cpp │ │ ├── Options.cpp │ │ ├── Permissions.cpp │ │ ├── Relative.cpp │ │ ├── Unix.cpp │ │ ├── Wildcard.cpp │ │ ├── Windows.cpp │ │ └── md5.c │ └── Tests │ │ ├── test_Escape.cpp │ │ ├── test_FSUtil.cpp │ │ ├── test_MemoryFilesystem.cpp │ │ ├── test_Unix.cpp │ │ ├── test_Wildcard.cpp │ │ └── test_Windows.cpp ├── ninja │ ├── CMakeLists.txt │ ├── Headers │ │ └── ninja │ │ │ ├── Value.h │ │ │ └── Writer.h │ ├── Sources │ │ ├── Value.cpp │ │ └── Writer.cpp │ └── Tests │ │ ├── test_Value.cpp │ │ └── test_Writer.cpp ├── pbxbuild │ ├── CMakeLists.txt │ ├── Headers │ │ └── pbxbuild │ │ │ ├── Base.h │ │ │ ├── Build │ │ │ ├── Context.h │ │ │ ├── DependencyResolver.h │ │ │ └── Environment.h │ │ │ ├── DerivedDataHash.h │ │ │ ├── DirectedGraph.h │ │ │ ├── FileTypeResolver.h │ │ │ ├── HMapFile.h │ │ │ ├── HeaderMap.h │ │ │ ├── Phase │ │ │ ├── Context.h │ │ │ ├── CopyFilesResolver.h │ │ │ ├── Environment.h │ │ │ ├── File.h │ │ │ ├── FrameworksResolver.h │ │ │ ├── HeadersResolver.h │ │ │ ├── LegacyTargetResolver.h │ │ │ ├── ModuleMapResolver.h │ │ │ ├── PhaseInvocations.h │ │ │ ├── ProductTypeResolver.h │ │ │ ├── ResourcesResolver.h │ │ │ ├── ShellScriptResolver.h │ │ │ ├── SourcesResolver.h │ │ │ └── SwiftResolver.h │ │ │ ├── Target │ │ │ ├── BuildRules.h │ │ │ └── Environment.h │ │ │ ├── Tool │ │ │ ├── AssetCatalogResolver.h │ │ │ ├── AuxiliaryFile.h │ │ │ ├── ClangResolver.h │ │ │ ├── CompilationInfo.h │ │ │ ├── CompilerCommon.h │ │ │ ├── Context.h │ │ │ ├── CopyResolver.h │ │ │ ├── DittoResolver.h │ │ │ ├── Environment.h │ │ │ ├── HeadermapInfo.h │ │ │ ├── HeadermapResolver.h │ │ │ ├── InfoPlistResolver.h │ │ │ ├── Input.h │ │ │ ├── InterfaceBuilderCommon.h │ │ │ ├── InterfaceBuilderResolver.h │ │ │ ├── InterfaceBuilderStoryboardLinkerResolver.h │ │ │ ├── Invocation.h │ │ │ ├── LinkerResolver.h │ │ │ ├── MakeDirectoryResolver.h │ │ │ ├── ModuleMapInfo.h │ │ │ ├── ModuleMapResolver.h │ │ │ ├── OptionsResult.h │ │ │ ├── PrecompiledHeaderInfo.h │ │ │ ├── ScriptResolver.h │ │ │ ├── SearchPaths.h │ │ │ ├── SwiftModuleInfo.h │ │ │ ├── SwiftResolver.h │ │ │ ├── SwiftStandardLibraryResolver.h │ │ │ ├── SymlinkResolver.h │ │ │ ├── Tokens.h │ │ │ ├── ToolResolver.h │ │ │ └── TouchResolver.h │ │ │ └── WorkspaceContext.h │ ├── Sources │ │ ├── Build │ │ │ ├── Context.cpp │ │ │ ├── DependencyResolver.cpp │ │ │ └── Environment.cpp │ │ ├── DerivedDataHash.cpp │ │ ├── DirectedGraph.cpp │ │ ├── FileTypeResolver.cpp │ │ ├── HeaderMap.cpp │ │ ├── Phase │ │ │ ├── Context.cpp │ │ │ ├── CopyFilesResolver.cpp │ │ │ ├── Environment.cpp │ │ │ ├── File.cpp │ │ │ ├── FrameworksResolver.cpp │ │ │ ├── HeadersResolver.cpp │ │ │ ├── LegacyTargetResolver.cpp │ │ │ ├── ModuleMapResolver.cpp │ │ │ ├── PhaseInvocations.cpp │ │ │ ├── ProductTypeResolver.cpp │ │ │ ├── ResourcesResolver.cpp │ │ │ ├── ShellScriptResolver.cpp │ │ │ ├── SourcesResolver.cpp │ │ │ └── SwiftResolver.cpp │ │ ├── Target │ │ │ ├── BuildRules.cpp │ │ │ └── Environment.cpp │ │ ├── Tool │ │ │ ├── AssetCatalogResolver.cpp │ │ │ ├── AuxiliaryFile.cpp │ │ │ ├── ClangResolver.cpp │ │ │ ├── CompilationInfo.cpp │ │ │ ├── CompilerCommon.cpp │ │ │ ├── Context.cpp │ │ │ ├── CopyResolver.cpp │ │ │ ├── DittoResolver.cpp │ │ │ ├── Environment.cpp │ │ │ ├── HeadermapInfo.cpp │ │ │ ├── HeadermapResolver.cpp │ │ │ ├── InfoPlistResolver.cpp │ │ │ ├── Input.cpp │ │ │ ├── InterfaceBuilderCommon.cpp │ │ │ ├── InterfaceBuilderResolver.cpp │ │ │ ├── InterfaceBuilderStoryboardLinkerResolver.cpp │ │ │ ├── Invocation.cpp │ │ │ ├── LinkerResolver.cpp │ │ │ ├── MakeDirectoryResolver.cpp │ │ │ ├── ModuleMapInfo.cpp │ │ │ ├── ModuleMapResolver.cpp │ │ │ ├── OptionsResult.cpp │ │ │ ├── PrecompiledHeaderInfo.cpp │ │ │ ├── ScriptResolver.cpp │ │ │ ├── SearchPaths.cpp │ │ │ ├── SwiftModuleInfo.cpp │ │ │ ├── SwiftResolver.cpp │ │ │ ├── SwiftStandardLibraryResolver.cpp │ │ │ ├── SymlinkResolver.cpp │ │ │ ├── Tokens.cpp │ │ │ ├── ToolResolver.cpp │ │ │ └── TouchResolver.cpp │ │ └── WorkspaceContext.cpp │ ├── Tests │ │ ├── test_DerivedDataHash.cpp │ │ ├── test_DirectedGraph.cpp │ │ └── test_OptionsResult.cpp │ └── Tools │ │ └── dump_hmap.cpp ├── pbxproj │ ├── CMakeLists.txt │ ├── Headers │ │ └── pbxproj │ │ │ ├── ISA.h │ │ │ ├── PBX │ │ │ ├── AggregateTarget.h │ │ │ ├── AppleScriptBuildPhase.h │ │ │ ├── BaseGroup.h │ │ │ ├── BuildFile.h │ │ │ ├── BuildPhase.h │ │ │ ├── BuildPhases.h │ │ │ ├── BuildRule.h │ │ │ ├── ContainerItemProxy.h │ │ │ ├── CopyFilesBuildPhase.h │ │ │ ├── FileReference.h │ │ │ ├── FrameworksBuildPhase.h │ │ │ ├── Group.h │ │ │ ├── GroupItem.h │ │ │ ├── HeadersBuildPhase.h │ │ │ ├── LegacyTarget.h │ │ │ ├── NativeTarget.h │ │ │ ├── Object.h │ │ │ ├── Project.h │ │ │ ├── ReferenceProxy.h │ │ │ ├── ResourcesBuildPhase.h │ │ │ ├── RezBuildPhase.h │ │ │ ├── ShellScriptBuildPhase.h │ │ │ ├── SourcesBuildPhase.h │ │ │ ├── Target.h │ │ │ ├── TargetDependency.h │ │ │ └── VariantGroup.h │ │ │ ├── XC │ │ │ ├── BuildConfiguration.h │ │ │ ├── ConfigurationList.h │ │ │ └── VersionGroup.h │ │ │ └── pbxproj.h │ ├── PrivateHeaders │ │ └── pbxproj │ │ │ ├── Context.h │ │ │ └── PlistHelpers.h │ ├── Sources │ │ ├── Context.cpp │ │ ├── ISA.cpp │ │ ├── PBX │ │ │ ├── AggregateTarget.cpp │ │ │ ├── AppleScriptBuildPhase.cpp │ │ │ ├── BaseGroup.cpp │ │ │ ├── BuildFile.cpp │ │ │ ├── BuildPhase.cpp │ │ │ ├── BuildRule.cpp │ │ │ ├── ContainerItemProxy.cpp │ │ │ ├── CopyFilesBuildPhase.cpp │ │ │ ├── FileReference.cpp │ │ │ ├── FrameworksBuildPhase.cpp │ │ │ ├── Group.cpp │ │ │ ├── GroupItem.cpp │ │ │ ├── HeadersBuildPhase.cpp │ │ │ ├── LegacyTarget.cpp │ │ │ ├── NativeTarget.cpp │ │ │ ├── Object.cpp │ │ │ ├── Project.cpp │ │ │ ├── ReferenceProxy.cpp │ │ │ ├── ResourcesBuildPhase.cpp │ │ │ ├── RezBuildPhase.cpp │ │ │ ├── ShellScriptBuildPhase.cpp │ │ │ ├── SourcesBuildPhase.cpp │ │ │ ├── Target.cpp │ │ │ ├── TargetDependency.cpp │ │ │ └── VariantGroup.cpp │ │ ├── PlistHelpers.cpp │ │ └── XC │ │ │ ├── BuildConfiguration.cpp │ │ │ ├── ConfigurationList.cpp │ │ │ └── VersionGroup.cpp │ └── Tools │ │ └── dump_xcodeproj.cpp ├── pbxsetting │ ├── CMakeLists.txt │ ├── Headers │ │ └── pbxsetting │ │ │ ├── Condition.h │ │ │ ├── DefaultSettings.h │ │ │ ├── Environment.h │ │ │ ├── Level.h │ │ │ ├── Setting.h │ │ │ ├── Type.h │ │ │ ├── Value.h │ │ │ └── XC │ │ │ └── Config.h │ ├── Sources │ │ ├── Condition.cpp │ │ ├── DefaultSettings.cpp │ │ ├── Environment.cpp │ │ ├── Level.cpp │ │ ├── Setting.cpp │ │ ├── Type.cpp │ │ ├── Value.cpp │ │ └── XC │ │ │ └── Config.cpp │ ├── Tests │ │ ├── test_Condition.cpp │ │ ├── test_Config.cpp │ │ ├── test_Environment.cpp │ │ ├── test_Setting.cpp │ │ ├── test_Type.cpp │ │ └── test_Value.cpp │ └── Tools │ │ └── dump_xcconfig.cpp ├── pbxspec │ ├── CMakeLists.txt │ ├── Headers │ │ └── pbxspec │ │ │ ├── Manager.h │ │ │ ├── PBX │ │ │ ├── Architecture.h │ │ │ ├── BuildPhase.h │ │ │ ├── BuildPhaseInjection.h │ │ │ ├── BuildRule.h │ │ │ ├── BuildSettings.h │ │ │ ├── BuildStep.h │ │ │ ├── BuildSystem.h │ │ │ ├── Compiler.h │ │ │ ├── FileType.h │ │ │ ├── Linker.h │ │ │ ├── PackageType.h │ │ │ ├── ProductType.h │ │ │ ├── PropertyOption.h │ │ │ ├── Specification.h │ │ │ └── Tool.h │ │ │ ├── SpecificationType.h │ │ │ └── pbxspec.h │ ├── PrivateHeaders │ │ └── pbxspec │ │ │ ├── Context.h │ │ │ └── Inherit.h │ ├── Sources │ │ ├── Manager.cpp │ │ ├── PBX │ │ │ ├── Architecture.cpp │ │ │ ├── BuildPhase.cpp │ │ │ ├── BuildPhaseInjection.cpp │ │ │ ├── BuildRule.cpp │ │ │ ├── BuildSettings.cpp │ │ │ ├── BuildStep.cpp │ │ │ ├── BuildSystem.cpp │ │ │ ├── Compiler.cpp │ │ │ ├── FileType.cpp │ │ │ ├── Linker.cpp │ │ │ ├── PackageType.cpp │ │ │ ├── ProductType.cpp │ │ │ ├── PropertyOption.cpp │ │ │ ├── Specification.cpp │ │ │ └── Tool.cpp │ │ └── SpecificationType.cpp │ └── Tools │ │ └── dump_xcspec.cpp ├── plist │ ├── CMakeLists.txt │ ├── Headers │ │ └── plist │ │ │ ├── Array.h │ │ │ ├── Base.h │ │ │ ├── Boolean.h │ │ │ ├── Data.h │ │ │ ├── Date.h │ │ │ ├── Dictionary.h │ │ │ ├── Format │ │ │ ├── ASCII.h │ │ │ ├── Any.h │ │ │ ├── Binary.h │ │ │ ├── Encoding.h │ │ │ ├── Format.h │ │ │ ├── JSON.h │ │ │ ├── SimpleXML.h │ │ │ ├── Type.h │ │ │ └── XML.h │ │ │ ├── Integer.h │ │ │ ├── Keys │ │ │ └── Unpack.h │ │ │ ├── Null.h │ │ │ ├── Object.h │ │ │ ├── ObjectType.h │ │ │ ├── Objects.h │ │ │ ├── Real.h │ │ │ ├── String.h │ │ │ └── UID.h │ ├── PrivateHeaders │ │ └── plist │ │ │ ├── Base64.h │ │ │ ├── Format │ │ │ ├── ABPContext.h │ │ │ ├── ABPReader.h │ │ │ ├── ABPRecordType.h │ │ │ ├── ABPWriter.h │ │ │ ├── ASCIIPListLexer.h │ │ │ ├── ASCIIParser.h │ │ │ ├── ASCIIWriter.h │ │ │ ├── BaseXMLParser.h │ │ │ ├── JSONParser.h │ │ │ ├── JSONWriter.h │ │ │ ├── SimpleXMLParser.h │ │ │ ├── XMLParser.h │ │ │ ├── XMLWriter.h │ │ │ ├── abplist-format.h │ │ │ └── unicode.h │ │ │ ├── ISODate.h │ │ │ └── UnixTime.h │ ├── Sources │ │ ├── Array.cpp │ │ ├── Base64.cpp │ │ ├── Boolean.cpp │ │ ├── Data.cpp │ │ ├── Date.cpp │ │ ├── Dictionary.cpp │ │ ├── Format │ │ │ ├── ABPContext.cpp │ │ │ ├── ABPReader.cpp │ │ │ ├── ABPWriter.cpp │ │ │ ├── ASCII.cpp │ │ │ ├── ASCIIPListLexer.cpp │ │ │ ├── ASCIIParser.cpp │ │ │ ├── ASCIIWriter.cpp │ │ │ ├── Any.cpp │ │ │ ├── BaseXMLParser.cpp │ │ │ ├── Binary.cpp │ │ │ ├── Encoding.cpp │ │ │ ├── JSON.cpp │ │ │ ├── JSONParser.cpp │ │ │ ├── JSONWriter.cpp │ │ │ ├── SimpleXML.cpp │ │ │ ├── SimpleXMLParser.cpp │ │ │ ├── XML.cpp │ │ │ ├── XMLParser.cpp │ │ │ ├── XMLWriter.cpp │ │ │ └── unicode.c │ │ ├── ISODate.cpp │ │ ├── Integer.cpp │ │ ├── Keys │ │ │ └── Unpack.cpp │ │ ├── Null.cpp │ │ ├── Object.cpp │ │ ├── ObjectType.cpp │ │ ├── Real.cpp │ │ ├── String.cpp │ │ ├── UID.cpp │ │ ├── UnixTime.cpp │ │ ├── rfc4648.c │ │ └── rfc4648.h │ ├── Tests │ │ ├── Format │ │ │ ├── test_ASCII.cpp │ │ │ ├── test_Binary.cpp │ │ │ ├── test_Encoding.cpp │ │ │ ├── test_JSON.cpp │ │ │ └── test_XML.cpp │ │ ├── test_Boolean.cpp │ │ ├── test_Real.cpp │ │ └── test_String.cpp │ └── Tools │ │ ├── PlistBuddy.cpp │ │ └── plutil.cpp ├── process │ ├── CMakeLists.txt │ ├── Headers │ │ └── process │ │ │ ├── Context.h │ │ │ ├── DefaultContext.h │ │ │ ├── DefaultLauncher.h │ │ │ ├── DefaultUser.h │ │ │ ├── Launcher.h │ │ │ ├── MemoryContext.h │ │ │ ├── MemoryLauncher.h │ │ │ ├── MemoryUser.h │ │ │ └── User.h │ └── Sources │ │ ├── Context.cpp │ │ ├── DefaultContext.cpp │ │ ├── DefaultLauncher.cpp │ │ ├── DefaultUser.cpp │ │ ├── Launcher.cpp │ │ ├── MemoryContext.cpp │ │ ├── MemoryLauncher.cpp │ │ ├── MemoryUser.cpp │ │ └── User.cpp ├── xcassets │ ├── CMakeLists.txt │ ├── Headers │ │ └── xcassets │ │ │ ├── Asset │ │ │ ├── AppIconSet.h │ │ │ ├── Asset.h │ │ │ ├── AssetType.h │ │ │ ├── BrandAssets.h │ │ │ ├── Catalog.h │ │ │ ├── ComplicationSet.h │ │ │ ├── CubeTextureSet.h │ │ │ ├── DataSet.h │ │ │ ├── GCDashboardImage.h │ │ │ ├── GCLeaderboard.h │ │ │ ├── GCLeaderboardSet.h │ │ │ ├── Group.h │ │ │ ├── IconSet.h │ │ │ ├── ImageSet.h │ │ │ ├── ImageStack.h │ │ │ ├── ImageStackLayer.h │ │ │ ├── LaunchImage.h │ │ │ ├── MipmapSet.h │ │ │ ├── SpriteAtlas.h │ │ │ ├── Sticker.h │ │ │ ├── StickerPack.h │ │ │ ├── StickerSequence.h │ │ │ ├── Stickers.h │ │ │ ├── StickersIconSet.h │ │ │ └── TextureSet.h │ │ │ ├── BrandAssetRole.h │ │ │ ├── Compression.h │ │ │ ├── ContentReference.h │ │ │ ├── CubeFace.h │ │ │ ├── FullyQualifiedName.h │ │ │ ├── Insets.h │ │ │ ├── MatchingStyle.h │ │ │ ├── MipmapLevel.h │ │ │ ├── MipmapLevelMode.h │ │ │ ├── Resizing.h │ │ │ ├── Slot │ │ │ ├── ColorSpace.h │ │ │ ├── DeviceSubtype.h │ │ │ ├── GraphicsFeatureSet.h │ │ │ ├── Idiom.h │ │ │ ├── ImageSize.h │ │ │ ├── LaunchImageExtent.h │ │ │ ├── MemoryRequirement.h │ │ │ ├── Orientation.h │ │ │ ├── Scale.h │ │ │ ├── SizeClass.h │ │ │ ├── SystemVersion.h │ │ │ ├── WatchIconRole.h │ │ │ └── WatchSubtype.h │ │ │ ├── StickerDurationType.h │ │ │ ├── StickerGridSize.h │ │ │ ├── TemplateRenderingIntent.h │ │ │ ├── TextureInterpretation.h │ │ │ ├── TextureOrigin.h │ │ │ ├── TexturePixelFormat.h │ │ │ └── WatchComplicationRole.h │ ├── Sources │ │ ├── Asset │ │ │ ├── AppIconSet.cpp │ │ │ ├── Asset.cpp │ │ │ ├── BrandAssets.cpp │ │ │ ├── Catalog.cpp │ │ │ ├── ComplicationSet.cpp │ │ │ ├── CubeTextureSet.cpp │ │ │ ├── DataSet.cpp │ │ │ ├── GCDashboardImage.cpp │ │ │ ├── GCLeaderboard.cpp │ │ │ ├── GCLeaderboardSet.cpp │ │ │ ├── Group.cpp │ │ │ ├── IconSet.cpp │ │ │ ├── ImageSet.cpp │ │ │ ├── ImageStack.cpp │ │ │ ├── ImageStackLayer.cpp │ │ │ ├── LaunchImage.cpp │ │ │ ├── MipmapSet.cpp │ │ │ ├── SpriteAtlas.cpp │ │ │ ├── Sticker.cpp │ │ │ ├── StickerPack.cpp │ │ │ ├── StickerSequence.cpp │ │ │ ├── Stickers.cpp │ │ │ ├── StickersIconSet.cpp │ │ │ └── TextureSet.cpp │ │ ├── BrandAssetRole.cpp │ │ ├── Compression.cpp │ │ ├── ContentReference.cpp │ │ ├── CubeFace.cpp │ │ ├── FullyQualifiedName.cpp │ │ ├── Insets.cpp │ │ ├── MatchingStyle.cpp │ │ ├── MipmapLevel.cpp │ │ ├── MipmapLevelMode.cpp │ │ ├── Resizing.cpp │ │ ├── Slot │ │ │ ├── ColorSpace.cpp │ │ │ ├── DeviceSubtype.cpp │ │ │ ├── GraphicsFeatureSet.cpp │ │ │ ├── Idiom.cpp │ │ │ ├── ImageSize.cpp │ │ │ ├── LaunchImageExtent.cpp │ │ │ ├── MemoryRequirement.cpp │ │ │ ├── Orientation.cpp │ │ │ ├── Scale.cpp │ │ │ ├── SizeClass.cpp │ │ │ ├── SystemVersion.cpp │ │ │ ├── WatchIconRole.cpp │ │ │ └── WatchSubtype.cpp │ │ ├── StickerDurationType.cpp │ │ ├── StickerGridSize.cpp │ │ ├── TemplateRenderingIntent.cpp │ │ ├── TextureInterpretation.cpp │ │ ├── TextureOrigin.cpp │ │ ├── TexturePixelFormat.cpp │ │ └── WatchComplicationRole.cpp │ ├── Tests │ │ ├── test_FullyQualifiedName.cpp │ │ ├── test_Group.cpp │ │ ├── test_IconSet.cpp │ │ ├── test_ImageSize.cpp │ │ ├── test_Scale.cpp │ │ └── test_SystemVersion.cpp │ └── Tools │ │ └── dump_xcassets.cpp ├── xcdriver │ ├── CMakeLists.txt │ ├── Headers │ │ └── xcdriver │ │ │ ├── Action.h │ │ │ ├── BuildAction.h │ │ │ ├── Driver.h │ │ │ ├── FindAction.h │ │ │ ├── HelpAction.h │ │ │ ├── LicenseAction.h │ │ │ ├── ListAction.h │ │ │ ├── Options.h │ │ │ ├── ShowBuildSettingsAction.h │ │ │ ├── ShowSDKsAction.h │ │ │ ├── Usage.h │ │ │ ├── UsageAction.h │ │ │ └── VersionAction.h │ ├── Sources │ │ ├── Action.cpp │ │ ├── BuildAction.cpp │ │ ├── Driver.cpp │ │ ├── FindAction.cpp │ │ ├── HelpAction.cpp │ │ ├── LicenseAction.cpp │ │ ├── ListAction.cpp │ │ ├── Options.cpp │ │ ├── ShowBuildSettingsAction.cpp │ │ ├── ShowSDKsAction.cpp │ │ ├── Usage.cpp │ │ ├── UsageAction.cpp │ │ └── VersionAction.cpp │ ├── Tests │ │ ├── test_Action.cpp │ │ └── test_Options.cpp │ └── Tools │ │ └── xcbuild.cpp ├── xcexecution │ ├── CMakeLists.txt │ ├── Headers │ │ └── xcexecution │ │ │ ├── Executor.h │ │ │ ├── NinjaExecutor.h │ │ │ ├── Parameters.h │ │ │ └── SimpleExecutor.h │ ├── Sources │ │ ├── Executor.cpp │ │ ├── NinjaExecutor.cpp │ │ ├── Parameters.cpp │ │ └── SimpleExecutor.cpp │ └── Tests │ │ └── test_SimpleExecutor.cpp ├── xcformatter │ ├── CMakeLists.txt │ ├── Headers │ │ └── xcformatter │ │ │ ├── DefaultFormatter.h │ │ │ ├── Formatter.h │ │ │ └── NullFormatter.h │ └── Sources │ │ ├── DefaultFormatter.cpp │ │ ├── Formatter.cpp │ │ └── NullFormatter.cpp ├── xcscheme │ ├── CMakeLists.txt │ ├── Headers │ │ └── xcscheme │ │ │ ├── SchemeGroup.h │ │ │ ├── XC │ │ │ ├── Action.h │ │ │ ├── ActionContent.h │ │ │ ├── Actions.h │ │ │ ├── AdditionalOption.h │ │ │ ├── AnalyzeAction.h │ │ │ ├── ArchiveAction.h │ │ │ ├── BuildAction.h │ │ │ ├── BuildActionEntry.h │ │ │ ├── BuildableReference.h │ │ │ ├── CommandLineArgument.h │ │ │ ├── ExecuteAction.h │ │ │ ├── LaunchAction.h │ │ │ ├── LocationScenarioReference.h │ │ │ ├── ProfileAction.h │ │ │ ├── Scheme.h │ │ │ ├── Test.h │ │ │ ├── TestAction.h │ │ │ └── TestableReference.h │ │ │ └── xcscheme.h │ └── Sources │ │ ├── SchemeGroup.cpp │ │ └── XC │ │ ├── Action.cpp │ │ ├── ActionContent.cpp │ │ ├── AdditionalOption.cpp │ │ ├── AnalyzeAction.cpp │ │ ├── ArchiveAction.cpp │ │ ├── BuildAction.cpp │ │ ├── BuildActionEntry.cpp │ │ ├── BuildableReference.cpp │ │ ├── CommandLineArgument.cpp │ │ ├── ExecuteAction.cpp │ │ ├── LaunchAction.cpp │ │ ├── LocationScenarioReference.cpp │ │ ├── ProfileAction.cpp │ │ ├── Scheme.cpp │ │ ├── Test.cpp │ │ ├── TestAction.cpp │ │ └── TestableReference.cpp ├── xcsdk │ ├── CMakeLists.txt │ ├── Headers │ │ └── xcsdk │ │ │ ├── Configuration.h │ │ │ ├── Environment.h │ │ │ └── SDK │ │ │ ├── Manager.h │ │ │ ├── Platform.h │ │ │ ├── PlatformVersion.h │ │ │ ├── Product.h │ │ │ ├── Target.h │ │ │ └── Toolchain.h │ ├── Sources │ │ ├── Configuration.cpp │ │ ├── Environment.cpp │ │ └── SDK │ │ │ ├── Manager.cpp │ │ │ ├── Platform.cpp │ │ │ ├── PlatformVersion.cpp │ │ │ ├── Product.cpp │ │ │ ├── Target.cpp │ │ │ └── Toolchain.cpp │ ├── Tests │ │ ├── test_Configuration.cpp │ │ ├── test_Manager.cpp │ │ ├── test_PlatformVersion.cpp │ │ └── test_Toolchain.cpp │ └── Tools │ │ ├── xcode-select.cpp │ │ └── xcrun.cpp └── xcworkspace │ ├── CMakeLists.txt │ ├── Headers │ └── xcworkspace │ │ ├── XC │ │ ├── FileRef.h │ │ ├── Group.h │ │ ├── GroupItem.h │ │ └── Workspace.h │ │ └── xcworkspace.h │ ├── Sources │ └── XC │ │ ├── FileRef.cpp │ │ ├── Group.cpp │ │ ├── GroupItem.cpp │ │ └── Workspace.cpp │ └── Tools │ └── dump_xcworkspace.cpp ├── Makefile ├── README.md ├── Specifications ├── BuildPhase │ ├── CMakeLists.txt │ ├── com.apple.buildphase.applescript.xcspec │ ├── com.apple.buildphase.copy-files.xcspec │ ├── com.apple.buildphase.frameworks.xcspec │ ├── com.apple.buildphase.headers.xcspec │ ├── com.apple.buildphase.java-archive.xcspec │ ├── com.apple.buildphase.resources.xcspec │ ├── com.apple.buildphase.rez.xcspec │ ├── com.apple.buildphase.shell-script.xcspec │ └── com.apple.buildphase.sources.xcspec ├── BuildRules │ ├── BuiltInBuildRules.plist │ └── CMakeLists.txt ├── BuildSystem │ ├── CMakeLists.txt │ ├── com.apple.build-system.core.xcspec │ ├── com.apple.build-system.external.xcspec │ ├── com.apple.build-system.jam.xcspec │ ├── com.apple.build-system.native.xcspec │ └── com.apple.buildsettings.standard.xcspec ├── CMakeLists.txt ├── Compiler │ ├── CMakeLists.txt │ ├── com.apple.build-tasks.copy-plist-file.xcspec │ ├── com.apple.build-tasks.copy-png-file.xcspec │ ├── com.apple.build-tasks.copy-strings-file.xcspec │ ├── com.apple.build-tasks.copy-tiff-file.xcspec │ ├── com.apple.build-tasks.ls-register-url.xcspec │ ├── com.apple.compilers.assetcatalog.xcspec │ ├── com.apple.compilers.gcc.xcspec │ ├── com.apple.compilers.llvm.clang.1_0.analyzer.xcspec │ ├── com.apple.compilers.llvm.clang.1_0.astbuilder.xcspec │ ├── com.apple.compilers.llvm.clang.1_0.compiler.xcspec │ ├── com.apple.compilers.llvm.clang.1_0.migrator.xcspec │ ├── com.apple.compilers.llvm.clang.1_0.migrator.xctest.xcspec │ ├── com.apple.compilers.llvm.clang.1_0.xcspec │ ├── com.apple.compilers.model.coredata.xcspec │ ├── com.apple.compilers.model.coredatamapping.xcspec │ ├── com.apple.xcode.tools.ibtool.compiler.xcspec │ ├── com.apple.xcode.tools.ibtool.storyboard.compiler.xcspec │ ├── com.apple.xcode.tools.ibtool.storyboard.linker.xcspec │ └── com.apple.xcode.tools.swift.compiler.xcspec ├── FileType │ ├── CMakeLists.txt │ ├── archive.ar.xcspec │ ├── archive.asdictionary.xcspec │ ├── archive.binhex.xcspec │ ├── archive.ear.xcspec │ ├── archive.gzip.xcspec │ ├── archive.jar.xcspec │ ├── archive.macbinary.xcspec │ ├── archive.metal-library.xcspec │ ├── archive.ppob.xcspec │ ├── archive.rsrc.xcspec │ ├── archive.stuffit.xcspec │ ├── archive.tar.xcspec │ ├── archive.war.xcspec │ ├── archive.xcspec │ ├── archive.zip.xcspec │ ├── audio.aiff.xcspec │ ├── audio.au.xcspec │ ├── audio.midi.xcspec │ ├── audio.mp3.xcspec │ ├── audio.wav.xcspec │ ├── audio.xcspec │ ├── compiled.air.xcspec │ ├── compiled.cfm.xcspec │ ├── compiled.javaclass.xcspec │ ├── compiled.mach-o.bundle.xcspec │ ├── compiled.mach-o.corefile.xcspec │ ├── compiled.mach-o.dylib.xcspec │ ├── compiled.mach-o.dylinker.xcspec │ ├── compiled.mach-o.executable.xcspec │ ├── compiled.mach-o.fvmlib.xcspec │ ├── compiled.mach-o.objfile.xcspec │ ├── compiled.mach-o.preload.xcspec │ ├── compiled.mach-o.xcspec │ ├── compiled.rcx.xcspec │ ├── compiled.xcspec │ ├── file.bplist.xcspec │ ├── file.playground.xcspec │ ├── file.scp.xcspec │ ├── file.sks.xcspec │ ├── file.storyboard.xcspec │ ├── file.swiftpm-manifest.xcspec │ ├── file.uicatalog.xcspec │ ├── file.xcplaygroundpage.xcspec │ ├── file.xcspec │ ├── file.xib.xcspec │ ├── folder.abstractassetcatalog.xcspec │ ├── folder.assetcatalog.xcspec │ ├── folder.iconset.xcspec │ ├── folder.imagecatalog.xcspec │ ├── folder.skatlas.xcspec │ ├── folder.stickers.xcspec │ ├── folder.xcspec │ ├── image.bmp.xcspec │ ├── image.gif.xcspec │ ├── image.icns.xcspec │ ├── image.ico.xcspec │ ├── image.jpeg.xcspec │ ├── image.pdf.xcspec │ ├── image.pict.xcspec │ ├── image.png.xcspec │ ├── image.tiff.xcspec │ ├── image.xcspec │ ├── net.daringfireball.markdown.xcspec │ ├── sourcecode.ada.xcspec │ ├── sourcecode.applescript.xcspec │ ├── sourcecode.asm.asm.xcspec │ ├── sourcecode.asm.llvm.xcspec │ ├── sourcecode.asm.xcspec │ ├── sourcecode.c.c.preprocessed.xcspec │ ├── sourcecode.c.c.xcspec │ ├── sourcecode.c.h.xcspec │ ├── sourcecode.c.objc.preprocessed.xcspec │ ├── sourcecode.c.objc.xcspec │ ├── sourcecode.c.xcspec │ ├── sourcecode.cpp.cpp.preprocessed.xcspec │ ├── sourcecode.cpp.cpp.xcspec │ ├── sourcecode.cpp.h.xcspec │ ├── sourcecode.cpp.objcpp.preprocessed.xcspec │ ├── sourcecode.cpp.objcpp.xcspec │ ├── sourcecode.cpp.xcspec │ ├── sourcecode.dtrace.xcspec │ ├── sourcecode.dylan.xcspec │ ├── sourcecode.exports.xcspec │ ├── sourcecode.fortran.f77.xcspec │ ├── sourcecode.fortran.f90.xcspec │ ├── sourcecode.fortran.xcspec │ ├── sourcecode.glsl.xcspec │ ├── sourcecode.jam.xcspec │ ├── sourcecode.java.xcspec │ ├── sourcecode.javascript.xcspec │ ├── sourcecode.lex.xcspec │ ├── sourcecode.make.xcspec │ ├── sourcecode.metal.xcspec │ ├── sourcecode.mig.xcspec │ ├── sourcecode.module-map.xcspec │ ├── sourcecode.nasm.xcspec │ ├── sourcecode.nqc.xcspec │ ├── sourcecode.opencl.xcspec │ ├── sourcecode.pascal.xcspec │ ├── sourcecode.rez.xcspec │ ├── sourcecode.swift.xcspec │ ├── sourcecode.text-based-dylib-definition.xcspec │ ├── sourcecode.xcspec │ ├── sourcecode.yacc.xcspec │ ├── text.css.xcspec │ ├── text.html.documentation.xcspec │ ├── text.html.other.xcspec │ ├── text.html.xcspec │ ├── text.json.xcspec │ ├── text.man.xcspec │ ├── text.pbxproject.xcspec │ ├── text.plist.entitlements.xcspec │ ├── text.plist.ibClassDescription.xcspec │ ├── text.plist.info.xcspec │ ├── text.plist.pbfilespec.xcspec │ ├── text.plist.pblangspec.xcspec │ ├── text.plist.scriptSuite.xcspec │ ├── text.plist.scriptTerminology.xcspec │ ├── text.plist.strings.xcspec │ ├── text.plist.stringsdict.xcspec │ ├── text.plist.xcbuildrules.xcspec │ ├── text.plist.xclangspec.xcspec │ ├── text.plist.xcspec │ ├── text.plist.xcspec.xcspec │ ├── text.plist.xcsynspec.xcspec │ ├── text.plist.xctxtmacro.xcspec │ ├── text.plist.xml.xcspec │ ├── text.rtf.xcspec │ ├── text.script.csh.xcspec │ ├── text.script.perl.xcspec │ ├── text.script.php.xcspec │ ├── text.script.python.xcspec │ ├── text.script.ruby.xcspec │ ├── text.script.sh.xcspec │ ├── text.script.worksheet.xcspec │ ├── text.script.xcspec │ ├── text.xcconfig.xcspec │ ├── text.xcspec │ ├── text.xml.dae.xcspec │ ├── text.xml.ibArchivingDescription.xcspec │ ├── text.xml.ibCodingDescription.xcspec │ ├── text.xml.xcspec │ ├── video.avi.xcspec │ ├── video.mpeg.xcspec │ ├── video.quartz-composer.xcspec │ ├── video.quicktime.xcspec │ ├── video.xcspec │ ├── wrapper.app-extension.xcspec │ ├── wrapper.application.xcspec │ ├── wrapper.cfbundle.xcspec │ ├── wrapper.dsym.xcspec │ ├── wrapper.framework.static.xcspec │ ├── wrapper.framework.xcspec │ ├── wrapper.htmld.xcspec │ ├── wrapper.installer-mpkg.xcspec │ ├── wrapper.installer-pkg.xcspec │ ├── wrapper.java-classfolder.xcspec │ ├── wrapper.kernel-extension.xcspec │ ├── wrapper.nib.xcspec │ ├── wrapper.pb-project.xcspec │ ├── wrapper.pb-target.xcspec │ ├── wrapper.plug-in.xcspec │ ├── wrapper.rtfd.xcspec │ ├── wrapper.scnassets.xcspec │ ├── wrapper.spotlight-importer.xcspec │ ├── wrapper.storyboardc.xcspec │ ├── wrapper.workspace.xcspec │ ├── wrapper.xcclassmodel.xcspec │ ├── wrapper.xcdatamodel.xcspec │ ├── wrapper.xcdatamodeld.xcspec │ ├── wrapper.xcmappingmodel.xcspec │ ├── wrapper.xcspec │ └── wrapper.xpc-service.xcspec ├── Linker │ ├── CMakeLists.txt │ ├── com.apple.pbx.linkers.ld.xcspec │ ├── com.apple.pbx.linkers.libtool.xcspec │ └── com.apple.xcode.linkers.lipo.xcspec └── Tool │ ├── CMakeLists.txt │ ├── com.apple.build-tools.nmedit.xcspec │ ├── com.apple.build-tools.strip.xcspec │ ├── com.apple.build-tools.swift-stdlib-tool.xcspec │ ├── com.apple.commands.built-in.compilation-database-generator.xcspec │ ├── com.apple.commands.built-in.headermap-generator.xcspec │ ├── com.apple.commands.built-in.validate.xcspec │ ├── com.apple.commands.shell-script.xcspec │ ├── com.apple.compilers.cpp.xcspec │ ├── com.apple.compilers.lex.xcspec │ ├── com.apple.compilers.pbxcp.xcspec │ ├── com.apple.compilers.resource-copier.xcspec │ ├── com.apple.compilers.yacc.xcspec │ ├── com.apple.tools.ditto.xcspec │ ├── com.apple.tools.dsymutil.xcspec │ ├── com.apple.tools.info-plist-utility.xcspec │ ├── com.apple.tools.mkdir.xcspec │ ├── com.apple.tools.plutil.xcspec │ ├── com.apple.tools.symlink.xcspec │ └── com.apple.tools.touch.xcspec └── appveyor.yml /.gitattributes: -------------------------------------------------------------------------------- 1 | ThirdParty/* linguist-vendored 2 | *.h linguist-language=C++ 3 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Build 5 | /build/ 6 | /build-*/ 7 | /project/ 8 | 9 | -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- 1 | [submodule "ThirdParty/googletest"] 2 | path = ThirdParty/googletest 3 | url = https://github.com/google/googletest.git 4 | [submodule "ThirdParty/linenoise"] 5 | path = ThirdParty/linenoise 6 | url = https://github.com/antirez/linenoise.git 7 | -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- 1 | # Code of Conduct 2 | 3 | This project adheres to the [Open Code of Conduct](http://todogroup.org/opencodeofconduct/#xcbuild/opensource@fb.com). By participating, you are expected to honor this code. 4 | -------------------------------------------------------------------------------- /Libraries/acdriver/Headers/acdriver/Compile/AppIconSet.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __acdriver_Compile_AppIconSet_h 10 | #define __acdriver_Compile_AppIconSet_h 11 | 12 | #include 13 | #include 14 | 15 | #include 16 | 17 | namespace acdriver { 18 | 19 | class Result; 20 | 21 | namespace Compile { 22 | 23 | class Output; 24 | 25 | class AppIconSet { 26 | private: 27 | AppIconSet(); 28 | ~AppIconSet(); 29 | 30 | public: 31 | static bool Compile( 32 | xcassets::Asset::AppIconSet const *appIconSet, 33 | Output *compileOutput, 34 | Result *result); 35 | }; 36 | 37 | } 38 | } 39 | 40 | #endif // !__acdriver_Compile_AppIconSet_h 41 | -------------------------------------------------------------------------------- /Libraries/acdriver/Headers/acdriver/CompileAction.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __acdriver_CompileAction_h 10 | #define __acdriver_CompileAction_h 11 | 12 | namespace libutil { class Filesystem; } 13 | 14 | namespace acdriver { 15 | 16 | class Options; 17 | class Output; 18 | class Result; 19 | 20 | /* 21 | * Compiles an asset catalog. 22 | */ 23 | class CompileAction { 24 | public: 25 | CompileAction(); 26 | ~CompileAction(); 27 | 28 | public: 29 | void run(libutil::Filesystem *filesystem, Options const &options, Output *output, Result *result); 30 | }; 31 | 32 | } 33 | 34 | #endif // !__acdriver_CompileAction_h 35 | -------------------------------------------------------------------------------- /Libraries/acdriver/Headers/acdriver/ContentsAction.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __acdriver_ContentsAction_h 10 | #define __acdriver_ContentsAction_h 11 | 12 | namespace libutil { class Filesystem; } 13 | 14 | namespace acdriver { 15 | 16 | class Options; 17 | class Output; 18 | class Result; 19 | 20 | /* 21 | * Prints the contents of an asset catalog. 22 | */ 23 | class ContentsAction { 24 | public: 25 | ContentsAction(); 26 | ~ContentsAction(); 27 | 28 | public: 29 | void run(libutil::Filesystem const *filesystem, Options const &options, Output *output, Result *result); 30 | }; 31 | 32 | } 33 | 34 | #endif // !__acdriver_ContentsAction_h 35 | -------------------------------------------------------------------------------- /Libraries/acdriver/Headers/acdriver/Driver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __acdriver_Driver_h 10 | #define __acdriver_Driver_h 11 | 12 | #include 13 | #include 14 | 15 | namespace libutil { class Filesystem; } 16 | namespace process { class Context; } 17 | 18 | namespace acdriver { 19 | 20 | /* 21 | * Implements the actool command line tool. 22 | */ 23 | class Driver { 24 | private: 25 | Driver(); 26 | ~Driver(); 27 | 28 | public: 29 | static int 30 | Run(process::Context const *processContext, libutil::Filesystem *filesystem); 31 | }; 32 | 33 | } 34 | 35 | #endif // !__acdriver_Driver_h 36 | -------------------------------------------------------------------------------- /Libraries/acdriver/Headers/acdriver/Version.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __acdriver_Version_h 10 | #define __acdriver_Version_h 11 | 12 | #include 13 | 14 | namespace acdriver { 15 | 16 | /* 17 | * Computes driver version information. 18 | */ 19 | class Version { 20 | private: 21 | Version(); 22 | ~Version(); 23 | 24 | public: 25 | /* 26 | * The machine-readable build version. 27 | */ 28 | static int BuildVersion(); 29 | 30 | /* 31 | * The human-readable user version. 32 | */ 33 | static std::string UserVersion(); 34 | }; 35 | 36 | } 37 | 38 | #endif // !__acdriver_Version_h 39 | -------------------------------------------------------------------------------- /Libraries/acdriver/Headers/acdriver/VersionAction.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __acdriver_VersionAction_h 10 | #define __acdriver_VersionAction_h 11 | 12 | namespace acdriver { 13 | 14 | class Options; 15 | class Output; 16 | class Result; 17 | 18 | /* 19 | * Prints the version of the compiler. 20 | */ 21 | class VersionAction { 22 | public: 23 | VersionAction(); 24 | ~VersionAction(); 25 | 26 | public: 27 | void run(Options const &options, Output *output, Result *result); 28 | }; 29 | 30 | } 31 | 32 | #endif // !__acdriver_VersionAction_h 33 | -------------------------------------------------------------------------------- /Libraries/acdriver/Sources/Version.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using acdriver::Version; 12 | 13 | Version:: 14 | Version() 15 | { 16 | } 17 | 18 | Version:: 19 | ~Version() 20 | { 21 | } 22 | 23 | int Version:: 24 | BuildVersion() 25 | { 26 | return 1; 27 | } 28 | 29 | std::string Version:: 30 | UserVersion() 31 | { 32 | return "1"; 33 | } 34 | 35 | -------------------------------------------------------------------------------- /Libraries/acdriver/Tools/actool.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | using libutil::DefaultFilesystem; 14 | 15 | int 16 | main(int argc, char **argv) 17 | { 18 | DefaultFilesystem filesystem = DefaultFilesystem(); 19 | process::DefaultContext processContext = process::DefaultContext(); 20 | return acdriver::Driver::Run(&processContext, &filesystem); 21 | } 22 | -------------------------------------------------------------------------------- /Libraries/builtin/Headers/builtin/Driver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __builtin_Driver_h 10 | #define __builtin_Driver_h 11 | 12 | #include 13 | #include 14 | #include 15 | 16 | namespace libutil { class Filesystem; } 17 | namespace process { class Context; } 18 | 19 | namespace builtin { 20 | 21 | class Driver { 22 | protected: 23 | Driver(); 24 | virtual ~Driver(); 25 | 26 | public: 27 | virtual std::string name() = 0; 28 | 29 | public: 30 | virtual int run(process::Context const *processContext, libutil::Filesystem *filesystem) = 0; 31 | }; 32 | 33 | } 34 | 35 | #endif // !__builtin_Driver_h 36 | -------------------------------------------------------------------------------- /Libraries/builtin/Headers/builtin/copy/Driver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __builtin_copy_Driver_h 10 | #define __builtin_copy_Driver_h 11 | 12 | #include 13 | 14 | namespace builtin { 15 | namespace copy { 16 | 17 | class Driver : public builtin::Driver { 18 | public: 19 | Driver(); 20 | ~Driver(); 21 | 22 | public: 23 | virtual std::string name(); 24 | 25 | public: 26 | virtual int run(process::Context const *processContext, libutil::Filesystem *filesystem); 27 | }; 28 | 29 | } 30 | } 31 | 32 | #endif // !__builtin_copy_Driver_h 33 | -------------------------------------------------------------------------------- /Libraries/builtin/Headers/builtin/copyPlist/Driver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __builtin_copyPlist_Driver_h 10 | #define __builtin_copyPlist_Driver_h 11 | 12 | #include 13 | 14 | namespace builtin { 15 | namespace copyPlist { 16 | 17 | class Driver : public builtin::Driver { 18 | public: 19 | Driver(); 20 | ~Driver(); 21 | 22 | public: 23 | virtual std::string name(); 24 | 25 | public: 26 | virtual int run(process::Context const *processContext, libutil::Filesystem *filesystem); 27 | }; 28 | 29 | } 30 | } 31 | 32 | #endif // !__builtin_copyPlist_Driver_h 33 | -------------------------------------------------------------------------------- /Libraries/builtin/Headers/builtin/copyStrings/Driver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __builtin_copyStrings_Driver_h 10 | #define __builtin_copyStrings_Driver_h 11 | 12 | #include 13 | 14 | namespace builtin { 15 | namespace copyStrings { 16 | 17 | class Driver : public builtin::Driver { 18 | public: 19 | Driver(); 20 | ~Driver(); 21 | 22 | public: 23 | virtual std::string name(); 24 | 25 | public: 26 | virtual int run(process::Context const *processContext, libutil::Filesystem *filesystem); 27 | }; 28 | 29 | } 30 | } 31 | 32 | #endif // !__builtin_copyStrings_Driver_h 33 | -------------------------------------------------------------------------------- /Libraries/builtin/Headers/builtin/copyTiff/Driver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __builtin_copyTiff_Driver_h 10 | #define __builtin_copyTiff_Driver_h 11 | 12 | #include 13 | 14 | namespace builtin { 15 | namespace copyTiff { 16 | 17 | class Driver : public builtin::Driver { 18 | public: 19 | Driver(); 20 | ~Driver(); 21 | 22 | public: 23 | virtual std::string name(); 24 | 25 | public: 26 | virtual int run(process::Context const *processContext, libutil::Filesystem *filesystem); 27 | }; 28 | 29 | } 30 | } 31 | 32 | #endif // !__builtin_copyTiff_Driver_h 33 | -------------------------------------------------------------------------------- /Libraries/builtin/Headers/builtin/embeddedBinaryValidationUtility/Driver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __builtin_embeddedBinaryValidationUtility_Driver_h 10 | #define __builtin_embeddedBinaryValidationUtility_Driver_h 11 | 12 | #include 13 | 14 | namespace builtin { 15 | namespace embeddedBinaryValidationUtility { 16 | 17 | class Driver : public builtin::Driver { 18 | public: 19 | Driver(); 20 | ~Driver(); 21 | 22 | public: 23 | virtual std::string name(); 24 | 25 | public: 26 | virtual int run(process::Context const *processContext, libutil::Filesystem *filesystem); 27 | }; 28 | 29 | } 30 | } 31 | 32 | #endif // !__builtin_embeddedBinaryValidationUtility_Driver_h 33 | -------------------------------------------------------------------------------- /Libraries/builtin/Headers/builtin/infoPlistUtility/Driver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __builtin_infoPlistUtility_Driver_h 10 | #define __builtin_infoPlistUtility_Driver_h 11 | 12 | #include 13 | 14 | namespace builtin { 15 | namespace infoPlistUtility { 16 | 17 | class Driver : public builtin::Driver { 18 | public: 19 | Driver(); 20 | ~Driver(); 21 | 22 | public: 23 | virtual std::string name(); 24 | 25 | public: 26 | virtual int run(process::Context const *processContext, libutil::Filesystem *filesystem); 27 | }; 28 | 29 | } 30 | } 31 | 32 | #endif // !__builtin_infoPlistUtility_Driver_h 33 | -------------------------------------------------------------------------------- /Libraries/builtin/Headers/builtin/lsRegisterURL/Driver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __builtin_lsRegisterURL_Driver_h 10 | #define __builtin_lsRegisterURL_Driver_h 11 | 12 | #include 13 | 14 | namespace builtin { 15 | namespace lsRegisterURL { 16 | 17 | class Driver : public builtin::Driver { 18 | public: 19 | Driver(); 20 | ~Driver(); 21 | 22 | public: 23 | virtual std::string name(); 24 | 25 | public: 26 | virtual int run(process::Context const *processContext, libutil::Filesystem *filesystem); 27 | }; 28 | 29 | } 30 | } 31 | 32 | #endif // !__builtin_lsRegisterURL_Driver_h 33 | -------------------------------------------------------------------------------- /Libraries/builtin/Headers/builtin/productPackagingUtility/Driver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __builtin_productPackagingUtility_Driver_h 10 | #define __builtin_productPackagingUtility_Driver_h 11 | 12 | #include 13 | 14 | namespace builtin { 15 | namespace productPackagingUtility { 16 | 17 | class Driver : public builtin::Driver { 18 | public: 19 | Driver(); 20 | ~Driver(); 21 | 22 | public: 23 | virtual std::string name(); 24 | 25 | public: 26 | virtual int run(process::Context const *processContext, libutil::Filesystem *filesystem); 27 | }; 28 | 29 | } 30 | } 31 | 32 | #endif // !__builtin_productPackagingUtility_Driver_h 33 | -------------------------------------------------------------------------------- /Libraries/builtin/Headers/builtin/validationUtility/Driver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __builtin_validationUtility_Driver_h 10 | #define __builtin_validationUtility_Driver_h 11 | 12 | #include 13 | 14 | namespace builtin { 15 | namespace validationUtility { 16 | 17 | class Driver : public builtin::Driver { 18 | public: 19 | Driver(); 20 | ~Driver(); 21 | 22 | public: 23 | virtual std::string name(); 24 | 25 | public: 26 | virtual int run(process::Context const *processContext, libutil::Filesystem *filesystem); 27 | }; 28 | 29 | } 30 | } 31 | 32 | #endif // !__builtin_validationUtility_Driver_h 33 | -------------------------------------------------------------------------------- /Libraries/builtin/Sources/Driver.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using builtin::Driver; 12 | 13 | Driver:: 14 | Driver() 15 | { 16 | } 17 | 18 | Driver:: 19 | ~Driver() 20 | { 21 | } 22 | 23 | -------------------------------------------------------------------------------- /Libraries/builtin/Sources/lsRegisterURL/Options.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using builtin::lsRegisterURL::Options; 12 | 13 | Options:: 14 | Options() 15 | { 16 | } 17 | 18 | Options:: 19 | ~Options() 20 | { 21 | } 22 | 23 | std::pair Options:: 24 | parseArgument(std::vector const &args, std::vector::const_iterator *it) 25 | { 26 | std::string const &arg = **it; 27 | 28 | return libutil::Options::Current(&_input, arg); 29 | } 30 | 31 | -------------------------------------------------------------------------------- /Libraries/builtin/Tools/copy.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | using libutil::DefaultFilesystem; 14 | 15 | int 16 | main(int argc, char **argv, char **envp) 17 | { 18 | DefaultFilesystem filesystem = DefaultFilesystem(); 19 | process::DefaultContext processContext = process::DefaultContext(); 20 | 21 | builtin::copy::Driver driver; 22 | return driver.run(&processContext, &filesystem); 23 | } 24 | -------------------------------------------------------------------------------- /Libraries/builtin/Tools/copyPlist.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | using libutil::DefaultFilesystem; 14 | 15 | int 16 | main(int argc, char **argv, char **envp) 17 | { 18 | DefaultFilesystem filesystem = DefaultFilesystem(); 19 | process::DefaultContext processContext = process::DefaultContext(); 20 | 21 | builtin::copyPlist::Driver driver; 22 | return driver.run(&processContext, &filesystem); 23 | } 24 | -------------------------------------------------------------------------------- /Libraries/builtin/Tools/copyStrings.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | using libutil::DefaultFilesystem; 14 | 15 | int 16 | main(int argc, char **argv, char **envp) 17 | { 18 | DefaultFilesystem filesystem = DefaultFilesystem(); 19 | process::DefaultContext processContext = process::DefaultContext(); 20 | 21 | builtin::copyStrings::Driver driver; 22 | return driver.run(&processContext, &filesystem); 23 | } 24 | -------------------------------------------------------------------------------- /Libraries/builtin/Tools/copyTiff.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | using libutil::DefaultFilesystem; 14 | 15 | int 16 | main(int argc, char **argv, char **envp) 17 | { 18 | DefaultFilesystem filesystem = DefaultFilesystem(); 19 | process::DefaultContext processContext = process::DefaultContext(); 20 | 21 | builtin::copyTiff::Driver driver; 22 | return driver.run(&processContext, &filesystem); 23 | } 24 | -------------------------------------------------------------------------------- /Libraries/builtin/Tools/embeddedBinaryValidationUtility.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | using libutil::DefaultFilesystem; 14 | 15 | int 16 | main(int argc, char **argv, char **envp) 17 | { 18 | DefaultFilesystem filesystem = DefaultFilesystem(); 19 | process::DefaultContext processContext = process::DefaultContext(); 20 | 21 | builtin::embeddedBinaryValidationUtility::Driver driver; 22 | return driver.run(&processContext, &filesystem); 23 | } 24 | -------------------------------------------------------------------------------- /Libraries/builtin/Tools/infoPlistUtility.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | using libutil::DefaultFilesystem; 14 | 15 | int 16 | main(int argc, char **argv, char **envp) 17 | { 18 | DefaultFilesystem filesystem = DefaultFilesystem(); 19 | process::DefaultContext processContext = process::DefaultContext(); 20 | 21 | builtin::infoPlistUtility::Driver driver; 22 | return driver.run(&processContext, &filesystem); 23 | } 24 | -------------------------------------------------------------------------------- /Libraries/builtin/Tools/lsRegisterURL.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | using libutil::DefaultFilesystem; 14 | 15 | int 16 | main(int argc, char **argv, char **envp) 17 | { 18 | DefaultFilesystem filesystem = DefaultFilesystem(); 19 | process::DefaultContext processContext = process::DefaultContext(); 20 | 21 | builtin::lsRegisterURL::Driver driver; 22 | return driver.run(&processContext, &filesystem); 23 | } 24 | -------------------------------------------------------------------------------- /Libraries/builtin/Tools/productPackagingUtility.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | using libutil::DefaultFilesystem; 14 | 15 | int 16 | main(int argc, char **argv, char **envp) 17 | { 18 | DefaultFilesystem filesystem = DefaultFilesystem(); 19 | process::DefaultContext processContext = process::DefaultContext(); 20 | 21 | builtin::productPackagingUtility::Driver driver; 22 | return driver.run(&processContext, &filesystem); 23 | } 24 | -------------------------------------------------------------------------------- /Libraries/builtin/Tools/validationUtility.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | using libutil::DefaultFilesystem; 14 | 15 | int 16 | main(int argc, char **argv, char **envp) 17 | { 18 | DefaultFilesystem filesystem = DefaultFilesystem(); 19 | process::DefaultContext processContext = process::DefaultContext(); 20 | 21 | builtin::validationUtility::Driver driver; 22 | return driver.run(&processContext, &filesystem); 23 | } 24 | -------------------------------------------------------------------------------- /Libraries/dependency/Sources/DependencyInfo.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using dependency::DependencyInfo; 12 | 13 | DependencyInfo:: 14 | DependencyInfo(std::vector const &inputs, std::vector const &outputs) : 15 | _inputs (inputs), 16 | _outputs(outputs) 17 | { 18 | } 19 | 20 | DependencyInfo:: 21 | DependencyInfo() : 22 | DependencyInfo(std::vector(), std::vector()) 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /Libraries/ext/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-present, Facebook, Inc. 3 | # All rights reserved. 4 | # 5 | # This source code is licensed under the BSD-style license found in the 6 | # LICENSE file in the root directory of this source tree. 7 | # 8 | 9 | add_library(ext 10 | Sources/optional.cpp 11 | ) 12 | 13 | target_link_libraries(ext PUBLIC) 14 | target_include_directories(ext PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/Headers") 15 | install(TARGETS ext DESTINATION usr/lib) 16 | 17 | -------------------------------------------------------------------------------- /Libraries/graphics/Sources/Image.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | #include 12 | 13 | using graphics::Image; 14 | using graphics::PixelFormat; 15 | 16 | Image:: 17 | Image(size_t width, size_t height, PixelFormat format, std::vector const &data) : 18 | _width (width), 19 | _height(height), 20 | _format(format), 21 | _data (data) 22 | { 23 | assert(data.size() == _width * _height * _format.bytesPerPixel()); 24 | } 25 | 26 | -------------------------------------------------------------------------------- /Libraries/libutil/Headers/libutil/CompilerSupport.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __libutil_CompilerSupport_h 10 | #define __libutil_CompilerSupport_h 11 | 12 | #if defined(_MSC_VER) && !defined(__clang__) 13 | #define LIBUTIL_PACKED_STRUCT_BEGIN __pragma(pack(push, 1)) 14 | #define LIBUTIL_PACKED_STRUCT_END __pragma(pack(pop)) 15 | #else 16 | #define LIBUTIL_PACKED_STRUCT_BEGIN 17 | #define LIBUTIL_PACKED_STRUCT_END __attribute__((__packed__)) 18 | #endif 19 | 20 | #endif // !__libutil_CompilerSupport_h 21 | -------------------------------------------------------------------------------- /Libraries/libutil/Headers/libutil/Escape.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __libutil_Escape_h 10 | #define __libutil_Escape_h 11 | 12 | #include 13 | 14 | namespace libutil { 15 | 16 | class Escape { 17 | private: 18 | Escape(); 19 | ~Escape(); 20 | 21 | public: 22 | /* 23 | * Shell-escapes a string. 24 | */ 25 | static std::string 26 | Shell(std::string const &value); 27 | 28 | /* 29 | * Escape a file path for a Makefile. 30 | */ 31 | static std::string 32 | Makefile(std::string const &value); 33 | }; 34 | 35 | } 36 | 37 | #endif // !__libutil_Escape_h 38 | -------------------------------------------------------------------------------- /Libraries/libutil/Headers/libutil/Strings.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __libutil_Strings_h 10 | #define __libutil_Strings_h 11 | 12 | #include 13 | 14 | #if defined(_WIN32) 15 | #include 16 | #else 17 | #include 18 | #endif 19 | 20 | namespace libutil { 21 | 22 | static inline int strcasecmp(const char *s1, const char *s2) { 23 | #if defined(_WIN32) 24 | return ::_stricmp(s1, s2); 25 | #else 26 | return ::strcasecmp(s1, s2); 27 | #endif 28 | } 29 | 30 | } 31 | 32 | #endif // !__libutil_Strings_h 33 | -------------------------------------------------------------------------------- /Libraries/libutil/Headers/libutil/Wildcard.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __libutil_Wildcard_h 10 | #define __libutil_Wildcard_h 11 | 12 | #include 13 | 14 | namespace libutil { 15 | 16 | struct Wildcard { 17 | static bool Match(std::string const &pattern, std::string const &string); 18 | }; 19 | 20 | } 21 | 22 | #endif // !__libutil_Wildcard_h 23 | -------------------------------------------------------------------------------- /Libraries/ninja/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-present, Facebook, Inc. 3 | # All rights reserved. 4 | # 5 | # This source code is licensed under the BSD-style license found in the 6 | # LICENSE file in the root directory of this source tree. 7 | # 8 | 9 | add_library(ninja 10 | Sources/Writer.cpp 11 | Sources/Value.cpp 12 | ) 13 | 14 | target_link_libraries(ninja PUBLIC) 15 | target_include_directories(ninja PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/Headers") 16 | install(TARGETS ninja DESTINATION usr/lib) 17 | 18 | if (BUILD_TESTING) 19 | ADD_UNIT_GTEST(ninja Value Tests/test_Value.cpp) 20 | ADD_UNIT_GTEST(ninja Writer Tests/test_Writer.cpp) 21 | endif () 22 | 23 | -------------------------------------------------------------------------------- /Libraries/pbxbuild/Headers/pbxbuild/Base.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __pbxbuild_Base_h 10 | #define __pbxbuild_Base_h 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | 17 | #endif // !__pbxbuild_Base_h 18 | -------------------------------------------------------------------------------- /Libraries/pbxbuild/Headers/pbxbuild/Phase/SwiftResolver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __pbxbuild_Phase_SwiftResolver_h 10 | #define __pbxbuild_Phase_SwiftResolver_h 11 | 12 | #include 13 | 14 | namespace pbxbuild { 15 | namespace Phase { 16 | 17 | class Environment; 18 | class Context; 19 | 20 | /* 21 | * Copies the Swift standard library into the product, if needed. 22 | */ 23 | class SwiftResolver { 24 | public: 25 | explicit SwiftResolver(); 26 | 27 | public: 28 | bool resolve(Phase::Environment const &phaseEnvironment, Phase::Context *phaseContext) const; 29 | }; 30 | 31 | } 32 | } 33 | 34 | #endif // !__pbxbuild_Phase_SwiftResolver_h 35 | -------------------------------------------------------------------------------- /Libraries/pbxbuild/Sources/Tool/CompilationInfo.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | namespace Tool = pbxbuild::Tool; 12 | 13 | Tool::CompilationInfo:: 14 | CompilationInfo() 15 | { 16 | } 17 | 18 | Tool::CompilationInfo:: 19 | ~CompilationInfo() 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /Libraries/pbxbuild/Sources/Tool/Context.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | namespace Tool = pbxbuild::Tool; 12 | 13 | Tool::Context:: 14 | Context( 15 | xcsdk::SDK::Target::shared_ptr const &sdk, 16 | std::vector const &toolchains, 17 | std::string const &workingDirectory, 18 | Tool::SearchPaths const &searchPaths) : 19 | _sdk (sdk), 20 | _toolchains (toolchains), 21 | _workingDirectory (workingDirectory), 22 | _searchPaths (searchPaths), 23 | _currentPhaseInvocationPriority (0) 24 | { 25 | } 26 | 27 | Tool::Context:: 28 | ~Context() 29 | { 30 | } 31 | -------------------------------------------------------------------------------- /Libraries/pbxbuild/Sources/Tool/HeadermapInfo.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | namespace Tool = pbxbuild::Tool; 12 | 13 | Tool::HeadermapInfo:: 14 | HeadermapInfo() 15 | { 16 | } 17 | 18 | Tool::HeadermapInfo:: 19 | ~HeadermapInfo() 20 | { 21 | } 22 | -------------------------------------------------------------------------------- /Libraries/pbxbuild/Sources/Tool/ModuleMapInfo.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | namespace Tool = pbxbuild::Tool; 12 | 13 | Tool::ModuleMapInfo::Entry:: 14 | Entry( 15 | Tool::AuxiliaryFile::Chunk const &contents, 16 | std::string const &intermediatePath, 17 | std::string const &finalPath) : 18 | _contents (contents), 19 | _intermediatePath(intermediatePath), 20 | _finalPath (finalPath) 21 | { 22 | } 23 | 24 | Tool::ModuleMapInfo:: 25 | ModuleMapInfo() 26 | { 27 | } 28 | 29 | -------------------------------------------------------------------------------- /Libraries/pbxbuild/Sources/Tool/SwiftModuleInfo.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | namespace Tool = pbxbuild::Tool; 12 | 13 | Tool::SwiftModuleInfo:: 14 | SwiftModuleInfo( 15 | std::string const &architecture, 16 | std::string const &moduleName, 17 | std::string const &modulePath, 18 | std::string const &docPath, 19 | std::string const &headerPath, 20 | bool installHeader) : 21 | _architecture (architecture), 22 | _moduleName (moduleName), 23 | _modulePath (modulePath), 24 | _docPath (docPath), 25 | _headerPath (headerPath), 26 | _installHeader(installHeader) 27 | { 28 | } 29 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Headers/pbxproj/PBX/BuildPhases.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __pbxproj_PBX_BuildPhases_h 10 | #define __pbxproj_PBX_BuildPhases_h 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | 21 | #endif // !__pbxproj_PBX_BuildPhases_h 22 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Headers/pbxproj/PBX/FrameworksBuildPhase.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __pbxproj_PBX_FrameworksBuildPhase_h 10 | #define __pbxproj_PBX_FrameworksBuildPhase_h 11 | 12 | #include 13 | 14 | namespace pbxproj { namespace PBX { 15 | 16 | class FrameworksBuildPhase : public BuildPhase { 17 | public: 18 | typedef std::shared_ptr shared_ptr; 19 | 20 | public: 21 | FrameworksBuildPhase(); 22 | 23 | public: 24 | static inline char const *Isa() 25 | { return ISA::PBXFrameworksBuildPhase; } 26 | }; 27 | 28 | } } 29 | 30 | #endif // !__pbxproj_PBX_BuildPhase_h 31 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Headers/pbxproj/PBX/HeadersBuildPhase.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __pbxproj_PBX_HeadersBuildPhase_h 10 | #define __pbxproj_PBX_HeadersBuildPhase_h 11 | 12 | #include 13 | 14 | namespace pbxproj { namespace PBX { 15 | 16 | class HeadersBuildPhase : public BuildPhase { 17 | public: 18 | typedef std::shared_ptr shared_ptr; 19 | 20 | public: 21 | HeadersBuildPhase(); 22 | 23 | public: 24 | static inline char const *Isa() 25 | { return ISA::PBXHeadersBuildPhase; } 26 | }; 27 | 28 | } } 29 | 30 | #endif // !__pbxproj_PBX_BuildPhase_h 31 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Headers/pbxproj/PBX/ResourcesBuildPhase.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __pbxproj_PBX_ResourcesBuildPhase_h 10 | #define __pbxproj_PBX_ResourcesBuildPhase_h 11 | 12 | #include 13 | 14 | namespace pbxproj { namespace PBX { 15 | 16 | class ResourcesBuildPhase : public BuildPhase { 17 | public: 18 | typedef std::shared_ptr shared_ptr; 19 | 20 | public: 21 | ResourcesBuildPhase(); 22 | 23 | public: 24 | static inline char const *Isa() 25 | { return ISA::PBXResourcesBuildPhase; } 26 | }; 27 | 28 | } } 29 | 30 | #endif // !__pbxproj_PBX_BuildPhase_h 31 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Headers/pbxproj/PBX/RezBuildPhase.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __pbxproj_PBX_RezBuildPhase_h 10 | #define __pbxproj_PBX_RezBuildPhase_h 11 | 12 | #include 13 | 14 | namespace pbxproj { namespace PBX { 15 | 16 | class RezBuildPhase : public BuildPhase { 17 | public: 18 | typedef std::shared_ptr shared_ptr; 19 | 20 | public: 21 | RezBuildPhase(); 22 | 23 | public: 24 | static inline char const *Isa() 25 | { return ISA::PBXRezBuildPhase; } 26 | }; 27 | 28 | } } 29 | 30 | #endif // !__pbxproj_PBX_BuildPhase_h 31 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Headers/pbxproj/PBX/SourcesBuildPhase.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __pbxproj_PBX_SourcesBuildPhase_h 10 | #define __pbxproj_PBX_SourcesBuildPhase_h 11 | 12 | #include 13 | 14 | namespace pbxproj { namespace PBX { 15 | 16 | class SourcesBuildPhase : public BuildPhase { 17 | public: 18 | typedef std::shared_ptr shared_ptr; 19 | 20 | public: 21 | SourcesBuildPhase(); 22 | 23 | public: 24 | static inline char const *Isa() 25 | { return ISA::PBXSourcesBuildPhase; } 26 | }; 27 | 28 | } } 29 | 30 | #endif // !__pbxproj_PBX_BuildPhase_h 31 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Headers/pbxproj/PBX/VariantGroup.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __pbxproj_PBX_VariantGroup_h 10 | #define __pbxproj_PBX_VariantGroup_h 11 | 12 | #include 13 | 14 | namespace pbxproj { namespace PBX { 15 | 16 | class VariantGroup : public BaseGroup { 17 | public: 18 | typedef std::shared_ptr shared_ptr; 19 | 20 | public: 21 | VariantGroup(); 22 | 23 | public: 24 | static inline char const *Isa() 25 | { return ISA::PBXVariantGroup; } 26 | }; 27 | 28 | } } 29 | 30 | #endif // !__pbxproj_PBX_VariantGroup_h 31 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Sources/Context.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | 12 | using pbxproj::Context; 13 | namespace PBX = pbxproj::PBX; 14 | 15 | void Context:: 16 | cacheObject(PBX::Object::shared_ptr const &O, std::string const &id) 17 | { 18 | if (project == nullptr && O->isa ()) { 19 | project = std::static_pointer_cast (O); 20 | } 21 | 22 | O->setBlueprintIdentifier(id); 23 | 24 | if (project != nullptr && project != O) { 25 | project->cacheObject(O); 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Sources/PBX/FrameworksBuildPhase.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using pbxproj::PBX::FrameworksBuildPhase; 12 | 13 | FrameworksBuildPhase:: 14 | FrameworksBuildPhase() : 15 | BuildPhase(Isa(), Type::Frameworks) 16 | { 17 | } 18 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Sources/PBX/HeadersBuildPhase.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using pbxproj::PBX::HeadersBuildPhase; 12 | 13 | HeadersBuildPhase:: 14 | HeadersBuildPhase() : 15 | BuildPhase(Isa(), Type::Headers) 16 | { 17 | } 18 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Sources/PBX/ResourcesBuildPhase.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using pbxproj::PBX::ResourcesBuildPhase; 12 | 13 | ResourcesBuildPhase:: 14 | ResourcesBuildPhase() : 15 | BuildPhase(Isa(), Type::Resources) 16 | { 17 | } 18 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Sources/PBX/RezBuildPhase.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using pbxproj::PBX::RezBuildPhase; 12 | 13 | RezBuildPhase:: 14 | RezBuildPhase() : 15 | BuildPhase(Isa(), Type::Rez) 16 | { 17 | } 18 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Sources/PBX/SourcesBuildPhase.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using pbxproj::PBX::SourcesBuildPhase; 12 | 13 | SourcesBuildPhase:: 14 | SourcesBuildPhase() : 15 | BuildPhase(Isa(), Type::Sources) 16 | { 17 | } 18 | -------------------------------------------------------------------------------- /Libraries/pbxproj/Sources/PBX/VariantGroup.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using pbxproj::PBX::VariantGroup; 12 | 13 | VariantGroup:: 14 | VariantGroup() : 15 | BaseGroup(Isa(), GroupItem::Type::VariantGroup) 16 | { 17 | } 18 | -------------------------------------------------------------------------------- /Libraries/pbxspec/PrivateHeaders/pbxspec/Context.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __pbxspec_Context_h 10 | #define __pbxspec_Context_h 11 | 12 | #include 13 | 14 | namespace pbxspec { 15 | 16 | class Context { 17 | public: 18 | std::string domain; 19 | }; 20 | 21 | } 22 | 23 | using pbxspec::Context; 24 | 25 | #endif // !__pbxspec_Context_h 26 | -------------------------------------------------------------------------------- /Libraries/plist/Headers/plist/Base.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __plist_Base_h 10 | #define __plist_Base_h 11 | 12 | #include 13 | 14 | namespace plist { 15 | 16 | template 17 | static inline std::unique_ptr 18 | static_unique_pointer_cast(std::unique_ptr &&p) 19 | { 20 | return std::unique_ptr(static_cast(p.release())); 21 | } 22 | 23 | } 24 | 25 | #endif // !__plist_Base_h 26 | -------------------------------------------------------------------------------- /Libraries/plist/Headers/plist/Format/Binary.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __plist_Format_Binary_h 10 | #define __plist_Format_Binary_h 11 | 12 | #include 13 | #include 14 | 15 | namespace plist { 16 | namespace Format { 17 | 18 | class Binary : public Format { 19 | private: 20 | Binary(); 21 | 22 | public: 23 | static Type FormatType(); 24 | 25 | public: 26 | static Binary Create(); 27 | }; 28 | 29 | } 30 | } 31 | 32 | #endif // !__plist_Format_Binary_h 33 | -------------------------------------------------------------------------------- /Libraries/plist/Headers/plist/Format/JSON.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __plist_Format_JSON_h 10 | #define __plist_Format_JSON_h 11 | 12 | #include 13 | #include 14 | #include 15 | 16 | namespace plist { 17 | namespace Format { 18 | 19 | class JSON : public Format { 20 | private: 21 | JSON(); 22 | 23 | public: 24 | static JSON Create(); 25 | }; 26 | 27 | } 28 | } 29 | 30 | #endif // !__plist_Format_JSON_h 31 | -------------------------------------------------------------------------------- /Libraries/plist/Headers/plist/Format/SimpleXML.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __plist_Format_SimpleXML_h 10 | #define __plist_Format_SimpleXML_h 11 | 12 | #include 13 | #include 14 | #include 15 | 16 | namespace plist { 17 | namespace Format { 18 | 19 | class SimpleXML : public Format { 20 | private: 21 | Encoding _encoding; 22 | 23 | private: 24 | SimpleXML(Encoding encoding); 25 | 26 | public: 27 | inline Encoding encoding() const 28 | { return _encoding; } 29 | 30 | public: 31 | static SimpleXML Create(Encoding encoding); 32 | }; 33 | 34 | } 35 | } 36 | 37 | #endif // !__plist_Format_SimpleXML_h 38 | -------------------------------------------------------------------------------- /Libraries/plist/Headers/plist/Format/Type.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __plist_Format_Type_h 10 | #define __plist_Format_Type_h 11 | 12 | namespace plist { 13 | namespace Format { 14 | 15 | enum class Type { 16 | Binary, 17 | XML, 18 | ASCII, 19 | }; 20 | 21 | } 22 | } 23 | 24 | #endif // !__plist_Format_Type_h 25 | -------------------------------------------------------------------------------- /Libraries/plist/Headers/plist/Format/XML.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __plist_Format_XML_h 10 | #define __plist_Format_XML_h 11 | 12 | #include 13 | #include 14 | #include 15 | 16 | namespace plist { 17 | namespace Format { 18 | 19 | class XML : public Format { 20 | private: 21 | Encoding _encoding; 22 | 23 | private: 24 | XML(Encoding encoding); 25 | 26 | public: 27 | static Type FormatType(); 28 | 29 | public: 30 | inline Encoding encoding() const 31 | { return _encoding; } 32 | 33 | public: 34 | static XML Create(Encoding encoding); 35 | }; 36 | 37 | } 38 | } 39 | 40 | #endif // !__plist_Format_XML_h 41 | -------------------------------------------------------------------------------- /Libraries/plist/Headers/plist/Objects.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __plist_Objects_h 10 | #define __plist_Objects_h 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | #include 19 | #include 20 | #include 21 | #include 22 | #include 23 | 24 | #endif // !__plist_Objects_h 25 | -------------------------------------------------------------------------------- /Libraries/plist/PrivateHeaders/plist/Base64.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __plist_Base64_h 10 | #define __plist_Base64_h 11 | 12 | #include 13 | 14 | #include 15 | #include 16 | 17 | namespace plist { 18 | 19 | struct Base64 { 20 | static void Decode(std::string const &in, std::vector &out); 21 | static std::string Encode(std::vector const &in); 22 | }; 23 | 24 | } 25 | 26 | #endif // !__plist_Base64_h 27 | -------------------------------------------------------------------------------- /Libraries/plist/PrivateHeaders/plist/ISODate.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __plist_ISODate_h 10 | #define __plist_ISODate_h 11 | 12 | #include 13 | 14 | #include 15 | #include 16 | 17 | namespace plist { 18 | 19 | struct ISODate { 20 | static void Decode(std::string const &in, struct tm &out); 21 | static std::string Encode(struct tm const &in); 22 | }; 23 | 24 | } 25 | 26 | #endif // !__plist_ISODate_h 27 | -------------------------------------------------------------------------------- /Libraries/plist/PrivateHeaders/plist/UnixTime.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __plist_UnixTime_h 10 | #define __plist_UnixTime_h 11 | 12 | #include 13 | 14 | namespace plist { 15 | 16 | struct UnixTime { 17 | static void Decode(uint64_t in, struct tm &out); 18 | static uint64_t Encode(struct tm const &in); 19 | }; 20 | 21 | } 22 | 23 | #endif // !__plist_UnixTime_h 24 | -------------------------------------------------------------------------------- /Libraries/plist/Sources/Null.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using plist::Object; 12 | using plist::Null; 13 | 14 | std::unique_ptr Null:: 15 | New() 16 | { 17 | return std::unique_ptr(new Null()); 18 | } 19 | 20 | std::unique_ptr Null:: 21 | _copy() const 22 | { 23 | return plist::static_unique_pointer_cast(Null::New()); 24 | } 25 | 26 | std::unique_ptr Null:: 27 | Coerce(Object const *obj) 28 | { 29 | if (Null const *null = CastTo(obj)) { 30 | return null->copy(); 31 | } 32 | 33 | return nullptr; 34 | } 35 | -------------------------------------------------------------------------------- /Libraries/plist/Sources/Object.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using plist::Object; 12 | 13 | std::unique_ptr Object:: 14 | Coerce(Object const *obj) 15 | { 16 | return obj->copy(); 17 | } 18 | -------------------------------------------------------------------------------- /Libraries/plist/Sources/UID.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using plist::Object; 12 | using plist::UID; 13 | 14 | std::unique_ptr UID:: 15 | New(uint32_t value) 16 | { 17 | return std::unique_ptr(new UID(value)); 18 | } 19 | 20 | std::unique_ptr UID:: 21 | _copy() const 22 | { 23 | return plist::static_unique_pointer_cast(UID::New(value())); 24 | } 25 | 26 | std::unique_ptr UID:: 27 | Coerce(Object const *obj) 28 | { 29 | if (UID const *integer = CastTo(obj)) { 30 | return integer->copy(); 31 | } 32 | 33 | return nullptr; 34 | } 35 | -------------------------------------------------------------------------------- /Libraries/plist/Sources/UnixTime.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | #include 12 | 13 | using plist::UnixTime; 14 | 15 | void UnixTime:: 16 | Decode(uint64_t in, struct tm &out) 17 | { 18 | #if _WIN32 19 | time_t const t = in; 20 | ::gmtime_s(&out, &t); 21 | #else 22 | time_t t = in; 23 | ::gmtime_r(&t, &out); 24 | #endif 25 | } 26 | 27 | uint64_t UnixTime:: 28 | Encode(struct tm const &in) 29 | { 30 | struct tm copy = in; 31 | return ::mktime(©); 32 | } 33 | -------------------------------------------------------------------------------- /Libraries/process/Headers/process/DefaultLauncher.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __process_DefaultLauncher_h 10 | #define __process_DefaultLauncher_h 11 | 12 | #include 13 | 14 | namespace libutil { class Filesystem; } 15 | 16 | namespace process { 17 | 18 | /* 19 | * Abstract process launcher. 20 | */ 21 | class DefaultLauncher : public Launcher { 22 | public: 23 | DefaultLauncher(); 24 | ~DefaultLauncher(); 25 | 26 | public: 27 | virtual ext::optional launch(libutil::Filesystem *filesystem, Context const *context); 28 | }; 29 | 30 | } 31 | 32 | #endif // !__process_DefaultLauncher_h 33 | 34 | -------------------------------------------------------------------------------- /Libraries/process/Sources/Launcher.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using process::Launcher; 12 | 13 | Launcher:: 14 | Launcher() 15 | { 16 | } 17 | 18 | Launcher:: 19 | ~Launcher() 20 | { 21 | } 22 | 23 | -------------------------------------------------------------------------------- /Libraries/process/Sources/User.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using process::User; 12 | 13 | User:: 14 | User() 15 | { 16 | } 17 | 18 | User:: 19 | ~User() 20 | { 21 | } 22 | 23 | -------------------------------------------------------------------------------- /Libraries/xcdriver/Headers/xcdriver/Driver.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcdriver_Driver_h 10 | #define __xcdriver_Driver_h 11 | 12 | namespace libutil { class Filesystem; } 13 | namespace process { class Context; } 14 | namespace process { class Launcher; } 15 | namespace process { class User; } 16 | 17 | namespace xcdriver { 18 | 19 | class Driver { 20 | private: 21 | Driver(); 22 | ~Driver(); 23 | 24 | public: 25 | static int 26 | Run(process::User const *user, process::Context const *processContext, process::Launcher *processLauncher, libutil::Filesystem *filesystem); 27 | }; 28 | 29 | } 30 | 31 | #endif // !__xcdriver_Driver_h 32 | -------------------------------------------------------------------------------- /Libraries/xcdriver/Headers/xcdriver/FindAction.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcdriver_FindAction_h 10 | #define __xcdriver_FindAction_h 11 | 12 | namespace libutil { class Filesystem; } 13 | namespace process { class Context; } 14 | namespace process { class User; } 15 | 16 | namespace xcdriver { 17 | 18 | class Options; 19 | 20 | class FindAction { 21 | private: 22 | FindAction(); 23 | ~FindAction(); 24 | 25 | public: 26 | static int 27 | Run(process::User const *user, process::Context const *processContext, libutil::Filesystem const *filesystem, Options const &options); 28 | }; 29 | 30 | } 31 | 32 | #endif // !__xcdriver_FindAction_h 33 | -------------------------------------------------------------------------------- /Libraries/xcdriver/Headers/xcdriver/HelpAction.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2016-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcdriver_HelpAction_h 10 | #define __xcdriver_HelpAction_h 11 | 12 | namespace process { class Context; } 13 | 14 | namespace xcdriver { 15 | 16 | /* 17 | * Prints usage, as well as explanations of each invocation option. 18 | */ 19 | class HelpAction { 20 | private: 21 | HelpAction(); 22 | ~HelpAction(); 23 | 24 | public: 25 | static int 26 | Run(process::Context const *processContext); 27 | }; 28 | 29 | } 30 | 31 | #endif // !__xcdriver_HelpAction_h 32 | -------------------------------------------------------------------------------- /Libraries/xcdriver/Headers/xcdriver/LicenseAction.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2016-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcdriver_LicenseAction_h 10 | #define __xcdriver_LicenseAction_h 11 | 12 | namespace xcdriver { 13 | 14 | /* 15 | * Prints licensing information. 16 | */ 17 | class LicenseAction { 18 | private: 19 | LicenseAction(); 20 | ~LicenseAction(); 21 | 22 | public: 23 | static int 24 | Run(); 25 | }; 26 | 27 | } 28 | 29 | #endif // !__xcdriver_LicenseAction_h 30 | -------------------------------------------------------------------------------- /Libraries/xcdriver/Headers/xcdriver/ListAction.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcdriver_ListAction_h 10 | #define __xcdriver_ListAction_h 11 | 12 | namespace libutil { class Filesystem; } 13 | namespace process { class Context; } 14 | namespace process { class User; } 15 | 16 | namespace xcdriver { 17 | 18 | class Options; 19 | 20 | class ListAction { 21 | private: 22 | ListAction(); 23 | ~ListAction(); 24 | 25 | public: 26 | static int 27 | Run(process::User const *user, process::Context const *processContext, libutil::Filesystem const *filesystem, Options const &options); 28 | }; 29 | 30 | } 31 | 32 | #endif // !__xcdriver_ListAction_h 33 | -------------------------------------------------------------------------------- /Libraries/xcdriver/Headers/xcdriver/ShowSDKsAction.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcdriver_ShowSDKsAction_h 10 | #define __xcdriver_ShowSDKsAction_h 11 | 12 | namespace libutil { class Filesystem; } 13 | namespace process { class Context; } 14 | namespace process { class User; } 15 | 16 | namespace xcdriver { 17 | 18 | class Options; 19 | 20 | class ShowSDKsAction { 21 | private: 22 | ShowSDKsAction(); 23 | ~ShowSDKsAction(); 24 | 25 | public: 26 | static int 27 | Run(process::User const *user, process::Context const *processContext, libutil::Filesystem const *filesystem, Options const &options); 28 | }; 29 | 30 | } 31 | 32 | #endif // !__xcdriver_ShowSDKsAction_h 33 | -------------------------------------------------------------------------------- /Libraries/xcdriver/Headers/xcdriver/Usage.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2016-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcdriver_Usage_h 10 | #define __xcdriver_Usage_h 11 | 12 | #include 13 | 14 | namespace xcdriver { 15 | 16 | class Usage { 17 | private: 18 | Usage(); 19 | ~Usage(); 20 | 21 | public: 22 | /* 23 | * Text explaining the usage of the driver. 24 | */ 25 | static std::string Text(std::string const &name); 26 | }; 27 | 28 | } 29 | 30 | #endif // !__xcdriver_Usage_h 31 | -------------------------------------------------------------------------------- /Libraries/xcdriver/Headers/xcdriver/UsageAction.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2016-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcdriver_UsageAction_h 10 | #define __xcdriver_UsageAction_h 11 | 12 | namespace process { class Context; } 13 | 14 | namespace xcdriver { 15 | 16 | /* 17 | * Prints usage details for correct invocation. 18 | */ 19 | class UsageAction { 20 | private: 21 | UsageAction(); 22 | ~UsageAction(); 23 | 24 | public: 25 | static int 26 | Run(process::Context const *processContext); 27 | }; 28 | 29 | } 30 | 31 | #endif // !__xcdriver_UsageAction_h 32 | -------------------------------------------------------------------------------- /Libraries/xcdriver/Headers/xcdriver/VersionAction.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcdriver_VersionAction_h 10 | #define __xcdriver_VersionAction_h 11 | 12 | namespace libutil { class Filesystem; } 13 | namespace process { class Context; } 14 | namespace process { class User; } 15 | 16 | namespace xcdriver { 17 | 18 | class Options; 19 | 20 | class VersionAction { 21 | private: 22 | VersionAction(); 23 | ~VersionAction(); 24 | 25 | public: 26 | static int 27 | Run(process::User const *user, process::Context const *processContext, libutil::Filesystem const *filesystem, Options const &options); 28 | }; 29 | 30 | } 31 | 32 | #endif // !__xcdriver_VersionAction_h 33 | -------------------------------------------------------------------------------- /Libraries/xcdriver/Sources/UsageAction.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2016-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | 14 | #include 15 | 16 | using xcdriver::UsageAction; 17 | using xcdriver::Usage; 18 | using libutil::FSUtil; 19 | 20 | UsageAction:: 21 | UsageAction() 22 | { 23 | } 24 | 25 | UsageAction:: 26 | ~UsageAction() 27 | { 28 | } 29 | 30 | int UsageAction:: 31 | Run(process::Context const *processContext) 32 | { 33 | std::string path = processContext->executablePath(); 34 | std::string text = Usage::Text(FSUtil::GetBaseName(path)); 35 | fprintf(stdout, "%s", text.c_str()); 36 | 37 | return 0; 38 | } 39 | -------------------------------------------------------------------------------- /Libraries/xcdriver/Tools/xcbuild.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | #include 13 | #include 14 | 15 | using libutil::DefaultFilesystem; 16 | 17 | int 18 | main(int argc, char **argv) 19 | { 20 | DefaultFilesystem filesystem = DefaultFilesystem(); 21 | process::DefaultContext processContext = process::DefaultContext(); 22 | process::DefaultLauncher processLauncher = process::DefaultLauncher(); 23 | process::DefaultUser user = process::DefaultUser(); 24 | return xcdriver::Driver::Run(&user, &processContext, &processLauncher, &filesystem); 25 | } 26 | -------------------------------------------------------------------------------- /Libraries/xcexecution/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-present, Facebook, Inc. 3 | # All rights reserved. 4 | # 5 | # This source code is licensed under the BSD-style license found in the 6 | # LICENSE file in the root directory of this source tree. 7 | # 8 | 9 | 10 | add_library(xcexecution 11 | Sources/Parameters.cpp 12 | Sources/Executor.cpp 13 | Sources/SimpleExecutor.cpp 14 | Sources/NinjaExecutor.cpp 15 | ) 16 | 17 | target_link_libraries(xcexecution PUBLIC xcformatter pbxbuild xcscheme xcworkspace pbxproj pbxsetting process util dependency ninja builtin) 18 | target_include_directories(xcexecution PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/Headers") 19 | install(TARGETS xcexecution DESTINATION usr/lib) 20 | 21 | if (BUILD_TESTING) 22 | ADD_UNIT_GTEST(xcexecution SimpleExecutor Tests/test_SimpleExecutor.cpp) 23 | endif () 24 | -------------------------------------------------------------------------------- /Libraries/xcexecution/Sources/Executor.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using xcexecution::Executor; 12 | 13 | Executor:: 14 | Executor(std::shared_ptr const &formatter, bool dryRun, bool generate) : 15 | _formatter(formatter), 16 | _dryRun (dryRun), 17 | _generate (generate) 18 | { 19 | } 20 | 21 | Executor:: 22 | ~Executor() 23 | { 24 | } 25 | -------------------------------------------------------------------------------- /Libraries/xcformatter/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-present, Facebook, Inc. 3 | # All rights reserved. 4 | # 5 | # This source code is licensed under the BSD-style license found in the 6 | # LICENSE file in the root directory of this source tree. 7 | # 8 | 9 | add_library(xcformatter 10 | Sources/Formatter.cpp 11 | Sources/DefaultFormatter.cpp 12 | Sources/NullFormatter.cpp 13 | ) 14 | 15 | target_link_libraries(xcformatter PUBLIC pbxbuild pbxproj pbxsetting) 16 | target_include_directories(xcformatter PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/Headers") 17 | install(TARGETS xcformatter DESTINATION usr/lib) 18 | -------------------------------------------------------------------------------- /Libraries/xcformatter/Sources/Formatter.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using xcformatter::Formatter; 12 | 13 | Formatter:: 14 | Formatter() 15 | { 16 | } 17 | 18 | Formatter:: 19 | ~Formatter() 20 | { 21 | } 22 | 23 | void Formatter:: 24 | Print(std::string const &output) 25 | { 26 | fputs(output.c_str(), stdout); 27 | } 28 | 29 | -------------------------------------------------------------------------------- /Libraries/xcscheme/Headers/xcscheme/XC/Actions.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcscheme_XC_Actions_h 10 | #define __xcscheme_XC_Actions_h 11 | 12 | #include 13 | #include 14 | #include 15 | #include 16 | #include 17 | #include 18 | 19 | #endif // !__xcscheme_XC_Actions_h 20 | -------------------------------------------------------------------------------- /Libraries/xcscheme/Headers/xcscheme/XC/AnalyzeAction.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcscheme_XC_AnalyzeAction_h 10 | #define __xcscheme_XC_AnalyzeAction_h 11 | 12 | #include 13 | 14 | namespace xcscheme { namespace XC { 15 | 16 | class AnalyzeAction : public Action { 17 | public: 18 | typedef std::shared_ptr shared_ptr; 19 | 20 | public: 21 | AnalyzeAction(); 22 | 23 | public: 24 | bool parse(plist::Dictionary const *dict) override; 25 | }; 26 | 27 | } } 28 | 29 | #endif // !__xcscheme_XC_AnalyzeAction_h 30 | -------------------------------------------------------------------------------- /Libraries/xcscheme/Headers/xcscheme/xcscheme.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcscheme_xcscheme_h 10 | #define __xcscheme_xcscheme_h 11 | 12 | #include 13 | #include 14 | 15 | #endif // !__xcscheme_xcscheme_h 16 | -------------------------------------------------------------------------------- /Libraries/xcscheme/Sources/XC/AnalyzeAction.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using xcscheme::XC::AnalyzeAction; 12 | 13 | AnalyzeAction::AnalyzeAction() 14 | { 15 | } 16 | 17 | bool AnalyzeAction:: 18 | parse(plist::Dictionary const *dict) 19 | { 20 | if (!Action::parse(dict)) 21 | return false; 22 | 23 | return true; 24 | } 25 | -------------------------------------------------------------------------------- /Libraries/xcscheme/Sources/XC/ArchiveAction.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | using xcscheme::XC::ArchiveAction; 14 | 15 | ArchiveAction:: 16 | ArchiveAction() : 17 | _revealArchiveInOrganizer(false) 18 | { 19 | } 20 | 21 | bool ArchiveAction:: 22 | parse(plist::Dictionary const *dict) 23 | { 24 | if (!Action::parse(dict)) 25 | return false; 26 | 27 | auto RAIO = dict->value ("revealArchiverInOrganize"); 28 | 29 | if (RAIO != nullptr) { 30 | _revealArchiveInOrganizer = RAIO->value(); 31 | } 32 | 33 | return true; 34 | } 35 | -------------------------------------------------------------------------------- /Libraries/xcscheme/Sources/XC/Test.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | #include 11 | #include 12 | 13 | using xcscheme::XC::Test; 14 | 15 | Test:: 16 | Test() 17 | { 18 | } 19 | 20 | bool Test:: 21 | parse(plist::Dictionary const *dict) 22 | { 23 | auto I = dict->value ("Identifier"); 24 | 25 | if (I != nullptr) { 26 | _identifier = I->value(); 27 | } 28 | 29 | return true; 30 | } 31 | -------------------------------------------------------------------------------- /Libraries/xcworkspace/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-present, Facebook, Inc. 3 | # All rights reserved. 4 | # 5 | # This source code is licensed under the BSD-style license found in the 6 | # LICENSE file in the root directory of this source tree. 7 | # 8 | 9 | add_library(xcworkspace 10 | Sources/XC/Workspace.cpp 11 | Sources/XC/FileRef.cpp 12 | Sources/XC/Group.cpp 13 | Sources/XC/GroupItem.cpp 14 | ) 15 | 16 | target_link_libraries(xcworkspace PUBLIC pbxsetting process util plist) 17 | target_include_directories(xcworkspace PUBLIC "${CMAKE_CURRENT_SOURCE_DIR}/Headers") 18 | install(TARGETS xcworkspace DESTINATION usr/lib) 19 | 20 | add_executable(dump_xcworkspace Tools/dump_xcworkspace.cpp) 21 | target_link_libraries(dump_xcworkspace xcworkspace xcscheme pbxproj util plist) 22 | 23 | -------------------------------------------------------------------------------- /Libraries/xcworkspace/Headers/xcworkspace/XC/FileRef.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcworkspace_XC_FileRef_h 10 | #define __xcworkspace_XC_FileRef_h 11 | 12 | #include 13 | 14 | namespace xcworkspace { namespace XC { 15 | 16 | class FileRef : public GroupItem { 17 | public: 18 | FileRef(); 19 | }; 20 | 21 | } } 22 | 23 | #endif // !__xcworkspace_XC_FileRef_h 24 | -------------------------------------------------------------------------------- /Libraries/xcworkspace/Headers/xcworkspace/xcworkspace.h: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #ifndef __xcworkspace_xcworkspace_h 10 | #define __xcworkspace_xcworkspace_h 11 | 12 | #include 13 | #include 14 | #include 15 | 16 | #endif // !__xcworkspace_xcworkspace_h 17 | -------------------------------------------------------------------------------- /Libraries/xcworkspace/Sources/XC/FileRef.cpp: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | #include 10 | 11 | using xcworkspace::XC::FileRef; 12 | 13 | FileRef:: 14 | FileRef() : 15 | GroupItem(Type::FileRef) 16 | { 17 | } 18 | -------------------------------------------------------------------------------- /Specifications/BuildPhase/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-present, Facebook, Inc. 3 | # All rights reserved. 4 | # 5 | # This source code is licensed under the BSD-style license found in the 6 | # LICENSE file in the root directory of this source tree. 7 | # 8 | 9 | install(FILES 10 | com.apple.buildphase.applescript.xcspec 11 | com.apple.buildphase.copy-files.xcspec 12 | com.apple.buildphase.frameworks.xcspec 13 | com.apple.buildphase.headers.xcspec 14 | com.apple.buildphase.java-archive.xcspec 15 | com.apple.buildphase.resources.xcspec 16 | com.apple.buildphase.rez.xcspec 17 | com.apple.buildphase.shell-script.xcspec 18 | com.apple.buildphase.sources.xcspec 19 | DESTINATION Library/Xcode/Specifications) 20 | -------------------------------------------------------------------------------- /Specifications/BuildPhase/com.apple.buildphase.applescript.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = BuildPhase; 11 | Identifier = com.apple.buildphase.applescript; 12 | 13 | Name = "Run AppleScript"; 14 | } 15 | -------------------------------------------------------------------------------- /Specifications/BuildPhase/com.apple.buildphase.copy-files.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = BuildPhase; 11 | Identifier = com.apple.buildphase.copy-files; 12 | 13 | Name = "Copy Files"; 14 | } 15 | -------------------------------------------------------------------------------- /Specifications/BuildPhase/com.apple.buildphase.frameworks.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = BuildPhase; 11 | Identifier = com.apple.buildphase.frameworks; 12 | 13 | Name = "Link with Frameworks"; 14 | } 15 | -------------------------------------------------------------------------------- /Specifications/BuildPhase/com.apple.buildphase.headers.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = BuildPhase; 11 | Identifier = com.apple.buildphase.headers; 12 | 13 | Name = "Copy Headers"; 14 | } 15 | -------------------------------------------------------------------------------- /Specifications/BuildPhase/com.apple.buildphase.java-archive.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = BuildPhase; 11 | Identifier = com.apple.buildphase.java-archive; 12 | 13 | Name = "Archive Java"; 14 | } 15 | -------------------------------------------------------------------------------- /Specifications/BuildPhase/com.apple.buildphase.resources.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = BuildPhase; 11 | Identifier = com.apple.buildphase.resources; 12 | 13 | Name = "Copy Resources"; 14 | } 15 | -------------------------------------------------------------------------------- /Specifications/BuildPhase/com.apple.buildphase.rez.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = BuildPhase; 11 | Identifier = com.apple.buildphase.rez; 12 | 13 | Name = "Rez"; 14 | } 15 | -------------------------------------------------------------------------------- /Specifications/BuildPhase/com.apple.buildphase.shell-script.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = BuildPhase; 11 | Identifier = com.apple.buildphase.shell-script; 12 | 13 | Name = "Run Shell Script"; 14 | } 15 | -------------------------------------------------------------------------------- /Specifications/BuildPhase/com.apple.buildphase.sources.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = BuildPhase; 11 | Identifier = com.apple.buildphase.sources; 12 | 13 | Name = "Compile Sources"; 14 | } 15 | -------------------------------------------------------------------------------- /Specifications/BuildRules/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-present, Facebook, Inc. 3 | # All rights reserved. 4 | # 5 | # This source code is licensed under the BSD-style license found in the 6 | # LICENSE file in the root directory of this source tree. 7 | # 8 | 9 | install(FILES 10 | BuiltInBuildRules.plist 11 | DESTINATION Library/Xcode/Specifications) 12 | -------------------------------------------------------------------------------- /Specifications/BuildSystem/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-present, Facebook, Inc. 3 | # All rights reserved. 4 | # 5 | # This source code is licensed under the BSD-style license found in the 6 | # LICENSE file in the root directory of this source tree. 7 | # 8 | 9 | install(FILES 10 | com.apple.build-system.core.xcspec 11 | com.apple.build-system.external.xcspec 12 | com.apple.build-system.jam.xcspec 13 | com.apple.build-system.native.xcspec 14 | com.apple.buildsettings.standard.xcspec 15 | DESTINATION Library/Xcode/Specifications) 16 | -------------------------------------------------------------------------------- /Specifications/BuildSystem/com.apple.build-system.external.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = BuildSystem; 11 | Identifier = com.apple.build-system.external; 12 | BasedOn = com.apple.build-system.core; 13 | 14 | Options = ( 15 | ); 16 | } 17 | -------------------------------------------------------------------------------- /Specifications/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-present, Facebook, Inc. 3 | # All rights reserved. 4 | # 5 | # This source code is licensed under the BSD-style license found in the 6 | # LICENSE file in the root directory of this source tree. 7 | # 8 | 9 | set(OLD_DEFAULT_COMPONENT ${CMAKE_INSTALL_DEFAULT_COMPONENT_NAME}) 10 | set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME specifications) 11 | 12 | add_subdirectory(BuildPhase) 13 | add_subdirectory(BuildRules) 14 | add_subdirectory(BuildSystem) 15 | add_subdirectory(Compiler) 16 | add_subdirectory(FileType) 17 | add_subdirectory(Linker) 18 | add_subdirectory(Tool) 19 | 20 | set(CMAKE_INSTALL_DEFAULT_COMPONENT_NAME ${OLD_DEFAULT_COMPONENT}) 21 | -------------------------------------------------------------------------------- /Specifications/Compiler/com.apple.build-tasks.ls-register-url.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Compiler; 11 | Identifier = com.apple.build-tasks.ls-register-url; 12 | Name = "Register with Launch Services"; 13 | 14 | CommandLine = "builtin-lsRegisterURL [options] [input]"; 15 | RuleName = "RegisterWithLaunchServices $(InputFile)"; 16 | SynthesizeBuildRule = YES; 17 | Outputs = ( 18 | "$(OutputPath)", 19 | ); 20 | 21 | Options = ( 22 | /* No options. */ 23 | ); 24 | } 25 | -------------------------------------------------------------------------------- /Specifications/Compiler/com.apple.compilers.gcc.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Compiler; 11 | Identifier = com.apple.compilers.gcc; 12 | Name = "Default Compiler"; 13 | 14 | InputFileTypes = ( 15 | "sourcecode.asm", 16 | "sourcecode.c.c", 17 | "sourcecode.c.objc", 18 | "sourcecode.cpp.cpp", 19 | "sourcecode.cpp.objcpp", 20 | ); 21 | SupportsHeadermaps = YES; 22 | SupportsIsysroot = NO; 23 | } 24 | -------------------------------------------------------------------------------- /Specifications/Compiler/com.apple.compilers.llvm.clang.1_0.analyzer.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Compiler; 11 | Identifier = com.apple.compilers.llvm.clang.1_0.analyzer; 12 | BasedOn = com.apple.compilers.llvm.clang.1_0; 13 | Name = "Static Analyzer"; 14 | 15 | RuleName = "Analyze $(InputPath)"; 16 | 17 | /* TODO: Complete. */ 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/Compiler/com.apple.compilers.llvm.clang.1_0.compiler.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Compiler; 11 | Identifier = com.apple.compilers.llvm.clang.1_0.compiler; 12 | BasedOn = com.apple.compilers.llvm.clang.1_0; 13 | 14 | ExecCPlusPlusLinkerPath = "clang++"; 15 | SupportsGenerateAssemblyFile = YES; 16 | SupportsGeneratePreprocessedFile = YES; 17 | DependencyInfoFile = "$(OutputDir)/$(OutputFileBase).d"; 18 | DependencyInfoArgs = ( 19 | "-MMD", 20 | "-MT", "dependencies", 21 | "-MF", "$(DependencyInfoFile)", 22 | ); 23 | } 24 | -------------------------------------------------------------------------------- /Specifications/Compiler/com.apple.compilers.llvm.clang.1_0.migrator.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Compiler; 11 | Identifier = com.apple.compilers.llvm.clang.1_0.migrator; 12 | BasedOn = com.apple.compilers.llvm.clang.1_0; 13 | Name = "Objective-C Migrator"; 14 | 15 | /* TODO: Complete. */ 16 | } 17 | -------------------------------------------------------------------------------- /Specifications/Compiler/com.apple.compilers.llvm.clang.1_0.migrator.xctest.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Compiler; 11 | Identifier = com.apple.compilers.llvm.clang.1_0.migrator.xctest; 12 | BasedOn = com.apple.compilers.llvm.clang.1_0; 13 | Name = "XCTest Migrator"; 14 | 15 | /* TODO: Complete. */ 16 | } 17 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.ar.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.ar; 12 | BasedOn = archive; 13 | 14 | UTI = "com.apple.mach-o-binary"; 15 | Extensions = ( 16 | "a", 17 | ); 18 | Prefix = ( 19 | "lib", 20 | ); 21 | IsLibrary = YES; 22 | IsStaticLibrary = YES; 23 | ContainsNativeCode = YES; 24 | } 25 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.asdictionary.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.asdictionary; 12 | BasedOn = archive; 13 | 14 | UTI = "com.apple.asdictionary-archive"; 15 | Extensions = ( 16 | "asdictionary", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.binhex.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.binhex; 12 | BasedOn = archive; 13 | 14 | UTI = "com.apple.binhex-archive"; 15 | Extensions = ( 16 | "hqx", 17 | ); 18 | MIMETypes = ( 19 | "application/mac-binhex40", 20 | "application/mac-binhex", 21 | "application/binhex", 22 | ); 23 | } 24 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.ear.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.ear; 12 | BasedOn = archive.jar; 13 | 14 | UTI = "com.sun.enterprise-archive"; 15 | Extensions = ( 16 | "ear", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.gzip.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.gzip; 12 | BasedOn = archive; 13 | 14 | UTI = "org.gnu.gnu-zip-archive"; 15 | Extensions = ( 16 | "gz", 17 | "gzip", 18 | ); 19 | MIMETypes = ( 20 | "application/gzip", 21 | "application/x-gzip", 22 | ); 23 | } 24 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.jar.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.jar; 12 | BasedOn = archive.zip; 13 | 14 | UTI = "com.sun.java-archive"; 15 | Extensions = ( 16 | "jar", 17 | ); 18 | MIMETypes = ( 19 | "application/java-archive", 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.macbinary.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.macbinary; 12 | BasedOn = archive; 13 | 14 | UTI = "com.apple.macbinary-archive"; 15 | Extensions = ( 16 | "bin", 17 | ); 18 | MIMETypes = ( 19 | "application/x-macbinary", 20 | "application/macbinary", 21 | ); 22 | TypeCodes = ( 23 | "BINA", 24 | ); 25 | } 26 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.metal-library.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.metal-library; 12 | BasedOn = archive; 13 | 14 | UTI = "com.apple.metal-library"; 15 | Extensions = ( 16 | "metallib", 17 | ); 18 | FallbackAutoroutingBuildPhase = "Resources"; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.ppob.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.ppob; 12 | BasedOn = archive.rsrc; 13 | 14 | UTI = "com.apple.ppob-archive"; 15 | Extensions = ( 16 | "ppob", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.rsrc.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.rsrc; 12 | BasedOn = archive; 13 | 14 | UTI = "com.apple.rsrc-archive"; 15 | Extensions = ( 16 | "rsrc", 17 | "view", 18 | ); 19 | TypeCodes = ( 20 | "rsrc", 21 | "RSRC", 22 | "view", 23 | "SF20", 24 | "aLib", 25 | "BAPd", 26 | ); 27 | FallbackAutoroutingBuildPhase = "Resources"; 28 | } 29 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.stuffit.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.stuffit; 12 | BasedOn = archive; 13 | 14 | UTI = "com.stuffit.archive.sit"; 15 | Extensions = ( 16 | "sit", 17 | "sitx", 18 | ); 19 | MIMETypes = ( 20 | "application/x-stuffit", 21 | "application/x-sit", 22 | "application/stuffit", 23 | ); 24 | } 25 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.tar.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.tar; 12 | BasedOn = archive; 13 | 14 | UTI = "public.tar-archive"; 15 | Extensions = ( 16 | "tar", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.war.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.war; 12 | BasedOn = archive.jar; 13 | 14 | UTI = "com.sun.web-application-archive"; 15 | Extensions = ( 16 | "war", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive; 12 | BasedOn = file; 13 | 14 | UTI = "public.archive"; 15 | IncludeInIndex = YES; 16 | } 17 | -------------------------------------------------------------------------------- /Specifications/FileType/archive.zip.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = archive.zip; 12 | BasedOn = archive; 13 | 14 | UTI = "public.zip-archive"; 15 | Extensions = ( 16 | "zip", 17 | ); 18 | MIMETypes = ( 19 | "application/zip", 20 | ); 21 | CanSetIncludeInIndex = YES; 22 | } 23 | -------------------------------------------------------------------------------- /Specifications/FileType/audio.aiff.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = audio.aiff; 12 | BasedOn = audio; 13 | 14 | UTI = "public.aiff-audio"; 15 | Extensions = ( 16 | "aiff", 17 | "aif", 18 | "cdda", 19 | ); 20 | TypeCodes = ( 21 | "AIFF", 22 | ); 23 | MIMETypes = ( 24 | "audio/aiff", 25 | "audio/x-aiff", 26 | ); 27 | } 28 | -------------------------------------------------------------------------------- /Specifications/FileType/audio.au.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = audio.au; 12 | BasedOn = audio; 13 | 14 | UTI = "public.au-audio"; 15 | Extensions = ( 16 | "au", 17 | ); 18 | MIMETypes = ( 19 | "audio/basic", 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/audio.midi.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = audio.midi; 12 | BasedOn = audio; 13 | 14 | UTI = "public.midi-audio"; 15 | Extensions = ( 16 | "mid", 17 | "midi", 18 | ); 19 | MIMETypes = ( 20 | "audio/midi", 21 | ); 22 | } 23 | -------------------------------------------------------------------------------- /Specifications/FileType/audio.mp3.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = audio.mp3; 12 | BasedOn = audio; 13 | 14 | UTI = "public.mp3"; 15 | Extensions = ( 16 | "mp3", 17 | ); 18 | TypeCodes = ( 19 | "MPG3", 20 | "mpg3", 21 | "Mp3 ", 22 | "MP3 ", 23 | "mp3!", 24 | "MP3!", 25 | ); 26 | MIMETypes = ( 27 | "audio/mpeg", 28 | "audio/mpeg3", 29 | "audio/mpg", 30 | "audio/mp3", 31 | "audio/x-mpeg", 32 | "audio/x-mpeg3", 33 | "audio/x-mpg", 34 | "audio/x-mp3", 35 | ); 36 | } 37 | -------------------------------------------------------------------------------- /Specifications/FileType/audio.wav.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = audio.wav; 12 | BasedOn = audio; 13 | 14 | UTI = "com.microsoft.waveform-audio"; 15 | Extensions = ( 16 | "wav", 17 | "wave", 18 | ); 19 | TypeCodes = ( 20 | ".WAV", 21 | "WAVE", 22 | "WAV ", 23 | ); 24 | MIMETypes = ( 25 | "audio/wav", 26 | "audio/wave", 27 | ); 28 | } 29 | -------------------------------------------------------------------------------- /Specifications/FileType/audio.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = audio; 12 | BasedOn = file; 13 | 14 | UTI = "public.audio"; 15 | } 16 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.air.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.air; 12 | BasedOn = compiled; 13 | 14 | UTI = "com.apple.air"; 15 | Extensions = ( 16 | "air", 17 | ); 18 | AppliesToBuildRules = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.cfm.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.cfm; 12 | BasedOn = compiled; 13 | 14 | UTI = "com.apple.cfm"; 15 | } 16 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.javaclass.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.javaclass; 12 | BasedOn = compiled; 13 | 14 | UTI = "com.sun.java-class"; 15 | Extensions = ( 16 | "class", 17 | ); 18 | IncludeInIndex = YES; 19 | CanSetIncludeInIndex = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.mach-o.bundle.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.mach-o.bundle; 12 | BasedOn = compiled.mach-o; 13 | 14 | UTI = "com.apple.mach-o-bundle"; 15 | CodeSignOnCopy = YES; 16 | AppliesToBuildRules = NO; 17 | } 18 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.mach-o.corefile.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.mach-o.corefile; 12 | BasedOn = compiled.mach-o; 13 | 14 | UTI = "com.apple.mach-o-core"; 15 | AppliesToBuildRules = NO; 16 | } 17 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.mach-o.dylib.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.mach-o.dylib; 12 | BasedOn = compiled.mach-o; 13 | 14 | UTI = "com.apple.mach-o-dylib"; 15 | Extensions = ( 16 | "dylib", 17 | ); 18 | IsLibrary = YES; 19 | IsDynamicLibrary = YES; 20 | CodeSignOnCopy = YES; 21 | AppliesToBuildRules = NO; 22 | } 23 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.mach-o.dylinker.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.mach-o.dylinker; 12 | BasedOn = compiled.mach-o; 13 | 14 | AppliesToBuildRules = NO; 15 | } 16 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.mach-o.executable.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.mach-o.executable; 12 | BasedOn = compiled.mach-o; 13 | 14 | UTI = "com.apple.mach-o-executable"; 15 | IsExecutable = YES; 16 | CodeSignOnCopy = YES; 17 | AppliesToBuildRules = NO; 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.mach-o.fvmlib.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.mach-o.fvmlib; 12 | BasedOn = compiled.mach-o; 13 | 14 | UTI = "com.apple.mach-o-fvmlib"; 15 | AppliesToBuildRules = NO; 16 | } 17 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.mach-o.objfile.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.mach-o.objfile; 12 | BasedOn = compiled.mach-o; 13 | 14 | UTI = "com.apple.mach-o-object"; 15 | Extensions = ( 16 | "o", 17 | ); 18 | AppliesToBuildRules = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.mach-o.preload.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.mach-o.preload; 12 | BasedOn = compiled.mach-o; 13 | 14 | UTI = "com.apple.mach-o-preload"; 15 | AppliesToBuildRules = NO; 16 | } 17 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.mach-o.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.mach-o; 12 | BasedOn = compiled; 13 | 14 | UTI = "public.object-code"; 15 | ContainsNativeCode = YES; 16 | AppliesToBuildRules = YES; 17 | } 18 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.rcx.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled.rcx; 12 | BasedOn = compiled; 13 | 14 | UTI = "com.lego.rcx"; 15 | Extensions = ( 16 | "rcx", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/compiled.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = compiled; 12 | BasedOn = file; 13 | 14 | UTI = "public.data"; 15 | } 16 | -------------------------------------------------------------------------------- /Specifications/FileType/file.bplist.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = file.bplist; 12 | BasedOn = file; 13 | 14 | UTI = "com.apple.binary-property-list"; 15 | MagicWord = ( 16 | "bplist00", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/file.playground.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = file.playground; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.dt.playground"; 15 | Extensions = ( 16 | "playground", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/file.scp.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = file.scp; 12 | BasedOn = file; 13 | 14 | UTI = "com.apple.scenekit.particlesystem"; 15 | Extensions = ( 16 | "scnp", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/file.sks.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = file.sks; 12 | BasedOn = file; 13 | 14 | UTI = "com.apple.spritekit.serialized"; 15 | Extensions = ( 16 | "sks", 17 | ); 18 | IsTransparent = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/file.storyboard.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = file.storyboard; 12 | BasedOn = file; 13 | 14 | UTI = "com.apple.dt.interfacebuilder.document.storyboard"; 15 | Extensions = ( 16 | "storyboard", 17 | ); 18 | IncludeInIndex = YES; 19 | CanSetIncludeInIndex = YES; 20 | AppliesToBuildRules = YES; 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/file.swiftpm-manifest.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = file.swiftpm-manifest; 12 | BasedOn = sourcecode.swift; 13 | 14 | UTI = "com.apple.dt.swiftpm.manifest"; 15 | IsProjectWrapper = YES; 16 | AppliesToBuildRules = NO; 17 | } 18 | -------------------------------------------------------------------------------- /Specifications/FileType/file.uicatalog.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = file.uicatalog; 12 | BasedOn = file; 13 | 14 | UTI = "com.apple.uicatalog"; 15 | Extensions = ( 16 | "uicatalog", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/file.xcplaygroundpage.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = file.xcplaygroundpage; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.dt.playgroundpage"; 15 | Extensions = ( 16 | "xcplaygroundpage", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/file.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = file; 12 | 13 | UTI = "public.data"; 14 | MIMETypes = ( 15 | "application/x-octet-stream", 16 | ); 17 | } 18 | -------------------------------------------------------------------------------- /Specifications/FileType/file.xib.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = file.xib; 12 | BasedOn = file; 13 | 14 | UTI = "com.apple.interfacebuilder.document.cocoa"; 15 | Extensions = ( 16 | "xib", 17 | ); 18 | IncludeInIndex = YES; 19 | CanSetIncludeInIndex = YES; 20 | AppliesToBuildRules = YES; 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/folder.abstractassetcatalog.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = folder.abstractassetcatalog; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.dt.abstractassetcatalog"; 15 | IsTransparent = NO; 16 | } 17 | 18 | -------------------------------------------------------------------------------- /Specifications/FileType/folder.assetcatalog.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = folder.assetcatalog; 12 | BasedOn = folder.abstractassetcatalog; 13 | 14 | UTI = "com.apple.dt.assetcatalog"; 15 | Extensions = ( 16 | "xcassets", 17 | ); 18 | IsTransparent = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/folder.iconset.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = folder.iconset; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.iconset"; 15 | Extensions = ( 16 | "iconset", 17 | ); 18 | IsTransparent = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/folder.imagecatalog.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = folder.imagecatalog; 12 | BasedOn = folder.assetcatalog; 13 | 14 | UTI = "com.apple.imagecatalog"; 15 | Extensions = ( 16 | "imagecatalog", 17 | ); 18 | IsTransparent = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/folder.skatlas.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = folder.skatlas; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.spritekit-atlas"; 15 | Extensions = ( 16 | "atlas", 17 | ); 18 | IsTransparent = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/folder.stickers.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = folder.stickers; 12 | BasedOn = folder.abstractassetcatalog; 13 | 14 | UTI = "com.apple.dt.stickers"; 15 | Extensions = ( 16 | "xcstickers", 17 | ); 18 | IsTransparent = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/folder.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = folder; 12 | 13 | UTI = "public.directory"; 14 | IsFolder = YES; 15 | IsTransparent = YES; 16 | IncludeInIndex = YES; 17 | CanSetIncludeInIndex = YES; 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/image.bmp.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = image.bmp; 12 | BasedOn = image; 13 | 14 | UTI = "com.microsoft.bmp"; 15 | Extensions = ( 16 | "bmp", 17 | ); 18 | MIMETypes = ( 19 | "image/bmp", 20 | "image/x-ms-bmp", 21 | "image/x-windows-bmp", 22 | ); 23 | TypeCodes = ( 24 | "BMP ", 25 | "BMPf", 26 | ); 27 | } 28 | -------------------------------------------------------------------------------- /Specifications/FileType/image.gif.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = image.gif; 12 | BasedOn = image; 13 | 14 | UTI = "com.compuserve.gif"; 15 | Extensions = ( 16 | "gif", 17 | ); 18 | MIMETypes = ( 19 | "image/gif", 20 | ); 21 | TypeCodes = ( 22 | "GIFf", 23 | ); 24 | } 25 | -------------------------------------------------------------------------------- /Specifications/FileType/image.icns.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = image.icns; 12 | BasedOn = image; 13 | 14 | UTI = "com.apple.icns"; 15 | Extensions = ( 16 | "icns", 17 | ); 18 | TypeCodes = ( 19 | "icns", 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/image.ico.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = image.ico; 12 | BasedOn = image; 13 | 14 | UTI = "com.microsoft.ico"; 15 | Extensions = ( 16 | "ico", 17 | ); 18 | MIMETypes = ( 19 | "image/x-icon", 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/image.jpeg.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = image.jpeg; 12 | BasedOn = image; 13 | 14 | UTI = "public.jpeg"; 15 | Extensions = ( 16 | "jpg", 17 | "jpeg", 18 | ); 19 | MIMETypes = ( 20 | "image/jpeg", 21 | ); 22 | TypeCodes = ( 23 | "JPEG", 24 | ); 25 | } 26 | -------------------------------------------------------------------------------- /Specifications/FileType/image.pdf.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = image.pdf; 12 | BasedOn = image; 13 | 14 | UTI = "com.adobe.pdf"; 15 | Extensions = ( 16 | "pdf", 17 | ); 18 | MIMETypes = ( 19 | "application/pdf", 20 | ); 21 | TypeCodes = ( 22 | "PDF ", 23 | ); 24 | } 25 | -------------------------------------------------------------------------------- /Specifications/FileType/image.pict.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = image.pict; 12 | BasedOn = image; 13 | 14 | UTI = "com.apple.pict"; 15 | Extensions = ( 16 | "pct", 17 | "pic", 18 | "pict", 19 | ); 20 | MIMETypes = ( 21 | "image/pict", 22 | "image/x-pict", 23 | "image/x-macpict", 24 | ); 25 | TypeCodes = ( 26 | "PICT", 27 | ); 28 | } 29 | -------------------------------------------------------------------------------- /Specifications/FileType/image.png.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = image.png; 12 | BasedOn = image; 13 | 14 | UTI = "public.png"; 15 | Extensions = ( 16 | "png", 17 | ); 18 | MIMETypes = ( 19 | "image/png", 20 | ); 21 | TypeCodes = ( 22 | "PNG ", 23 | "PNGf", 24 | ); 25 | } 26 | -------------------------------------------------------------------------------- /Specifications/FileType/image.tiff.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = image.tiff; 12 | BasedOn = image; 13 | 14 | UTI = "public.tiff"; 15 | Extensions = ( 16 | "tif", 17 | "tiff", 18 | ); 19 | MIMETypes = ( 20 | "image/tiff", 21 | ); 22 | TypeCodes = ( 23 | "TIFF", 24 | ); 25 | } 26 | -------------------------------------------------------------------------------- /Specifications/FileType/image.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = image; 12 | BasedOn = file; 13 | 14 | UTI = "public.image"; 15 | } 16 | -------------------------------------------------------------------------------- /Specifications/FileType/net.daringfireball.markdown.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = net.daringfireball.markdown; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "net.daringfireball.markdown"; 15 | MIMETypes = ( 16 | "text/markdown", 17 | "text/x-markdown", 18 | ); 19 | Extensions = ( 20 | "md", 21 | "mdown", 22 | "markdown", 23 | ); 24 | } 25 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.ada.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.ada; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.ada-source"; 15 | Extensions = ( 16 | "ada", 17 | "adb", 18 | "ads", 19 | ); 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.applescript.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.applescript; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "com.apple.applescript.text"; 15 | Extensions = ( 16 | "applescript", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.asm.asm.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.asm.asm; 12 | BasedOn = sourcecode.asm; 13 | 14 | UTI = "public.ppc-assembly-source"; 15 | Extensions = ( 16 | "asm", 17 | ); 18 | GccDialectName = "assembler-with-cpp"; 19 | AppliesToBuildRules = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.asm.llvm.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.asm.llvm; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.llvm-assembly-source"; 15 | Extensions = ( 16 | "ll", 17 | "llx", 18 | ); 19 | AppliesToBuildRules = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.asm.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.asm; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.assembly-source"; 15 | Extensions = ( 16 | "s", 17 | ); 18 | GccDialectName = "assembler-with-cpp"; 19 | AppliesToBuildRules = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.c.c.preprocessed.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.c.c.preprocessed; 12 | BasedOn = sourcecode.c.c; 13 | 14 | UTI = "public.c-source.preprocessed"; 15 | Extensions = ( 16 | "i", 17 | ); 18 | IsPreprocessed = YES; 19 | AppliesToBuildRules = NO; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.c.c.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.c.c; 12 | BasedOn = sourcecode.c; 13 | 14 | UTI = "public.c-source"; 15 | Extensions = ( 16 | "c", 17 | ); 18 | AppliesToBuildRules = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.c.h.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.c.h; 12 | BasedOn = sourcecode.c; 13 | 14 | UTI = "public.c-header"; 15 | Extensions = ( 16 | "h", 17 | "pch", 18 | ); 19 | AppliesToBuildRules = NO; 20 | IncludeInIndex = NO; 21 | CanSetIncludeInIndex = NO; 22 | } 23 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.c.objc.preprocessed.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.c.objc.preprocessed; 12 | BasedOn = sourcecode.c.objc; 13 | 14 | UTI = "public.objective-c-source.preprocessed"; 15 | Extensions = ( 16 | "mi", 17 | ); 18 | IsPreprocessed = YES; 19 | AppliesToBuildRules = NO; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.c.objc.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.c.objc; 12 | BasedOn = sourcecode.c; 13 | 14 | UTI = "public.objective-c-source"; 15 | Extensions = ( 16 | "m", 17 | ); 18 | GccDialectName = "objective-c"; 19 | AppliesToBuildRules = NO; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.c.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.c; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.c-source"; 15 | GccDialectName = "c"; 16 | IsScannedForIncludes = YES; 17 | CanSetIncludeInIndex = YES; 18 | AppliesToBuildRules = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.cpp.cpp.preprocessed.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.cpp.cpp.preprocessed; 12 | BasedOn = sourcecode.cpp.cpp; 13 | 14 | UTI = "public.c-plus-plus-source.preprocessed"; 15 | Extensions = ( 16 | "ii", 17 | ); 18 | IsPreprocessed = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.cpp.cpp.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.cpp.cpp; 12 | BasedOn = sourcecode.cpp; 13 | 14 | UTI = "public.c-plus-plus-source"; 15 | Extensions = ( 16 | "C", 17 | "cc", 18 | "cp", 19 | "cpp", 20 | "cxx", 21 | "c++", 22 | "tcc", 23 | ); 24 | AppliesToBuildRules = NO; 25 | } 26 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.cpp.h.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.cpp.h; 12 | BasedOn = sourcecode.cpp; 13 | 14 | UTI = "public.c-plus-plus-header"; 15 | Extensions = ( 16 | "H", 17 | "hh", 18 | "hp", 19 | "hpp", 20 | "hxx", 21 | "h++", 22 | "ipp", 23 | "pch++", 24 | ); 25 | IncludeInIndex = NO; 26 | CanSetIncludeInIndex = NO; 27 | AppliesToBuildRules = NO; 28 | } 29 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.cpp.objcpp.preprocessed.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.cpp.objcpp.preprocessed; 12 | BasedOn = sourcecode.cpp.objcpp; 13 | 14 | UTI = "public.objective-c-plus-plus-source.preprocessed"; 15 | Extensions = ( 16 | "mii", 17 | ); 18 | IsPreprocessed = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.cpp.objcpp.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.cpp.objcpp; 12 | BasedOn = sourcecode.cpp; 13 | 14 | UTI = "public.objective-c-plus-plus-source"; 15 | Extensions = ( 16 | "M", 17 | "mm", 18 | ); 19 | GccDialectName = "objective-c++"; 20 | AppliesToBuildRules = NO; 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.cpp.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.cpp; 12 | BasedOn = sourcecode.c; 13 | 14 | UTI = "public.c-plus-plus-source"; 15 | GccDialectName = "c++"; 16 | AppliesToBuildRules = YES; 17 | } 18 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.dtrace.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.dtrace; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.dtrace-source"; 15 | Extensions = ( 16 | "d", 17 | ); 18 | AppliesToBuildRules = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.dylan.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.dylan; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.dylan-source"; 15 | Extensions = ( 16 | "lid", 17 | "dylan", 18 | ); 19 | AppliesToBuildRules = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.exports.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.exports; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "com.apple.symbol-export"; 15 | Extensions = ( 16 | "exp", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.fortran.f77.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.fortran.f77; 12 | BasedOn = sourcecode.fortran; 13 | 14 | UTI = "public.fortran-77-source"; 15 | Extensions = ( 16 | "f77", 17 | ); 18 | AppliesToBuildRules = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.fortran.f90.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.fortran.f90; 12 | BasedOn = sourcecode.fortran; 13 | 14 | UTI = "public.fortran-90-source"; 15 | Extensions = ( 16 | "f90", 17 | "f95", 18 | ); 19 | AppliesToBuildRules = NO; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.fortran.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.fortran; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.fortran-source"; 15 | Extensions = ( 16 | "f", 17 | "for", 18 | ); 19 | GccDialectName = "fortran"; 20 | AppliesToBuildRules = YES; 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.glsl.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.glsl; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "org.khronos.glsl-source"; 15 | Extensions = ( 16 | "glsl", 17 | "ctrl", 18 | "eval", 19 | 20 | /* Fragment shaders. */ 21 | "fs", 22 | "fsh", 23 | "frag", 24 | "fragment", 25 | 26 | /* Vertex shaders. */ 27 | "vs", 28 | "vsh", 29 | "vert", 30 | "vertex", 31 | 32 | /* Geometry shaders. */ 33 | "gs", 34 | "gsh", 35 | "geom", 36 | "geometry", 37 | ); 38 | AppliesToBuildRules = YES; 39 | } 40 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.jam.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.jam; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.jam-source"; 15 | FilenamePatterns = ( 16 | "Jamfile", 17 | "*Jambase", 18 | ); 19 | Extensions = ( 20 | "jam", 21 | ); 22 | } 23 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.java.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.java; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "com.sun.java-source"; 15 | Extensions = ( 16 | "java", 17 | ); 18 | CanSetIncludeInIndex = YES; 19 | AppliesToBuildRules = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.javascript.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.javascript; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "com.netscape.javascript-source"; 15 | MIMETypes = ( 16 | "text/javascript", 17 | ); 18 | Extensions = ( 19 | "js", 20 | "jscript", 21 | "javascript", 22 | ); 23 | } 24 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.lex.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.lex; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.lex-source"; 15 | Extensions = ( 16 | "l", 17 | "lm", 18 | "lmm", 19 | "lp", 20 | "lpp", 21 | "lxx", 22 | ); 23 | AppliesToBuildRules = YES; 24 | } 25 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.make.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.make; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.make-source"; 15 | FilenamePatterns = ( 16 | "Makefile", 17 | "makefile", 18 | ); 19 | Extensions = ( 20 | "mk", 21 | "mak", 22 | "make", 23 | "gmk", 24 | ); 25 | RequiresHardTabs = YES; 26 | } 27 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.metal.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.metal; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "com.apple.metal"; 15 | Extensions = ( 16 | "metal", 17 | ); 18 | AppliesToBuildRules = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.mig.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.mig; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.mig-source"; 15 | Extensions = ( 16 | "defs", 17 | "mig", 18 | ); 19 | AppliesToBuildRules = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.module-map.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.module-map; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.module-map"; 15 | Extensions = ( 16 | "map", 17 | "modulemap", 18 | ); 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.nasm.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.nasm; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.nasm-assembly-source"; 15 | Extensions = ( 16 | "nasm", 17 | ); 18 | AppliesToBuildRules = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.nqc.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.nqc; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "com.lego.nqc-source"; 15 | Extensions = ( 16 | "nqc", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.opencl.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.opencl; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.opencl-source"; 15 | Extensions = ( 16 | "cl", 17 | ); 18 | IsScannedForIncludes = YES; 19 | AppliesToBuildRules = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.pascal.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.pascal; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.pascal-source"; 15 | Extensions = ( 16 | "p", 17 | "pp", 18 | "pas", 19 | ); 20 | AppliesToBuildRules = YES; 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.rez.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.rez; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "com.apple.rez-source"; 15 | Extensions = ( 16 | "r", 17 | "rez", 18 | ); 19 | IsScannedForIncludes = YES; 20 | AppliesToBuildRules = YES; 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.swift.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.swift; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.swift-source"; 15 | Extensions = ( 16 | "swift", 17 | ); 18 | IsSwiftSourceCode = YES; 19 | IsScannedForIncludes = NO; 20 | CanSetIncludeInIndex = YES; 21 | AppliesToBuildRules = YES; 22 | } 23 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.text-based-dylib-definition.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.text-based-dylib-definition; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "com.apple.text-based-dylib"; 15 | Extensions = ( 16 | "tbd", 17 | ); 18 | IsLibrary = YES; 19 | IsDynamicLibrary = YES; 20 | AppliesToBuildRules = NO; 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode; 12 | BasedOn = text; 13 | 14 | UTI = "public.source-code"; 15 | IsSourceCode = YES; 16 | IncludeInIndex = YES; 17 | } 18 | -------------------------------------------------------------------------------- /Specifications/FileType/sourcecode.yacc.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = sourcecode.yacc; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "public.yacc-source"; 15 | Extensions = ( 16 | "y", 17 | "ym", 18 | "ymm", 19 | "yp", 20 | "ypp", 21 | "yxx", 22 | ); 23 | AppliesToBuildRules = YES; 24 | } 25 | -------------------------------------------------------------------------------- /Specifications/FileType/text.css.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.css; 12 | BasedOn = text; 13 | 14 | UTI = "public.css"; 15 | MIMETypes = ( 16 | "text/css", 17 | ); 18 | Extensions = ( 19 | "css", 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/text.html.documentation.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.html.documentation; 12 | BasedOn = text.html; 13 | 14 | IsDocumentation = YES; 15 | } 16 | -------------------------------------------------------------------------------- /Specifications/FileType/text.html.other.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.html.other; 12 | BasedOn = text.html; 13 | 14 | Extensions = ( 15 | "shtm", 16 | "shtml", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.html.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.html; 12 | BasedOn = text; 13 | 14 | UTI = "public.html"; 15 | MIMETypes = ( 16 | "text/html", 17 | ); 18 | Extensions = ( 19 | "htm", 20 | "html", 21 | ); 22 | } 23 | -------------------------------------------------------------------------------- /Specifications/FileType/text.json.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.json; 12 | BasedOn = text; 13 | 14 | UTI = "public.json"; 15 | MIMETypes = ( 16 | "application/json", 17 | ); 18 | Extensions = ( 19 | "json", 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/text.man.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.man; 12 | BasedOn = text; 13 | 14 | UTI = "com.apple.xcode.manualpage"; 15 | Extensions = ( 16 | "1", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.pbxproject.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.pbxproject; 12 | BasedOn = text; 13 | 14 | UTI = "com.apple.xcode.projectdata"; 15 | Extensions = ( 16 | "pbxproj", 17 | ); 18 | FilenamePatterns = ( 19 | "project.pbxproj", 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.entitlements.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.entitlements; 12 | BasedOn = text.plist; 13 | 14 | UTI = "com.apple.xcode.entitlements-property-list"; 15 | Extensions = ( 16 | "entitlements", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.ibClassDescription.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.ibClassDescription; 12 | BasedOn = text.plist; 13 | 14 | UTI = "com.apple.dt.document.interface-builder.class-description-property-list"; 15 | Extensions = ( 16 | "classdescription", 17 | "classdescriptions", 18 | ); 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.info.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.info; 12 | BasedOn = text.plist.xml; 13 | 14 | UTI = "com.apple.xml-property-list.info"; 15 | FilenamePatterns = ( 16 | "*Info*.plist", 17 | ); 18 | ChangesCauseDependencyGraphInvalidation = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.pbfilespec.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.pbfilespec; 12 | BasedOn = text.plist; 13 | 14 | UTI = "com.apple.xcode.pbfilespec-property-list"; 15 | Extensions = ( 16 | "pbfilespec", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.pblangspec.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.pblangspec; 12 | BasedOn = text.plist; 13 | 14 | UTI = "com.apple.projectbuilder.pblangspec-property-list"; 15 | Extensions = ( 16 | "pblangspec", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.scriptSuite.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.scriptSuite; 12 | BasedOn = text.plist; 13 | 14 | UTI = "com.apple.dt.document.script-suite-property-list"; 15 | Extensions = ( 16 | "scriptSuite", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.scriptTerminology.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.scriptTerminology; 12 | BasedOn = text.plist; 13 | 14 | UTI = "com.apple.dt.document.script-terminology-property-list"; 15 | Extensions = ( 16 | "scriptTerminology", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.strings.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.strings; 12 | BasedOn = text; /* NOTE: Not text.plist. */ 13 | 14 | UTI = "com.apple.xcode.strings-text"; 15 | Extensions = ( 16 | strings, 17 | ); 18 | AppliesToBuildRules = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.stringsdict.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.stringsdict; 12 | BasedOn = text; /* NOTE: Not text.plist. */ 13 | 14 | UTI = "com.apple.xcode.strings-text"; 15 | Extensions = ( 16 | stringsdict, 17 | ); 18 | AppliesToBuildRules = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.xcbuildrules.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.xcbuildrules; 12 | BasedOn = text.plist; 13 | 14 | UTI = "com.apple.xcode.xcbuildrules-property-list"; 15 | Extensions = ( 16 | "xcbuildrules", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.xclangspec.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.xclangspec; 12 | BasedOn = text.plist; 13 | 14 | UTI = "com.apple.xcode.xclangspec-property-list"; 15 | Extensions = ( 16 | "xclangspec", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist; 12 | BasedOn = text; 13 | 14 | UTI = "com.apple.property-list"; 15 | Extensions = ( 16 | "plist", 17 | "dict", 18 | ); 19 | MIMETypes = ( 20 | "text/x-plist", 21 | ); 22 | } 23 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.xcspec.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.xcspec; 12 | BasedOn = text.plist; 13 | 14 | UTI = "com.apple.xcode.xcspec-property-list"; 15 | Extensions = ( 16 | "xcspec", 17 | ); 18 | AppliesToBuildRules = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.xcsynspec.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.xcsynspec; 12 | BasedOn = text.plist; 13 | 14 | UTI = "com.apple.xcode.xcsynspec-property-list"; 15 | Extensions = ( 16 | "xcsynspec", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.xctxtmacro.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.xctxtmacro; 12 | BasedOn = text.plist; 13 | 14 | UTI = "com.apple.xcode.xctxtmacro-property-list"; 15 | Extensions = ( 16 | "xctxtmacro", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.plist.xml.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.plist.xml; 12 | BasedOn = text.plist; 13 | 14 | UTI = "com.apple.xml-property-list"; 15 | } 16 | -------------------------------------------------------------------------------- /Specifications/FileType/text.rtf.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.rtf; 12 | BasedOn = text; 13 | 14 | UTI = "public.rtf"; 15 | Extensions = ( 16 | "rtf", 17 | ); 18 | TypeCodes = ( 19 | "RTF ", 20 | ); 21 | MIMETypes = ( 22 | "text/rtf", 23 | "application/rtf", 24 | ); 25 | } 26 | -------------------------------------------------------------------------------- /Specifications/FileType/text.script.csh.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.script.csh; 12 | BasedOn = text.script; 13 | 14 | UTI = "public.csh-script"; 15 | Extensions = ( 16 | "csh", 17 | ); 18 | MIMETypes = ( 19 | "text/x-csh-script", 20 | ); 21 | MagicWord = ( 22 | "#!/bin/csh", 23 | "#! /bin/csh", 24 | "#!/bin/tcsh", 25 | "#! /bin/tcsh", 26 | "#!/usr/local/bin/csh", 27 | "#! /usr/local/bin/csh", 28 | "#!/usr/local/bin/tcsh", 29 | "#! /usr/local/bin/tcsh", 30 | ); 31 | IsExecutable = YES; 32 | } 33 | -------------------------------------------------------------------------------- /Specifications/FileType/text.script.perl.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.script.perl; 12 | BasedOn = text.script; 13 | 14 | UTI = "public.perl-script"; 15 | Extensions = ( 16 | "pl", 17 | "pm", 18 | "perl", 19 | ); 20 | MIMETypes = ( 21 | "text/x-perl-script", 22 | ); 23 | MagicWord = ( 24 | "#!/bin/perl", 25 | "#! /bin/perl", 26 | "#!/usr/bin/perl", 27 | "#! /usr/bin/perl", 28 | "#!/usr/local/bin/perl", 29 | "#! /usr/local/bin/perl", 30 | ); 31 | IsExecutable = YES; 32 | } 33 | -------------------------------------------------------------------------------- /Specifications/FileType/text.script.php.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.script.php; 12 | BasedOn = text.script; 13 | 14 | UTI = "public.php-script"; 15 | Extensions = ( 16 | "php", 17 | "php3", 18 | "php4", 19 | "php5", 20 | "phtml", 21 | ); 22 | MIMETypes = ( 23 | "text/php", 24 | "text/x-php-script", 25 | "application/php", 26 | ); 27 | MagicWord = ( 28 | "#!/bin/php", 29 | "#! /bin/php", 30 | "#!/usr/bin/php", 31 | "#! /usr/bin/php", 32 | "#!/usr/local/bin/php", 33 | "#! /usr/local/bin/php", 34 | ); 35 | } 36 | -------------------------------------------------------------------------------- /Specifications/FileType/text.script.python.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.script.python; 12 | BasedOn = text.script; 13 | 14 | UTI = "public.python-script"; 15 | Extensions = ( 16 | "py", 17 | ); 18 | MIMETypes = ( 19 | "text/x-python-script", 20 | ); 21 | MagicWord = ( 22 | "#!/bin/python", 23 | "#! /bin/python", 24 | "#!/usr/bin/python", 25 | "#! /usr/bin/python", 26 | "#!/usr/local/bin/python", 27 | "#! /usr/local/bin/python", 28 | ); 29 | } 30 | -------------------------------------------------------------------------------- /Specifications/FileType/text.script.ruby.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.script.ruby; 12 | BasedOn = text.script; 13 | 14 | UTI = "public.ruby-script"; 15 | Extensions = ( 16 | "rb", 17 | "rbw", 18 | ); 19 | MIMETypes = ( 20 | "text/ruby-script", 21 | ); 22 | MagicWord = ( 23 | "#!/bin/ruby", 24 | "#! /bin/ruby", 25 | "#!/usr/bin/ruby", 26 | "#! /usr/bin/ruby", 27 | "#!/usr/local/bin/ruby", 28 | "#! /usr/local/bin/ruby", 29 | ); 30 | IsExecutable = YES; 31 | } 32 | -------------------------------------------------------------------------------- /Specifications/FileType/text.script.sh.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.script.sh; 12 | BasedOn = text.script; 13 | 14 | UTI = "public.bash-script"; 15 | Extensions = ( 16 | "sh", 17 | "command", 18 | ); 19 | MIMETypes = ( 20 | "text/x-sh-script", 21 | ); 22 | MagicWord = ( 23 | "#!/bin/sh", 24 | "#! /bin/sh", 25 | "#!/bin/bash", 26 | "#! /bin/bash", 27 | "#!/bin/zsh", 28 | "#! /bin/zsh", 29 | "#!/usr/local/bin/bash", 30 | "#! /usr/local/bin/bash", 31 | "#!/usr/local/bin/zsh", 32 | "#! /usr/local/bin/zsh", 33 | ); 34 | IsExecutable = YES; 35 | } 36 | -------------------------------------------------------------------------------- /Specifications/FileType/text.script.worksheet.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.script.worksheet; 12 | BasedOn = text.script; 13 | 14 | UTI = "com.apple.worksheet-script"; 15 | Extensions = ( 16 | "worksheet", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.script.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.script; 12 | BasedOn = text; 13 | 14 | UTI = "public.shell-script"; 15 | Permissions = "executable"; 16 | MIMETypes = ( 17 | "text/x-script", 18 | ); 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/text.xcconfig.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.xcconfig; 12 | BasedOn = text; 13 | 14 | UTI = "com.apple.xcode.configsettings"; 15 | Extensions = ( 16 | "xcconfig", 17 | ); 18 | IsBuildPropertiesFile = YES; 19 | ChangesCauseDependencyGraphInvalidation = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/text.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text; 12 | BasedOn = file; 13 | 14 | UTI = "public.plain-text"; 15 | Extensions = ( 16 | txt, 17 | "", 18 | ); 19 | MIMETypes = ( 20 | "text/plain", 21 | ); 22 | TypeCodes = ( 23 | "TEXT", 24 | ); 25 | IsTextFile = YES; 26 | } 27 | -------------------------------------------------------------------------------- /Specifications/FileType/text.xml.dae.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.xml.dae; 12 | BasedOn = text.xml; 13 | 14 | UTI = "org.khronos.collada.digital-asset-exchange"; 15 | Extensions = ( 16 | "dae", 17 | ); 18 | MIMETypes = ( 19 | "model/vnd.collada+xml", 20 | ); 21 | AppliesToBuildRules = YES; 22 | } 23 | -------------------------------------------------------------------------------- /Specifications/FileType/text.xml.ibArchivingDescription.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.xml.ibArchivingDescription; 12 | BasedOn = text.xml; 13 | 14 | UTI = "com.apple.dt.document.interface-builder.archiving-description-xml"; 15 | Extensions = ( 16 | "archivingdescription", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/text.xml.ibCodingDescription.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = text.xml.ibCodingDescription; 12 | BasedOn = text.xml; 13 | 14 | UTI = "com.apple.dt.document.interface-builder.coding-description-xml"; 15 | Extensions = ( 16 | "codingdescription", 17 | ); 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/video.avi.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = video.avi; 12 | BasedOn = video; 13 | 14 | UTI = "public.avi"; 15 | Extensions = ( 16 | "avi", 17 | ); 18 | MIMETypes = ( 19 | "video/avi", 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/video.mpeg.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = video.mpeg; 12 | BasedOn = video; 13 | 14 | UTI = "public.mpeg"; 15 | Extensions = ( 16 | "mpg", 17 | "mpeg", 18 | "m75", 19 | "m15", 20 | ); 21 | TypeCodes = ( 22 | "MPG ", 23 | "MPEG", 24 | ); 25 | MIMETypes = ( 26 | "video/mpg", 27 | "video/mpeg", 28 | "video/x-mpg", 29 | "video/x-mpeg", 30 | ); 31 | } 32 | -------------------------------------------------------------------------------- /Specifications/FileType/video.quartz-composer.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = video.quartz-composer; 12 | BasedOn = video; 13 | 14 | UTI = "com.apple.quartz-composer-composition"; 15 | Extensions = ( 16 | "qtz", 17 | ); 18 | MIMETypes = ( 19 | "application/x-quartzcomposer", 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/video.quicktime.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = video.quicktime; 12 | BasedOn = video; 13 | 14 | UTI = "com.apple.quicktime-movie"; 15 | Extensions = ( 16 | "mov", 17 | "moov", 18 | "qt", 19 | ); 20 | TypeCodes = ( 21 | "MooV", 22 | ); 23 | MIMETypes = ( 24 | "video/quicktime", 25 | ); 26 | } 27 | -------------------------------------------------------------------------------- /Specifications/FileType/video.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = video; 12 | BasedOn = file; 13 | 14 | UTI = "public.video"; 15 | } 16 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.app-extension.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.app-extension; 12 | BasedOn = wrapper.xpc-service; 13 | 14 | UTI = "com.apple.pluginkit"; 15 | Extensions = ( 16 | "appex", 17 | "pluginkit", 18 | ); 19 | IsTransparent = NO; 20 | IsEmbeddable = YES; 21 | IsExecutable = YES; 22 | CodeSignOnCopy = NO; 23 | ValidateOnCopy = YES; 24 | } 25 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.application.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.application; 12 | BasedOn = wrapper.cfbundle; 13 | 14 | UTI = "com.apple.application-bundle"; 15 | Extensions = ( 16 | "app", 17 | ); 18 | TypeCodes = ( 19 | "APPL", 20 | ); 21 | IsTransparent = NO; 22 | IsApplication = YES; 23 | IsEmbeddable = YES; 24 | IsExecutable = YES; 25 | IsExecutableWithGUI = YES; 26 | CodeSignOnCopy = NO; 27 | ValidateOnCopy = YES; 28 | } 29 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.cfbundle.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.cfbundle; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.xcode.cfbundle"; 15 | IsBundle = YES; 16 | IsEmbeddable = YES; 17 | CodeSignOnCopy = YES; 18 | RemoveHeadersOnCopy = YES; 19 | ContainsNativeCode = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.dsym.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.dsym; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.xcode.dsym"; 15 | Extensions = ( 16 | "dSYM", 17 | "dsym", 18 | ); 19 | IsTransparent = NO; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.framework.static.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.framework.static; 12 | BasedOn = wrapper.framework; 13 | 14 | UTI = "com.apple.framework"; 15 | IsFrameworkWrapper = YES; 16 | IsStaticFrameworkWrapper = YES; 17 | CodeSignOnCopy = NO; 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.framework.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.framework; 12 | BasedOn = wrapper.cfbundle; 13 | 14 | UTI = "com.apple.framework"; 15 | Extensions = ( 16 | "framework", 17 | ); 18 | TypeCodes = ( 19 | "FMWK", 20 | ); 21 | IsEmbeddable = YES; 22 | IsFrameworkWrapper = YES; 23 | } 24 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.htmld.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.htmld; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.htmld"; 15 | Extensions = ( 16 | "htmld", 17 | ); 18 | IsTransparent = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.installer-mpkg.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.installer-mpkg; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.installer-meta-package"; 15 | Extensions = ( 16 | "mpkg", 17 | ); 18 | IsTransparent = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.installer-pkg.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.installer-pkg; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.installer-package"; 15 | Extensions = ( 16 | "pkg", 17 | ); 18 | IsTransparent = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.java-classfolder.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.java-classfolder; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.java-class-folder"; 15 | IsTransparent = NO; 16 | } 17 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.kernel-extension.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.kernel-extension; 12 | BasedOn = wrapper.plug-in; 13 | 14 | UTI = "com.apple.plugin"; 15 | Extensions = ( 16 | "kext", 17 | ); 18 | TypeCodes = ( 19 | "KEXT", 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.nib.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.nib; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.interfacebuilder.document"; 15 | Extensions = ( 16 | "nib", 17 | "nib~", 18 | ); 19 | IsTransparent = NO; 20 | IncludeInIndex = YES; 21 | CanSetIncludeInIndex = YES; 22 | AppliesToBuildRules = YES; 23 | } 24 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.pb-project.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.pb-project; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.xcode.project"; 15 | Extensions = ( 16 | "xcodeproj", 17 | "xcode", 18 | ); 19 | IsProjectWrapper = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.pb-target.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.pb-target; 12 | BasedOn = wrapper.pb-project; 13 | 14 | UTI = "com.apple.xcode.target"; 15 | Extensions = ( 16 | "xctarget", 17 | ); 18 | IsTargetWrapper = YES; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.plug-in.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.plug-in; 12 | BasedOn = wrapper.cfbundle; 13 | 14 | UTI = "com.apple.bundle"; 15 | Extensions = ( 16 | "bundle", 17 | ); 18 | TypeCodes = ( 19 | "BNDL", 20 | ); 21 | } 22 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.rtfd.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.rtfd; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.rtfd"; 15 | Extensions = ( 16 | "rtfd", 17 | ); 18 | IsTransparent = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.scnassets.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.scnassets; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.scenekit.assetcatalog"; 15 | Extensions = ( 16 | "scnassets", 17 | ); 18 | IsTransparent = YES; 19 | IsWrapperFolder = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.spotlight-importer.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.spotlight-importer; 12 | BasedOn = wrapper.cfbundle; 13 | 14 | UTI = "com.apple.metadata-importer"; 15 | Extensions = ( 16 | "mdimporter", 17 | ); 18 | IsTransparent = NO; 19 | IsEmbeddable = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.storyboardc.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.storyboardc; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.dt.interfacebuilder.document.storyboard.package"; 15 | Extensions = ( 16 | "storyboardc", 17 | ); 18 | IsFolder = NO; 19 | IsWrapperFolder = YES; 20 | IncludeInIndex = YES; 21 | CanSetIncludeInIndex = YES; 22 | AppliesToBuildRules = YES; 23 | } 24 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.workspace.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.workspace; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.dt.document.workspace"; 15 | Extensions = ( 16 | "xcworkspace", 17 | ); 18 | IsTransparent = NO; 19 | } 20 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.xcclassmodel.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.xcclassmodel; 12 | BasedOn = wrapper; 13 | 14 | UTI = "com.apple.xcode.model.class"; 15 | Extensions = ( 16 | "xcclassmodel", 17 | ); 18 | IsTransparent = NO; 19 | AppliesToBuildRules = YES; 20 | } 21 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.xcdatamodel.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.xcdatamodel; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "com.apple.xcode.model.data"; 15 | Extensions = ( 16 | "xcdatamodel", 17 | ); 18 | IsFolder = NO; 19 | IsWrapperFolder = YES; 20 | IsTextFile = NO; 21 | IncludeInIndex = YES; 22 | CanSetIncludeInIndex = YES; 23 | AppliesToBuildRules = YES; 24 | } 25 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.xcdatamodeld.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.xcdatamodeld; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "com.apple.xcode.model.data-version"; 15 | Extensions = ( 16 | "xcdatamodeld", 17 | ); 18 | IsFolder = YES; 19 | IsWrapperFolder = YES; 20 | IsTextFile = NO; 21 | IncludeInIndex = YES; 22 | CanSetIncludeInIndex = YES; 23 | AppliesToBuildRules = YES; 24 | } 25 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.xcmappingmodel.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.xcmappingmodel; 12 | BasedOn = sourcecode; 13 | 14 | UTI = "com.apple.xcode.model.data-mapping"; 15 | Extensions = ( 16 | "xcmappingmodel", 17 | ); 18 | IsFolder = NO; 19 | IsWrapperFolder = YES; 20 | IsTextFile = NO; 21 | IncludeInIndex = YES; 22 | CanSetIncludeInIndex = YES; 23 | AppliesToBuildRules = YES; 24 | } 25 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper; 12 | BasedOn = folder; 13 | 14 | UTI = "com.apple.package"; 15 | IsWrapperFolder = YES; 16 | IncludeInIndex = NO; 17 | CanSetIncludeInIndex = NO; 18 | } 19 | -------------------------------------------------------------------------------- /Specifications/FileType/wrapper.xpc-service.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = FileType; 11 | Identifier = wrapper.xpc-service; 12 | BasedOn = wrapper.cfbundle; 13 | 14 | UTI = "com.apple.xpc-service"; 15 | Extensions = ( 16 | "xpc", 17 | ); 18 | IsTransparent = NO; 19 | IsEmbeddable = YES; 20 | IsExecutable = YES; 21 | CodeSignOnCopy = NO; 22 | } 23 | -------------------------------------------------------------------------------- /Specifications/Linker/CMakeLists.txt: -------------------------------------------------------------------------------- 1 | # 2 | # Copyright (c) 2015-present, Facebook, Inc. 3 | # All rights reserved. 4 | # 5 | # This source code is licensed under the BSD-style license found in the 6 | # LICENSE file in the root directory of this source tree. 7 | # 8 | 9 | install(FILES 10 | com.apple.pbx.linkers.ld.xcspec 11 | com.apple.pbx.linkers.libtool.xcspec 12 | com.apple.xcode.linkers.lipo.xcspec 13 | DESTINATION Library/Xcode/Specifications) 14 | -------------------------------------------------------------------------------- /Specifications/Linker/com.apple.xcode.linkers.lipo.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Linker; 11 | Identifier = com.apple.xcode.linkers.lipo; 12 | Name = "Create Universal Binary Tool"; 13 | 14 | CommandLine = "lipo [options] -create [inputs] -output $(OutputPath)"; 15 | RuleName = "CreateUniversalBinary $(OutputPath) $(variant) $(ARCHS:quote)"; 16 | 17 | BinaryFormats = ( "mach-o" ); 18 | InputFileTypes = ( 19 | "compiled.mach-o.bundle", 20 | "compiled.mach-o.dylib", 21 | "compiled.mach-o.executable", 22 | ); 23 | Outputs = ( 24 | "$(OutputPath)", 25 | ); 26 | 27 | Options = ( 28 | /* No options. */ 29 | ); 30 | } 31 | -------------------------------------------------------------------------------- /Specifications/Tool/com.apple.build-tools.nmedit.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Tool; 11 | Identifier = com.apple.build-tools.nmedit; 12 | Name = "Symbol Editor"; 13 | 14 | ExecPath = "nmedit"; 15 | 16 | /* No options. */ 17 | } 18 | -------------------------------------------------------------------------------- /Specifications/Tool/com.apple.commands.built-in.compilation-database-generator.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Tool; 11 | Identifier = com.apple.commands.built-in.compilation-database-generator; 12 | Name = "Compilation Database Generator"; 13 | } 14 | -------------------------------------------------------------------------------- /Specifications/Tool/com.apple.commands.built-in.headermap-generator.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Tool; 11 | Identifier = com.apple.commands.built-in.headermap-generator; 12 | Name = "HeaderMap Generator"; 13 | } 14 | -------------------------------------------------------------------------------- /Specifications/Tool/com.apple.commands.built-in.validate.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Tool; 11 | Identifier = com.apple.build-tools.platform.validate; 12 | Name = "Validate Product"; 13 | 14 | CommandLine = "builtin-validationUtility [options] [input]"; 15 | EnvironmentVariables = { 16 | "PRODUCT_TYPE" = "$(PRODUCT_TYPE)"; 17 | }; 18 | 19 | Outputs = ( 20 | "$(TEMP_FILE_DIR)/com.apple.build-tools.platform.validate", 21 | ); 22 | 23 | Options = ( 24 | { 25 | Name = "ValidateForStore"; 26 | Type = Boolean; 27 | CommandLineFlag = "-validate-for-store"; 28 | }, 29 | ); 30 | } 31 | 32 | -------------------------------------------------------------------------------- /Specifications/Tool/com.apple.commands.shell-script.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Tool; 11 | Identifier = com.apple.commands.shell-script; 12 | Name = "Shell Script"; 13 | } 14 | -------------------------------------------------------------------------------- /Specifications/Tool/com.apple.compilers.resource-copier.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Tool; 11 | Identifier = com.apple.compilers.resource-copier; 12 | Name = "Resource Copier"; 13 | 14 | /* No options. */ 15 | } 16 | -------------------------------------------------------------------------------- /Specifications/Tool/com.apple.tools.ditto.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Tool; 11 | Identifier = com.apple.tools.ditto; 12 | Name = "Ditto"; 13 | } 14 | -------------------------------------------------------------------------------- /Specifications/Tool/com.apple.tools.mkdir.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Tool; 11 | Identifier = com.apple.tools.mkdir; 12 | Name = "Make Directory"; 13 | } 14 | -------------------------------------------------------------------------------- /Specifications/Tool/com.apple.tools.plutil.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Tool; 11 | Identifier = com.apple.tools.plutil; 12 | Name = "Property List Utility"; 13 | } 14 | -------------------------------------------------------------------------------- /Specifications/Tool/com.apple.tools.symlink.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Tool; 11 | Identifier = com.apple.tools.symlink; 12 | Name = "Symbolic Link"; 13 | } 14 | -------------------------------------------------------------------------------- /Specifications/Tool/com.apple.tools.touch.xcspec: -------------------------------------------------------------------------------- 1 | /** 2 | Copyright (c) 2015-present, Facebook, Inc. 3 | All rights reserved. 4 | 5 | This source code is licensed under the BSD-style license found in the 6 | LICENSE file in the root directory of this source tree. 7 | */ 8 | 9 | { 10 | Type = Tool; 11 | Identifier = com.apple.tools.touch; 12 | Name = "Touch"; 13 | } 14 | --------------------------------------------------------------------------------