1 |
zoff99 |
59 |
@echo off
|
2 |
|
|
|
3 |
|
|
REM get directory of this script
|
4 |
|
|
SET mypath=%~dp0
|
5 |
|
|
echo %mypath:~0,-1%
|
6 |
|
|
|
7 |
|
|
DEL /F /Q navit\mvt_tiles.h
|
8 |
|
|
DEL /F /Q navit\s_index.h
|
9 |
|
|
|
10 |
|
|
REM windows android studio does not compile with "git links" :-(
|
11 |
|
|
COPY /Y navit\mvt_tiles_full_zvt.h navit\mvt_tiles.h
|
12 |
|
|
COPY /Y navit\s_index.h_full navit\s_index.h
|
13 |
|
|
|
14 |
|
|
REM debug
|
15 |
|
|
REM https://circleci.com/api/v1/project/zoff99/zanavi/latest/artifacts/0/$CIRCLE_ARTIFACTS/android-studio-project.zip?filter=successful&branch=master
|
16 |
|
|
|
17 |
|
|
echo Downloading latest version ...
|
18 |
|
|
powershell -Command "(New-Object Net.WebClient).DownloadFile('https://circleci.com/api/v1/project/zoff99/zanavi/latest/artifacts/0/$CIRCLE_ARTIFACTS/android-studio-project.zip?filter=successful&branch=master', 'android-studio-project.zip')"
|
19 |
|
|
|
20 |
|
|
echo unzipping
|
21 |
|
|
unzip -o android-studio-project.zip
|
22 |
|
|
|
23 |
|
|
pause
|
24 |
|
|
|
25 |
|
|
@echo ON
|