File tree Expand file tree Collapse file tree 3 files changed +13
-7
lines changed
Sources/FigmaExport/Output Expand file tree Collapse file tree 3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change 11Pod ::Spec . new do |spec |
22 spec . name = "FigmaExport"
3- spec . version = "0.8.3 "
3+ spec . version = "0.9.2 "
44 spec . summary = "Command line utility to export colors, icons and images from Figma to Xcode / Android Studio project."
55 spec . homepage = "https://github.com/RedMadRobot/figma-export"
66 spec . license = { type : "MIT" , file : "LICENSE" }
Original file line number Diff line number Diff line change @@ -102,6 +102,11 @@ Images will be exported to `drawable` and `drawable-night` directory as vector x
102102### Manual
103103[ Download] ( https://github.com/RedMadRobot/figma-export/releases ) latest release and read [ Usage] ( #usage )
104104
105+ ### Homebrew
106+ ```
107+ brew install subdan/tools/figma-export
108+ ```
109+
105110### CocoaPods + Fastlane
106111Add the following line to your Podfile:
107112``` ruby
Original file line number Diff line number Diff line change @@ -5,13 +5,14 @@ final class FileConverter {
55
66 func convert( inputDirectoryPath: String ) throws {
77 let task = Process ( )
8- #if DEBUG
9- task. executableURL = URL ( fileURLWithPath: " /Users/d.subbotin/Documents/projects/figma-export/Release/vd-tool/bin/vd-tool " )
10- #else
11- task. executableURL = URL ( fileURLWithPath: " ./vd-tool/bin/vd-tool " )
12- #endif
8+ task. executableURL = URL ( fileURLWithPath: " /usr/local/bin/vd-tool " )
139 task. arguments = [ " -c " , " -in " , inputDirectoryPath]
14- try task. run ( )
10+ do {
11+ try task. run ( )
12+ } catch {
13+ task. executableURL = URL ( fileURLWithPath: " ./vd-tool/bin/vd-tool " )
14+ try task. run ( )
15+ }
1516 task. waitUntilExit ( )
1617 }
1718}
You can’t perform that action at this time.
0 commit comments