Commit Graph

1401 Commits

Author SHA1 Message Date
Natalie Weizenbaum
61eea4abd8
Format with the latest formatter version (#363) 2018-06-19 12:46:24 -07:00
Natalie Weizenbaum
6e6bfd350c Mark the pub deploy script as executable
[skip ci]
2018-06-15 15:59:37 -07:00
Natalie Weizenbaum
033d4e21dd
Merge pull request #357 from sass/dart-2
Get warning-clean and stop using dart2_constants
2018-06-15 14:37:09 -07:00
Natalie Weizenbaum
c5071ef843 Stop using a deprecated API 2018-06-15 13:59:28 -07:00
Natalie Weizenbaum
c626bf5613 Remove casts that are now unnecessary 2018-06-15 13:59:28 -07:00
Natalie Weizenbaum
b949f9fe72 Use Dart 2 constants 2018-06-15 13:59:28 -07:00
Natalie Weizenbaum
6ee8db39a6
Fix deploy scripts (#355)
Also add messages to make it clear which script is running in which
Travis task.
2018-06-15 13:20:44 -07:00
Natalie Weizenbaum
048cbe197a
Automate benchmarking and update benchmarks (#356)
Closes #293
2018-06-15 11:29:42 -07:00
Natalie Weizenbaum
c2c77a5ae9
Merge pull request #353 from sass/dart-2
Drop support for Dart 1
2018-06-14 17:33:57 -07:00
Natalie Weizenbaum
a31a147dd6 Stop using Delegating*.typed() 2018-06-14 16:15:27 -07:00
Natalie Weizenbaum
7a2d724cc9 Use of() constructors instead of from() 2018-06-14 16:15:27 -07:00
Natalie Weizenbaum
6ad67a6f28 Remove the workaround for dart-lang/sdk#30098
This un-reverts pull request #320 from sass/remove-path-workaround,
which was reverted by commit 0fb5d25ee2.
2018-06-14 16:15:27 -07:00
Natalie Weizenbaum
847b639b1e Stop testing against Dart's stable channel
Once Dart 2 stable is released, we'll resume testing against stable
releases.
2018-06-14 16:13:39 -07:00
Natalie Weizenbaum
e0c6268efd
Debounce watch events on all platforms (#354)
This doesn't flake as often on Dart as it does on Node, but it does
flake.
2018-06-14 16:12:16 -07:00
Natalie Weizenbaum
c0a3f9d3fb
Merge pull request #352 from sass/watch
Add a --watch command
2018-06-13 18:29:37 -07:00
Natalie Weizenbaum
7e19b9e7d6 Update the pubspec and changelog
[skip ci]
2018-06-13 18:28:52 -07:00
Natalie Weizenbaum
a511716397 Load files from their canonical URLs in compileStylesheet() 2018-06-13 17:19:04 -07:00
Natalie Weizenbaum
f074152f61 Add a tick in a test that's failing on Windows 2018-06-13 16:42:10 -07:00
Natalie Weizenbaum
0519163ae3 Use the standard tick helper rather than a custom sleep 2018-06-13 16:41:29 -07:00
Natalie Weizenbaum
0cb2bfa0a5 Debounce filesystem events on Node 2018-06-13 16:41:29 -07:00
Natalie Weizenbaum
b28380f8cd Don't try to recompile removed files 2018-06-13 16:41:29 -07:00
Natalie Weizenbaum
e05e9c7f91 Stop using Set.of() 2018-06-13 16:41:29 -07:00
Natalie Weizenbaum
5efa7bf48a Normalize path separators in watch test expectations 2018-06-13 16:41:29 -07:00
Natalie Weizenbaum
0836afdc97 Avoid Future<void> because it's not Dart 1-compatible 2018-06-13 15:12:18 -07:00
Natalie Weizenbaum
1942466924 Code review changes 2018-06-13 15:12:18 -07:00
Natalie Weizenbaum
1ddc7c0e3e Copy the implementation of PathMap
This allows us to continue supporting Dart 1. The version of path that
added PathMap only supports Dart 2, so we can't depend on it until we
support Dart 2 as well.
2018-06-13 12:14:21 -07:00
Natalie Weizenbaum
6bbb961675 Add a --watch command
Partially addresses #264
2018-06-09 14:13:36 -04:00
Natalie Weizenbaum
a2c0f15d67 Make ExecutableOptions.sourcesToDestinations a PathMap 2018-06-09 14:09:20 -04:00
Natalie Weizenbaum
3362273c29 Disallow --update and --watch with --interactive 2018-06-09 14:09:20 -04:00
Natalie Weizenbaum
caef625899 Move compileStylesheet to its own file 2018-06-09 14:09:20 -04:00
Natalie Weizenbaum
e6c821e719 Add modification methods to StylesheetGraph 2018-06-08 21:48:39 -04:00
Natalie Weizenbaum
edc42a5075
Merge pull request #349 from sass/update-fix
Fix some --update bugs
2018-06-08 21:47:12 -04:00
Natalie Weizenbaum
d5f112d55e Work around dart-lang/sdk#33400 2018-06-08 21:28:36 -04:00
Natalie Weizenbaum
f5e9dcb688
Expand dependencies on archive and analyzer (#351) 2018-06-08 21:14:00 -04:00
Natalie Weizenbaum
594f936c54 Fix an edge-case bug
If a non-partial stylesheet is next to a partial with the same name,
canonicalizing the source URL would fail. We don't really need to
canonicalize that URL anyway, though, since it's only used for import
loops and such a loop will reload and rerun the entrypoint anyway.
2018-06-08 20:28:38 -04:00
Natalie Weizenbaum
0a21fb7063 Make sure --update surfaces failures properly 2018-06-08 20:28:38 -04:00
Natalie Weizenbaum
b7dbdf1332 Track the original import URLs in StylesheetNode.upstream
This makes it possible to tell which stylesheets have unsatisfied
imports, and will eventually make it easier to figure out which
imports need to be recomputed when a file is added or removed.
2018-06-08 20:28:38 -04:00
Natalie Weizenbaum
b9e1585cf6
Add a helper function for update tests (#348) 2018-06-07 09:54:18 -04:00
Natalie Weizenbaum
a319b84e6f
Merge pull request #347 from sass/travis
Travis infrastructure improvements
2018-06-06 14:14:26 -04:00
Natalie Weizenbaum
ef25638dd9 Set the author and committer name for Homebrew commits 2018-06-05 16:14:03 -04:00
Natalie Weizenbaum
9260e4ba4c Deploy to each platform as a separate job
This ensures that each deployment is independent of all the
others (except Heroku, which we only want to update once *everything*
succeeds).
2018-06-05 16:14:03 -04:00
Natalie Weizenbaum
c8caf7e12d Make Travis tests their own script 2018-06-05 16:14:03 -04:00
Natalie Weizenbaum
eebde6d81c Move Travis-specific scripts into tool/travis 2018-06-05 15:44:22 -04:00
Natalie Weizenbaum
446708f60c Remove obsolete credentials files 2018-06-05 15:43:44 -04:00
Natalie Weizenbaum
e2266ded68
Produce better errors when expected tokens are missing (#344) 2018-06-01 20:56:12 -04:00
Natalie Weizenbaum
224dc91792
Forbid empty custom properties (#343) 2018-05-31 20:39:33 -04:00
Natalie Weizenbaum
c26903e30e
Don't consider drive separators to be path-separating colons (#342)
Closes #340
2018-05-31 20:38:45 -04:00
Natalie Weizenbaum
a4b076560c
Merge pull request #341 from sass/dart-1
Re-add support for Dart 1
2018-05-31 14:54:23 -04:00
Natalie Weizenbaum
0a9a503ae0 Further clarify importer docs
[skip ci]
2018-05-31 14:38:40 -04:00
Natalie Weizenbaum
94c0968b53 Remove an additional Dart 2-ism 2018-05-31 14:37:21 -04:00