Skip to content
Snippets Groups Projects
  1. Feb 01, 2019
  2. Jan 25, 2019
  3. Jan 03, 2019
  4. Dec 18, 2018
  5. Dec 17, 2018
  6. Oct 26, 2018
  7. Aug 17, 2018
    • Nate Bosch's avatar
      Update to latest build_runner (#1966) · 43a91d12
      Nate Bosch authored
      Also add `publish_to: none` to document that this package will not be
      published on pub, and consistently skip quotes for version strings which
      don't need quotes.
      43a91d12
  8. Aug 16, 2018
    • Nate Bosch's avatar
      Add check for a scheme on PUB_HOSTED_URL (#1972) · b3a2cfb7
      Nate Bosch authored
      If the environment variable does not have a scheme it will produce a
      confusing error like `Bad state: Cannot use origin without a scheme`.
      
      - Add a `ConfigException` to correspond to the config exit code.
      - Change some non-reference usages of `[]` to backticks.
      - Stop setting a default of the `server` option since it depends on user
        config and could be incorrect. We never read the default value anyway
        and now access of that field can throw and this would throw before
        proper exception handling is set up.
      - Attempt to parse the scheme when we read `PUB_HOSTED_URL` and throw a
        more actionable exception when it is missing.
      - Update tests hardcoding the usage string.
      b3a2cfb7
    • Nate Bosch's avatar
      Update tests for SDK constraint validation (#1968) · 6626bda3
      Nate Bosch authored
      According to the comment at `lib/src/validator.dart` lines 70-73 this
      behavior was intended to change when the stable SDK was released, so
      update the tests.
      6626bda3
  9. Aug 08, 2018
  10. Aug 07, 2018
  11. Aug 06, 2018
  12. Aug 03, 2018
    • Nate Bosch's avatar
      Drop support for --packages-dir flag (#1958) · 0764363b
      Nate Bosch authored
      Towards #1952
      
      Drops support for the flag and updates tests that were depending on it
      or referring to it, but does not remove the supporting code. That will
      be done in a followup.
      
      - Parse but ignore the flag and warn when it is used.
      - Drop tests specifically for the packages dir behavior.
      - Remove unnecessary references to the flag.
      - Drop utility test code and constants for the packages dir.
      - Wherever possible replace checks for content within the packages dir
        with checks for content in the package spec, and sometimes cache.
      - When working with git shas which are unpredictable and have an ugly
        format in the package spec check instead for lines that contain the
        sha, or which have a package spec which either specificially did or
        did not change after an upgrade.
      0764363b
  13. Jul 30, 2018
  14. Jul 27, 2018
    • Nate Bosch's avatar
      Add deps for testing with build_runner (#1953) · 7080a984
      Nate Bosch authored
      Testing from kernel files saves time over testing from source. This does
      not switch Travis to test this way yet, but adds the deps to make it
      easier to use locally.
      
      Add a non-src lib file so get better behavior out of the coarse module
      strategy. Without this file every library ends up becoming it's own
      module.
      7080a984
  15. Jul 26, 2018
  16. Jul 10, 2018
  17. Jul 09, 2018
  18. Jun 26, 2018
  19. Jun 22, 2018
    • Bob Nystrom's avatar
      Move pub fully onto Dart 2 and off Dart 1. (#1933) · 2258022c
      Bob Nystrom authored
      * Move pub fully onto Dart 2 and off Dart 1.
      
      - Have the tests run pub in Dart 2 mode. This unfortunately makes them
        much slower when running from source, but creating a pub snapshot
        helps.
      - Only generate Dart 2 snapshots when precompiling.
      - Remove tests around Dart 1 snapshots.
      - Remove test utility code for running pub in Dart 1 mode.
      - Change pub [global] run [un]checked mode tests to use assert().
      
      The tests around outdated snapshots are failing because the old code
      for detecting a bad snapshot version error does not seem to work in the
      Dart 2 VM. I have an email thread going for that, but I wanted to send
      this out in the meantime.
      
      * Fix pub SDK snapshot extension.
      2258022c
  20. Jun 20, 2018
  21. Jun 19, 2018
  22. Jun 13, 2018
  23. Jun 12, 2018
  24. Jun 06, 2018
  25. May 29, 2018
  26. May 24, 2018
Loading