pqrs-org / ShowyEdge

A visible indicator of the current input source for macOS.
https://showyedge.pqrs.org
The Unlicense
304 stars 13 forks source link

How to add a Swift package? #26

Closed GanZhiXiong closed 2 years ago

GanZhiXiong commented 2 years ago

I guess the steps are as follows, but I don't know it later. For example, add the AXSwift package:

  1. Add the following code under packages in project-base.yml:
    packages:
    AXSwift:
    url: https://github.com/tmandry/AXSwift
    from: 0.3.2
  2. Add the following code under dependencies:
    dependencies:
      - package: AXSwift

What else needs to be executed after adding it, I am not sure, whether it needs to be regenerated with XcodeGen later.

tekezo commented 2 years ago

Yes, you can add packages by editing project-base.yml as you said, then run make to execute xcodegen.