Commit Graph

48 Commits

Author SHA1 Message Date
Eugene Yokota 6fc13d0308 Try to keep bincompat 2015-06-19 23:05:01 -04:00
Eugene Yokota 618ac5236a Bumping up Scala version to 2.10.5/2.11.6. Fixes #1980
To pass File => Unit callback across the classloader boundary
I am encoding it as a java.util.List[File] by overriding
 method.
This was needed since Java didn't allow me to cast
from one classloader to the other.
2015-06-19 16:51:39 -04:00
eugene yokota be78b7fc4c Merge pull request #1759 from jedesah/topic/minor_cleanup
Minor code cleanup
2015-01-14 16:13:06 -05:00
Eugene Yokota 75e7b47718 Run scripted with sbt-maven-resolver 2015-01-12 22:01:16 -05:00
Jean-Rémi Desjardins ca736e55d3 Minor code cleanup 2014-12-03 09:56:34 -08:00
James Roper 4d29302632 Fixed scripted newer command
The scripted newer command was effectively a noop, it always passed
because it returned false instead of throwing an exception when it
failed.

Implemented specs for most of the scripted file commands as well.
2014-06-23 15:12:34 +10:00
xuwei-k 45ce437937 use custom scriptedParser instead of spaceDelimited parser
https://github.com/sbt/sbt/blob/v0.13.5/project/Sbt.scala#L179-L192
2014-05-30 21:23:17 +09:00
Eugene Yokota adb41611cf added scalariform 2014-05-01 12:50:07 -04:00
Mark Harrah 6755f2595b Recover from failed 'reload' command in the scripted sbt handler. 2013-09-18 10:27:19 -04:00
Mark Harrah 644a2c9d13 scripted support for disabled tests 2013-06-28 00:01:19 -04:00
Mark Harrah 280e1b6d60 Build cleanup, publish launcher normally, pull it normally in scripted plugin
Still want to deploy the launcher to the previous path for compatibility with
existing scripts so that the transition to 0.13 is not impeded.
2013-06-20 15:44:29 -04:00
Mark Harrah 1c8d3cd9c8 scripted: launcher and scripted test versions are sbtVersion by default.
Ref #781.
2013-06-10 16:55:09 -04:00
Mark Harrah fd713e0c96 Update reflection signature for scripted plugin, add test for the plugin. 2013-05-25 14:22:35 -04:00
Mark Harrah 77001a4259 drop canonicalization of files on classpath and other cleanup. Fixes #723. 2013-04-09 20:13:06 -04:00
Mark Harrah f6d73128fc deprecations 2013-02-25 09:24:04 -05:00
Mark Harrah 076480b50a Reduce InputTask to the ideal wrapper around 'State => Parser[Initialize[Task[T]]]'
Ref #407.
2013-01-28 17:14:53 -05:00
Mark Harrah 1f110c26e1 Run all scripted tests provided on the command line even if one group fails
Previously, all tests selected by a command line argument would be run,
but if a test failed, the tests for the next argument would not be run.
2013-01-24 13:00:41 -05:00
Mark Harrah 2d64611080 Print the temporary base directory when pausing in a scripted test. 2013-01-16 10:26:33 -05:00
Grzegorz Kossakowski ae211ee33e Cleanup parameter list of `ScriptedTests`.
All of `sbtVersion`, `defScalaVersion` and `buildScalaVersions` were
not used anymore. According to @harrah they are coming from really
old days of sbt and are not needed because of changes to how sbt
interacts with different Scala versions.
2012-12-14 12:57:47 -05:00
Grzegorz Kossakowski ef39aeb9c1 Follow source layout convention supported by Eclipse.
Moved source files so directory structure follow package
structure. That makes it possible to use Scala Eclipse plugin
with sbt's source code.
2012-12-07 10:27:08 -08:00
Mark Harrah 49e7214fe3 InputTask macro
Similar to task macros, the parsed value is accessed by calling `parsed`
on a Parser[T], Initialize[Parser[T]], or Initialize[State => Parser[T]].
Values of tasks and settings may be accessed as usual via `value`.
2012-11-17 20:23:07 -05:00
Mark Harrah 8d6dd10798 2.10.0-M5, different arity generalization
1. KList[M[_]] now instead of KList[HL <: HList, M[_]]
  a. head, tail work properly in this variant
  b. disadvantage is that full type not easily transformed to new type constructor
