New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. Weβll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Edit command #703
Edit command #703
Conversation
I followed @kwridan's suggestion and used the I also added support for a |
33196d2
to
7e6b595
Compare
import ProjectDescription | ||
|
||
let setup = Setup([ | ||
// .homebrew(packages: ["swiftlint", "carthage"]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
leftover or you want to keep the commented code for documentation?
let projectDescriptionPath = directory.appending(component: "ProjectDescription.framework") | ||
let project = Project.test(path: directory, name: "Edit") | ||
let graph = Graph.test(name: "Edit") | ||
let helpersDirectory = directory.appending(component: "ProjectDDescriptionHelpers") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo ProjectDDescriptionHelpers
, is it actually used?
7e6b595
to
dda8df1
Compare
Related #668
Short description π
This PR adds a new command,
tuist edit
to edit the project in a given directory.Implementation π©βπ»π¨βπ»
ProjectEditor
utility to raise an error if the directory doesn't contain editable files.EditCommand
Testing strategy β