Periphery SPM plugin proof of concept
This package contains two plugins and one executable target:
- Periphery - command plugin (this means you need to run it manually from Xcode or the command line) - runs a
periphery scan
for selected targets and stores the results in the plugin's working directory. Please note - you must first build the targets before running this command. You can also view the results in the Xcode Report Navigator tab; - Periphery (Clean) - command plugin - clears
Periphery
scan results; - PeripheryPlugin (Optional) - buildTool plugin (need to attach this plugin to the
target.plugins
section inPackage.swift
) - displays results fromPeripheryPlugin
in the Xcode Issue Navigator tab. Need to build targets again; - PeripheryRenderer - executable target used by
PeripheryPlugin
, simply prints the result fromPeriphery
.