-
-
Notifications
You must be signed in to change notification settings - Fork 537
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
Tuist executable #3494
Tuist executable #3494
Conversation
} else { | ||
executeCommand = { | ||
var customCommandArguments = processedArguments | ||
customCommandArguments[0] = "tuist-\(customCommandArguments[0])" | ||
try System.shared.runAndPrint(customCommandArguments) | ||
} |
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.
Should we check somehow if the command exists?
Otherwise if I do a typo (e.g. tuist generata
), it might be hard to understand what's happening
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.
that is a very good point, yeah, we can check with which xxx
, I'll do that.
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.
Yeah, that's a good idea. What about extracting that logic into its own component that we can test in isolation. Otherwise this TuistCommand
will grow significantly in responsibilities.
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.
Besides what @danyf90 mentioned. The changes look good!
b551e84
to
f34c420
Compare
Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * WIP: Fetch release * Install tasks to release dir * Execute plugin task * Add TuistServiceTests * Add FetchServiceTests * Remove DependenciesFetchCommand * Add fetch plugins test * Fix PluginServiceTests * Add test for new logic in PluginServiceTests * Minor changes * Revert changes to Package.resolved * Add missing throws * Rename gitID to gitReference * Move to Swift-based APIs * Fix fetch command * Uncomment analytics code * Fix acceptance tests for tuist edit * Restore Package.resolved * Fix plugins.feature acceptance test * Add fetch to tasks.feature * Add fetch to tasks.feature * Add fetch to scaffold.feature * Fix scaffold.feature * Fix tasks.feature Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * WIP: Fetch release * Install tasks to release dir * Execute plugin task * Add TuistServiceTests * Add FetchServiceTests * Remove DependenciesFetchCommand * Add fetch plugins test * Fix PluginServiceTests * Add test for new logic in PluginServiceTests * Minor changes * Revert changes to Package.resolved * Add missing throws * Rename gitID to gitReference * Move to Swift-based APIs * Fix fetch command * Uncomment analytics code * Fix acceptance tests for tuist edit * Restore Package.resolved * Fix plugins.feature acceptance test * Add fetch to tasks.feature * Add fetch to tasks.feature * Add fetch to scaffold.feature * Fix scaffold.feature * Fix tasks.feature Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * WIP: Fetch release * Install tasks to release dir * Execute plugin task * Add TuistServiceTests * Add FetchServiceTests * Remove DependenciesFetchCommand * Add fetch plugins test * Fix PluginServiceTests * Add test for new logic in PluginServiceTests * Minor changes * Revert changes to Package.resolved * Add missing throws * Rename gitID to gitReference * Move to Swift-based APIs * Fix fetch command * Uncomment analytics code * Fix acceptance tests for tuist edit * Restore Package.resolved * Fix plugins.feature acceptance test * Add fetch to tasks.feature * Add fetch to tasks.feature * Add fetch to scaffold.feature * Fix scaffold.feature * Fix tasks.feature Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * WIP: Fetch release * Install tasks to release dir * Execute plugin task * Add TuistServiceTests * Add FetchServiceTests * Remove DependenciesFetchCommand * Add fetch plugins test * Fix PluginServiceTests * Add test for new logic in PluginServiceTests * Minor changes * Revert changes to Package.resolved * Add missing throws * Rename gitID to gitReference * Move to Swift-based APIs * Fix fetch command * Uncomment analytics code * Fix acceptance tests for tuist edit * Restore Package.resolved * Fix plugins.feature acceptance test * Add fetch to tasks.feature * Add fetch to tasks.feature * Add fetch to scaffold.feature * Fix scaffold.feature * Fix tasks.feature Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * WIP: Fetch release * Install tasks to release dir * Execute plugin task * Add TuistServiceTests * Add FetchServiceTests * Remove DependenciesFetchCommand * Add fetch plugins test * Fix PluginServiceTests * Add test for new logic in PluginServiceTests * Minor changes * Revert changes to Package.resolved * Add missing throws * Rename gitID to gitReference * Move to Swift-based APIs * Fix fetch command * Uncomment analytics code * Fix acceptance tests for tuist edit * Restore Package.resolved * Fix plugins.feature acceptance test * Add fetch to tasks.feature * Add fetch to tasks.feature * Add fetch to scaffold.feature * Fix scaffold.feature * Fix tasks.feature Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * WIP: Fetch release * Install tasks to release dir * Execute plugin task * Add TuistServiceTests * Add FetchServiceTests * Remove DependenciesFetchCommand * Add fetch plugins test * Fix PluginServiceTests * Add test for new logic in PluginServiceTests * Minor changes * Revert changes to Package.resolved * Add missing throws * Rename gitID to gitReference * Move to Swift-based APIs * Fix fetch command * Uncomment analytics code * Fix acceptance tests for tuist edit * Restore Package.resolved * Fix plugins.feature acceptance test * Add fetch to tasks.feature * Add fetch to tasks.feature * Add fetch to scaffold.feature * Fix scaffold.feature * Fix tasks.feature Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * WIP: Fetch release * Install tasks to release dir * Execute plugin task * Add TuistServiceTests * Add FetchServiceTests * Remove DependenciesFetchCommand * Add fetch plugins test * Fix PluginServiceTests * Add test for new logic in PluginServiceTests * Minor changes * Revert changes to Package.resolved * Add missing throws * Rename gitID to gitReference * Move to Swift-based APIs * Fix fetch command * Uncomment analytics code * Fix acceptance tests for tuist edit * Restore Package.resolved * Fix plugins.feature acceptance test * Add fetch to tasks.feature * Add fetch to tasks.feature * Add fetch to scaffold.feature * Fix scaffold.feature * Fix tasks.feature Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * WIP: Fetch release * Install tasks to release dir * Execute plugin task * Add TuistServiceTests * Add FetchServiceTests * Remove DependenciesFetchCommand * Add fetch plugins test * Fix PluginServiceTests * Add test for new logic in PluginServiceTests * Minor changes * Revert changes to Package.resolved * Add missing throws * Rename gitID to gitReference * Move to Swift-based APIs * Fix fetch command * Uncomment analytics code * Fix acceptance tests for tuist edit * Restore Package.resolved * Fix plugins.feature acceptance test * Add fetch to tasks.feature * Add fetch to tasks.feature * Add fetch to scaffold.feature * Fix scaffold.feature * Fix tasks.feature Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * WIP: Fetch release * Install tasks to release dir * Execute plugin task * Add TuistServiceTests * Add FetchServiceTests * Remove DependenciesFetchCommand * Add fetch plugins test * Fix PluginServiceTests * Add test for new logic in PluginServiceTests * Minor changes * Revert changes to Package.resolved * Add missing throws * Rename gitID to gitReference * Move to Swift-based APIs * Fix fetch command * Uncomment analytics code * Fix acceptance tests for tuist edit * Restore Package.resolved * Fix plugins.feature acceptance test * Add fetch to tasks.feature * Add fetch to tasks.feature * Add fetch to scaffold.feature * Fix scaffold.feature * Fix tasks.feature Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* Edit CHANGELOG * Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Plugins archive (#3531) Fix build issues Build and zip executable products Add tests for buildFatReleaseBinary Write tests for PluginsArchiveService Use plugin instead of plugins Add success print Format swift code Update Sources/TuistKit/Services/PluginArchiveService.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Tuist plugins 2.0 fetch (#3577) * Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * WIP: Fetch release * Install tasks to release dir * Execute plugin task * Add TuistServiceTests * Add FetchServiceTests * Remove DependenciesFetchCommand * Add fetch plugins test * Fix PluginServiceTests * Add test for new logic in PluginServiceTests * Minor changes * Revert changes to Package.resolved * Add missing throws * Rename gitID to gitReference * Move to Swift-based APIs * Fix fetch command * Uncomment analytics code * Fix acceptance tests for tuist edit * Restore Package.resolved * Fix plugins.feature acceptance test * Add fetch to tasks.feature * Add fetch to tasks.feature * Add fetch to scaffold.feature * Fix scaffold.feature * Fix tasks.feature Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Plugin commands (#3663) * Add plugin build command * Add unit tests * Add plugin acceptance tests * Update tuist_plugin submodule * Plugins 2.0: dependencies commands (#3656) * Fix fetch call when generating via fourier * Remove clean command exclusive to dependencies * WIP: tuist update * Add update flag to tuist fetch * Reuse code for fetch and update of dependencies * Fix dependencies update call in acceptance tests * Format swift code * Add fetch to tuist focus in fourier * Add TuistGraph as a dependency of TuistSupportTesting * Fix fourier tests * Restructure CleanCategory to mitigate code duplication * Format swift code * Lint code * Update fourier commands * Add missing ProjectDescription dependency * Fix CleanServiceTests * Fix PluginArchiveServiceTests * Tuist plugins 2.0 ProjectAutomation (#3816) * WIP: ProjectAutomation for new tasks * Add swiftToolsSupportDependency to ProjectAutomation * Make graph method public * Update tuist_plugin submodule * Use ENV variable instead of commandline argument for passing tusit binary path * Read file instead of stdout * Fix tests * Remove old tasks and ProjectAutomation * Fix acceptance tests * Update error documentation * Check path in TuistServiceTests * Format swift code * Tuist plugin * Fix ManifestTests * Fix test_edit_when_there_are_helpers_and_setup_and_config_and_dependencies test * Add path argument to graph * Remove plugin zip path if it exists * Format swift code * Fix tasks.feature * Remove log * Format swift code * Fix lint issues * Add docs for tuist task plugins (#3898) * Add docs for tuist task plugins * Update docs for fetching dependencies * Address code review comments Co-authored-by: Daniele Formichelli <df@bendingspoons.com>
* 3️⃣ Remove deprecated deprecated initializers for `FileLists`, `Headers`, and `HTTPURLResponse` (#3936) * chore: remove deprecated initializers for `FileLists`, `Headers`, and `HTTPURLResponse` * fix: fix fixtures * Plugins 2.0 (#3492) * Edit CHANGELOG * Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Plugins archive (#3531) Fix build issues Build and zip executable products Add tests for buildFatReleaseBinary Write tests for PluginsArchiveService Use plugin instead of plugins Add success print Format swift code Update Sources/TuistKit/Services/PluginArchiveService.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Tuist plugins 2.0 fetch (#3577) * Tuist executable (#3494) * Search for executable in path with tuist prefix if not tuist command * Add acceptance test for new task * Update documentation * Check if executable exists * Update projects/docs/docs/commands/task.md Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Update Sources/TuistKit/Commands/TuistCommand.swift Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Fix finding command Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * WIP: Fetch release * Install tasks to release dir * Execute plugin task * Add TuistServiceTests * Add FetchServiceTests * Remove DependenciesFetchCommand * Add fetch plugins test * Fix PluginServiceTests * Add test for new logic in PluginServiceTests * Minor changes * Revert changes to Package.resolved * Add missing throws * Rename gitID to gitReference * Move to Swift-based APIs * Fix fetch command * Uncomment analytics code * Fix acceptance tests for tuist edit * Restore Package.resolved * Fix plugins.feature acceptance test * Add fetch to tasks.feature * Add fetch to tasks.feature * Add fetch to scaffold.feature * Fix scaffold.feature * Fix tasks.feature Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * Plugin commands (#3663) * Add plugin build command * Add unit tests * Add plugin acceptance tests * Update tuist_plugin submodule * Plugins 2.0: dependencies commands (#3656) * Fix fetch call when generating via fourier * Remove clean command exclusive to dependencies * WIP: tuist update * Add update flag to tuist fetch * Reuse code for fetch and update of dependencies * Fix dependencies update call in acceptance tests * Format swift code * Add fetch to tuist focus in fourier * Add TuistGraph as a dependency of TuistSupportTesting * Fix fourier tests * Restructure CleanCategory to mitigate code duplication * Format swift code * Lint code * Update fourier commands * Add missing ProjectDescription dependency * Fix CleanServiceTests * Fix PluginArchiveServiceTests * Tuist plugins 2.0 ProjectAutomation (#3816) * WIP: ProjectAutomation for new tasks * Add swiftToolsSupportDependency to ProjectAutomation * Make graph method public * Update tuist_plugin submodule * Use ENV variable instead of commandline argument for passing tusit binary path * Read file instead of stdout * Fix tests * Remove old tasks and ProjectAutomation * Fix acceptance tests * Update error documentation * Check path in TuistServiceTests * Format swift code * Tuist plugin * Fix ManifestTests * Fix test_edit_when_there_are_helpers_and_setup_and_config_and_dependencies test * Add path argument to graph * Remove plugin zip path if it exists * Format swift code * Fix tasks.feature * Remove log * Format swift code * Fix lint issues * Add docs for tuist task plugins (#3898) * Add docs for tuist task plugins * Update docs for fetching dependencies * Address code review comments Co-authored-by: Daniele Formichelli <df@bendingspoons.com> * [3.0] Merge pull request #3949 from tuist/laxmorek/bump-swift-argument-parser Update `swift-argument-parser`: `.upToNextMajor(from: "0.4.3")` -> `.upToNextMajor(from: "1.0.0")`. * [3.0] Fixed changelog. * feat: add `type` parameter to `TargetDependency.sdk` (#3961) * feat: replace SourceFileGlob init with static method (#3960) * feat: replace SourceFileGlob init with static method #393 * fix: glob static method should be added to ProjectDescription * chore: lint * fix: compilation error * fix: fixtures * fix: fix test compilation error * fix: test compilation error * chore: try to fix .build folder caching * feat: move `disableSynthesizedResourceAccessors` from `Config.swift` to `Project.ProjectOption` (#3963) * feat: move `disableSynthesizedResourceAccessors` from `Config.swift` to `Project.ProjectOption` * chore: linting * fix: fix fixture * feat: move disableBundleAccessors to ProjectOption * fix: compilation errors * chore: fix Project.swift * chore: formatting * 3️⃣ Added `sources` property to `ProjectAutomation.Target` model. (#3988) * [extend-graph-with-sources] Added `sources` property to `ProjectAutomation.Target` model. * [extend-graph-with-sources] `./fourier lint tuist --fix` * [extend-graph-with-sources] Updated docs. * 3️⃣ Drop `tuist lint` command (#4001) * 3️⃣ Merge `tuist focus` and `tuist generate` command (#3912) * Remove unused import * Fix plugins loading for Dependencies.swift * Fix lint * Fix unit test * Update step definition for `tuist fetch` * fix: fix app_with_spm_dependencies fixturre Co-authored-by: Marek Fořt <marekfort@me.com> Co-authored-by: Luis Padron <luis.padron@compass.com> Co-authored-by: Kamil Harasimowicz <kamil.harasimowicz@gmail.com> Co-authored-by: Alfredo Delli Bovi <alfredo.dellibovi@gmail.com>
Short description 📝
In this PR I added a functionality where if you run
tuist xxx
andxxx
is not tuist's command, tuist will automatically try to run an executable fromPATH
.Checklist ✅