2. AList abstracts on K[L[x]], a higher order type constructor.
 A. Instances written for:
  a. KList
  b. Seq[M[T]] for a fixed T
  c. TupleN
  d. single values
  e. operate on one type constructor when nested
 B. Main disadvantage is type inference.  It just doesn't happen for K[L[x]].
    This is mitigated by AList being used internally and rarely needing to construct a K.
2012-11-17 20:19:24 -05:00
Mark Harrah 4816991b18 basic support for pending scripted tests 2012-05-19 18:20:20 -04:00
e.e d3si9n 9049c6cb68 Fixed scripted-plugin's reflection call 2012-03-17 19:31:55 -04:00
Indrajit Raychaudhuri ce32a4a157 No need for scalaVersion suffix in scripted dependency 2012-03-11 18:47:51 +05:30
Eugene Vigdorchik cca5b7e2f7 Add overwrite validation to the test. 2012-02-27 19:24:10 +04:00
Mark Harrah 30cca3a6d0 fix launcher options addition to use array for cross-version compatibility 2012-01-22 22:06:53 -05:00
Mark Harrah 2255bd5a62 org.scala-tools.sbt -> org.scala-sbt and dropping scala-tools.org from defaults 2012-01-22 22:06:52 -05:00
mmcbride 28674af0d2 add setting to pass command line opts to scripted launcher 2012-01-20 17:44:06 -05:00
Artyom Olshevskiy b0bd1feff1 Fixed scripted plugin descriptor to reside in sbt package 2011-11-07 14:41:48 +03:00
Mark Harrah ed4935f3fb put scripted-plugin in the sbt package 2011-10-16 17:27:36 -04:00
Indrajit Raychaudhuri bb75b74eb6 Remove some deprecations and redundant code 2011-08-05 13:30:04 +05:30
Mark Harrah 960d0bc2e3 clean up scripted error handling 2011-07-23 23:07:54 -04:00
Mark Harrah 54b6d5db30 drop extra, potentially problematic loadp in scripted handler 2011-07-15 15:48:36 -04:00
Mark Harrah 37a404e482 set global base directory to a local directory in scripted tests 2011-07-14 08:05:30 -04:00
Mark Harrah 2343a55bb9 replace Path with RichFile 2011-05-14 18:21:41 -04:00
Artyom Olshevskiy 53c8967441 Hidden service Scripted sbt config and added resource for correct plugin discovery 2011-04-28 06:01:53 +03:00
Artyom Olshevskiy 1a8ca5607c Added copyright requested by Mark 2011-04-26 14:22:33 +03:00
Artyom Olshevskiy cd5f633d54 Adjusted scripted sbt dep to conform old code 2011-04-25 23:10:38 +03:00
Artyom Olshevskiy 9c1306ff6e Included scripted plugin into core Xsbt 2011-04-25 15:27:32 +03:00
Mark Harrah 14c6ee4b2a updating tests to use newer Scala versions 2011-04-08 19:34:23 -04:00
Mark Harrah ba8f43a23e starting to convert integration tests 2011-02-22 22:36:48 -05:00
Mark Harrah 8d1b1f89bf make running scripted tests slightly less painful
wildcard supported in test and group name
prints label of test being run
2010-09-28 21:45:59 -04:00
Mark Harrah c4419140aa brought minimal scripted test framework back
updated source dependendency tests
will need to restore cross building
2010-09-27 18:39:14 -04:00
Mark Harrah a33223a02c legal cleanup 2010-02-07 23:45:19 -05:00
Mark Harrah f139e5a9c1 Changes to assist with scripted testing of sbt 0.6.x series 2009-12-04 21:31:03 -05:00
Mark Harrah dfb7397b8a A basic readLines method and moving the filtered class loader 2009-11-25 13:03:41 -05:00
Mark Harrah 4023e10fd6 New scripted test framework 2009-11-09 09:34:52 -05:00