feat: fixes install dependencies to use texlive
This commit is contained in:
@@ -23,14 +23,18 @@ public extension CliClient {
|
||||
try await runCommand(quiet: quiet, shell: shell, args)
|
||||
}
|
||||
|
||||
func installDependencies() async throws {
|
||||
func installDependencies(
|
||||
quiet: Bool = false,
|
||||
shell: String? = nil
|
||||
) async throws {
|
||||
guard let url = Bundle.module.url(forResource: "Brewfile", withExtension: nil) else {
|
||||
throw CliClientError.brewfileNotFound
|
||||
}
|
||||
try await runCommand(
|
||||
quiet: false,
|
||||
shell: .zsh(useDashC: true),
|
||||
"brew", "bundle", "--file", url.cleanFilePath
|
||||
quiet: quiet,
|
||||
shell: shell.orDefault,
|
||||
"brew", "bundle",
|
||||
"--file", url.cleanFilePath
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user