-
Notifications
You must be signed in to change notification settings - Fork 323
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Implement
library/preinstall
(Without Dependencies Yet) (#1972)
- Loading branch information
1 parent
6de511e
commit 5751386
Showing
56 changed files
with
1,739 additions
and
642 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...uage-server/src/main/scala/org/enso/languageserver/libraries/LibraryInstallerConfig.scala
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package org.enso.languageserver.libraries | ||
|
||
import org.enso.distribution.{DistributionManager, LanguageHome} | ||
import org.enso.distribution.locking.ResourceManager | ||
|
||
/** Gathers configuration needed by the library installer used in the | ||
* `library/preinstall` endpoint. | ||
* | ||
* @param distributionManager the distribution manager | ||
* @param resourceManager a resource manager instance | ||
* @param languageHome language home, if detected / applicable | ||
*/ | ||
case class LibraryInstallerConfig( | ||
distributionManager: DistributionManager, | ||
resourceManager: ResourceManager, | ||
languageHome: Option[LanguageHome] | ||
) |
Oops, something went wrong.