new tasks to do.cmd utility script
if [%1] == [help] (
echo w $V: set gradle wrapper
echo fixgit: fix permission flag on git index for required files
+ echo run : run plugin in IntelliJ Ultimate 2018.3
+ echo run2019: run plugin in IntelliJ Ultimate 2019.3
+ echo release: package plugin
+ echo test: run unit tests
+ echo cv: check dependencies and Gradle updates
)
if [%1] == [w] (
@@ -12,3 +17,18 @@ if [%1] == [fixgit] (
echo git update-index --chmod=+x gradlew
git update-index --chmod=+x gradlew
)
+if [%1] == [run] (
+ gradlew buildPlugin runIde --warning-mode all
+)
+if [%1] == [run2019] (
+ gradlew buildPlugin runIde --warning-mode all -PideaVersion=IU-2019.3
+)
+if [%1] == [release] (
+ gradlew clean buildPlugin test verifyPlugin --warning-mode all
+)
+if [%1] == [test] (
+ gradlew cleanTest test verifyPlugin --warning-mode all
+)
+if [%1] == [cv] (
+ gradlew dependencyUpdates -Drevision=release -DoutputFormatter=plain -DoutputDir=./build/ --warning-mode all
+)
