Support argfiles in CLI with "@argfile"

#KT-24613 Fixed
This commit is contained in:
Alexander Udalov
2018-09-07 15:14:39 +03:00
parent e996513044
commit c4be039cd1
11 changed files with 52 additions and 24 deletions
+1
View File
@@ -10,4 +10,5 @@ where possible options include:
-nowarn Generate no warnings
-verbose Enable verbose logging output
-version Display compiler version
@<argfile> Expand compiler arguments from the given file, containing one argument or file path per line
OK
+1
View File
@@ -31,4 +31,5 @@ where possible options include:
-nowarn Generate no warnings
-verbose Enable verbose logging output
-version Display compiler version
@<argfile> Expand compiler arguments from the given file, containing one argument or file path per line
OK
@@ -1 +1 @@
-Xargfile=$TESTDATA_DIR$/apiVersionLessThanLanguage.argfile
@$TESTDATA_DIR$/apiVersionLessThanLanguage.argfile
+1 -1
View File
@@ -1 +1 @@
-Xargfile=$TESTDATA_DIR$/argfileWithEscaping.argfile
@$TESTDATA_DIR$/argfileWithEscaping.argfile
@@ -1 +1 @@
-Xargfile=$TESTDATA_DIR$/argfileWithUnfinishedQuoteAndEscape.argfile
@$TESTDATA_DIR$/argfileWithUnfinishedQuoteAndEscape.argfile
+1
View File
@@ -29,4 +29,5 @@ where possible options include:
-nowarn Generate no warnings
-verbose Enable verbose logging output
-version Display compiler version
@<argfile> Expand compiler arguments from the given file, containing one argument or file path per line
OK
+1 -1
View File
@@ -1,3 +1,3 @@
$TESTDATA_DIR$/apiVersion.kt
-d
-Xargfile=$TESTDATA_DIR$/mixingArgfilesAndUsualArgs.argfile
@$TESTDATA_DIR$/mixingArgfilesAndUsualArgs.argfile
+1 -1
View File
@@ -1,4 +1,4 @@
$TESTDATA_DIR$/simple.kt
-d
$TEMP_DIR$
-Xargfile=$TESTDATA_DIR$/nonexisting.argfile
@$TESTDATA_DIR$/nonexisting.argfile