1
0
Fork 0
mirror of https://github.com/syncthing/syncthing-android.git synced 2024-11-30 00:01:19 +00:00
syncthing-android/lint_disable.cmd

14 lines
411 B
Batchfile
Raw Normal View History

@echo off
REM
REM Disable lint during build
REM
SET APP_BUILD_GRADLE=%~dps0app\build.gradle
REM
cls
echo [INFO] Disabling lint during build ...
sed -e "s/\stask.dependsOn lint/ \/\/task.dependsOn lint/gI" -e "s/\stask.mustRunAfter lint/ \/\/task.mustRunAfter lint/gI" "%APP_BUILD_GRADLE%" > "%APP_BUILD_GRADLE%.tmp"
move /y "%APP_BUILD_GRADLE%.tmp" "%APP_BUILD_GRADLE%"
echo [INFO] Done.
timeout 3
goto :eof