/[zanavi_public1]/navit/download-androidstudio-files.bat
ZANavi

Diff of /navit/download-androidstudio-files.bat

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

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

Legend:
Removed from v.58  
changed lines
  Added in v.59

   
Visit the ZANavi Wiki