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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 59 - (show annotations) (download)
Sat Jun 3 12:38:27 2017 UTC (12 months, 2 weeks ago) by zoff99
File MIME type: text/plain
File size: 811 byte(s)
v2.0.57a
1 @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

   
Visit the ZANavi Wiki