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