forked from alire-project/alire
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
50 additions
and
62 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
with Alire.Platforms.Folders; | ||
|
||
package Alire.Config.Builtins.Windows is | ||
|
||
Default_Msys2_Installer : constant String := "msys2-x86_64-20221216.exe"; | ||
Default_Msys2_Installer_URL : constant String := | ||
"https://github.com/msys2/msys2-installer/releases/download/2022-12-16/" | ||
& Default_Msys2_Installer; | ||
|
||
-- MSYS2 | ||
|
||
Msys2_Do_Not_Install : constant Builtin := New_Builtin | ||
(Key => "msys2.do_not_install", | ||
Def => False, | ||
Help => | ||
"If true, Alire will not try to automatically" & | ||
" install msys2 system package manager. (Windows only)"); | ||
|
||
Msys2_Install_Dir : constant Builtin := New_Builtin | ||
(Key => "msys2.install_dir", | ||
Kind => Cfg_Absolute_Path, | ||
Def => Platforms.Folders.Cache / "msys64", | ||
Help => | ||
"Directory where Alire will detect and/or install" & | ||
" msys2 system package manager. (Windows only)"); | ||
|
||
Msys2_Installer : constant Builtin := New_Builtin | ||
(Key => "msys2.installer", | ||
Kind => Cfg_String, | ||
Def => Default_Msys2_Installer, | ||
Help => | ||
"Filename of the executable msys2 installer. (Windows only)"); | ||
|
||
Msys2_Installer_URL : constant Builtin := New_Builtin | ||
(Key => "msys2.installer_url", | ||
Kind => Cfg_String, | ||
Def => Default_Msys2_Installer_URL, | ||
Help => | ||
"URL of the executable msys2 installer. (Windows only)"); | ||
|
||
end Alire.Config.Builtins.Windows; |
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