Skip to content

Commit c326e38

Browse files
committed
Add -c flag to build command
1 parent 3502cac commit c326e38

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

regex-ballerina/build.gradle

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,9 @@ task ballerinaBuild {
145145
workingDir project.projectDir
146146
environment "JAVA_OPTS", "-DBALLERINA_DEV_COMPILE_BALLERINA_ORG=true"
147147
if (Os.isFamily(Os.FAMILY_WINDOWS)) {
148-
commandLine 'cmd', '/c', "$balJavaDebugParam $distributionBinPath/bal.bat build ${testParams} ${debugParams} && exit %%ERRORLEVEL%%"
148+
commandLine 'cmd', '/c', "$balJavaDebugParam $distributionBinPath/bal.bat build -c ${testParams} ${debugParams} && exit %%ERRORLEVEL%%"
149149
} else {
150-
commandLine 'sh', '-c', "$balJavaDebugParam $distributionBinPath/bal build ${testParams} ${debugParams}"
150+
commandLine 'sh', '-c', "$balJavaDebugParam $distributionBinPath/bal build -c ${testParams} ${debugParams}"
151151
}
152152
}
153153
// extract bala file to artifact cache directory

0 commit comments

Comments
 (0)