-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updates to use of Dependencies including tags for releases
- Loading branch information
1 parent
c7c6cc5
commit a263195
Showing
5 changed files
with
34 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,11 @@ | ||
# <Directory> <Repository> <Branch/Tag> | ||
# If a tag is provided, then the checkout will be with detached head. | ||
# Example: Cbc https://github.com/coin-or/Cbc releases/2.10.11 | ||
../pthreads https://github.com/GerHobbelt/pthread-win32 master | ||
Data/Sample https://github.com/coin-or-tools/Data-Sample master | ||
Data/miplib3 https://github.com/coin-or-tools/Data-miplib3 master | ||
CoinUtils https://github.com/coin-or/CoinUtils master | ||
Osi https://github.com/coin-or/Osi master | ||
Clp https://github.com/coin-or/Clp master | ||
Cgl https://github.com/coin-or/Cgl master | ||
Cbc https://github.com/coin-or/Cbc master | ||
Cbc https://github.com/coin-or/Cbc master |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
@rem Read .coin-or\Dependencies and clone if the directory does not exist, or fetch and checkout. | ||
@rem The Dependencies file has lines like <Directory> <Repository> <Branch/Tag> | ||
@echo off | ||
|
||
set depfile=.coin-or\Dependencies | ||
if not exist %depfile% echo ERROR: File %depfile% not found. && exit /b 1 | ||
|
||
for /f "eol=# tokens=1,2,3" %%i in (%depfile%) do ( | ||
echo. | ||
echo ********************************** | ||
echo INFO: Directory: ..\%%i | ||
echo INFO: Repo: %%j | ||
echo INFO: Branch/Tag: %%k | ||
if not exist ..\%%i ( | ||
echo INFO: Folder ..\%%i does not exist. Now cloning. | ||
git clone --depth 1 %%j -b %%k ..\%%i | ||
if errorlevel 1 pause | ||
) else ( | ||
echo INFO: Folder ..\%%i exists. Fetch and Checkout %%k. | ||
git -C ..\%%i fetch --all | ||
git -C ..\%%i checkout %%k | ||
if errorlevel 1 pause | ||
) | ||
echo INFO: Finished with ..\%%i | ||
) |