Commit Graph

108 Commits

Author SHA1 Message Date
Natalie Weizenbaum
ddf687fba9
Merge pull request #475 from sass/benchmark
Clean up the benchmark code
2018-09-19 15:29:08 -04:00
Natalie Weizenbaum
04ada09a82
Get rid of the dart2 test tag (#477)
We're only ever running tests under Dart 2 now, so it's irrelevant
whether they're Dart 2-only.
2018-09-19 15:28:47 -04:00
Natalie Weizenbaum
f15400325b Make sure not to load Ruby Sass from the global installation 2018-09-17 15:33:36 -07:00
Natalie Weizenbaum
0e0237bcb2 Run benchmarks against Dart 2 as well 2018-09-17 15:33:36 -07:00
Natalie Weizenbaum
ea6af41867 Fail when a benchmark emits a non-0 exit code 2018-09-17 14:29:46 -07:00
Natalie Weizenbaum
a6f7d94830 Generate the proper trailing benchmark header 2018-09-17 14:29:46 -07:00
Natalie Weizenbaum
7b4137bb5a Run benchmarks against the release-compiled JS 2018-09-17 14:29:46 -07:00
Natalie Weizenbaum
ba22b59d2f Fix Dart VM invocations 2018-09-17 14:29:46 -07:00
Natalie Weizenbaum
67bd53b938 Add some real-world benchmarks 2018-09-17 14:29:46 -07:00
Natalie Weizenbaum
a86fb98749 Move benchmark generation into a grind task 2018-09-17 10:26:43 -07:00
Natalie Weizenbaum
918a3fedf2
Pass --omit-implicit-checks to dart2js in release mode (#473)
Substantially addresses #113
2018-09-11 14:39:47 -07:00
Natalie Weizenbaum
c5dff3e841
Remove the source map comment from the JS blob we release (#448)
See bazelbuild/rules_sass#44
2018-08-15 13:28:02 -07:00
Natalie Weizenbaum
3e5d4752c9
Add new npm credentials (#408)
The old credentials were invalidated due to
https://status.npmjs.org/incidents/dn7c1fgrr7ng.
2018-07-13 12:35:49 -07:00
Natalie Weizenbaum
8801279796
Run Yarn after updating the Bazel rule's package.json (#404)
See bazelbuild/rules_sass#36
2018-07-11 13:12:59 -07:00
Natalie Weizenbaum
cd0211c2ab
Fix the Chocolatey version of the Dart SDK (#389)
Dev SDKs changed from 2.0.0.XX-dev to 2.0.0.XX-dev-Y.
2018-06-27 17:42:07 -07:00
Natalie Weizenbaum
c462b82102 Run snapshots in Dart 1 mode
Until dart-lang/sdk#33257 is fixed, this ensures that users get as
much performance as possible.
2018-06-27 15:51:16 -07:00
Natalie Weizenbaum
1d176059f2
Reformat using the newest version of the formatter (#388) 2018-06-27 15:16:13 -07:00
Natalie Weizenbaum
ecc04665cf
Fix a couple more Grinder invocations (#387) 2018-06-27 14:32:44 -07:00
Natalie Weizenbaum
7e6f03fc18
Run the Dart CLI tests from app snapshots on CI (#383)
This substantially speeds up the test time, and once we re-enable Dart
2 support is should work around dart-lang/sdk#33257.
2018-06-27 13:12:16 -07:00
Natalie Weizenbaum
a87300a1e9 Use camel-case for grinder task names
This also causes Grinder to use hyphen-separated names for them on the
CLI, rather than underscore-separated.
2018-06-25 16:40:26 -07:00
Natalie Weizenbaum
458598ed83 Remove the constraint on which Dart versions can compile Sass to JS
Sass's entire SDK constraint is now within the constraint, so it no
longer does anything.
2018-06-25 16:40:19 -07:00
Natalie Weizenbaum
44b23d1874
Fetch the pull request body using @sassbot's credentials (#375)
This avoids running into GitHub's low rate limits for unauthenticated
requests.
2018-06-21 17:59:01 -07:00
Natalie Weizenbaum
281838e0da
Deploy to Bazel on release (#358)
Closes bazelbuild/rules_sass#28
2018-06-19 14:00:06 -07:00
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
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
a31a147dd6 Stop using Delegating*.typed() 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
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
0fb5d25ee2 Revert "Merge pull request #320 from sass/remove-path-workaround"
This reverts commit 08bfb46f16, reversing
changes made to ad73a91f84.
2018-05-31 14:37:21 -04:00
Natalie Weizenbaum
31c77fb1cc Remove the workaround for dart-lang/sdk#30098 2018-05-28 15:23:47 -04:00
Natalie Weizenbaum
5b9765c833 Add an ImportCache
This will allow cached imports to be shared outside of the context of
a single stylesheet compilation.
2018-05-24 14:31:07 -04:00
Natalie Weizenbaum
9fb508e338
Split grind.dart up into separate libraries (#318) 2018-05-03 17:37:25 -07:00
Natalie Weizenbaum
d9d55f168e Release against the Dart dev version on Chocolatey
This is now consistently updated with the latest SDK version.

[skip ci]
2018-05-03 11:48:06 -07:00
Natalie Weizenbaum
5d5f231a86 Use a script file to deploy to Heroku
Embedding this in YAML kept producing weird parsing issues.

[skip ci]
2018-05-02 17:32:10 -07:00
Natalie Weizenbaum
fd19bc85b6
Add a JavaScript API for source map generation (#302)
Partially addresses #2
2018-04-20 17:56:00 -07:00
Natalie Weizenbaum
ff532f9710
Use Travis auth info to deploy to Homebrew (#296) 2018-04-17 15:44:29 -07:00
Natalie Weizenbaum
5cce76b6d4
Use constants from dart2_constants (#282) 2018-04-04 15:49:07 -07:00
Natalie Weizenbaum
a23b8299a9 Enable tests for the latest Dart 2018-04-04 11:36:25 -07:00
Natalie Weizenbaum
713d179c9e Use the new mechanism for distinguishing Node from web compilation 2018-04-03 16:56:59 -07:00
Natalie Weizenbaum
30557a7819 Update encrypted credentials file 2018-03-27 16:55:51 -07:00
Natalie Weizenbaum
7e0b0b76b8 Set GitHub and Chocolatey credentials via environment variables
It doesn't really make sense to bundle these with the archive, since
they aren't natively consumed by tools.
2018-03-27 16:55:51 -07:00
Natalie Weizenbaum
4770b40cbb Deploy to Chocolatey using the stable Dart SDK
Closes #273
2018-03-27 13:35:45 -07:00
Natalie Weizenbaum
c4271ca3e4 Include a header and footer in the GitHub release message 2018-03-27 13:35:45 -07:00