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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 56 - (show annotations) (download)
Sun Mar 19 08:44:36 2017 UTC (7 years ago) by zoff99
File MIME type: text/plain
File size: 837 byte(s)
updates
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=and_stud
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=and_stud', '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