Commit Graph

156 Commits

Author SHA1 Message Date
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
Natalie Weizenbaum
65229499b3
Name the standalone executable sass rather than dart-sass (#257) 2018-03-16 14:38:46 -07:00
Natalie Weizenbaum
079ca97476
Separate out minified and non-minified JS compilation tasks (#245) 2018-03-09 17:16:00 -08:00
Natalie Weizenbaum
b7b4580bb4 Commit to Homebrew as SassBot 2018-03-05 16:59:38 -08:00
Natalie Weizenbaum
2acb448db9 Fix a bug in the deploy script 2018-03-02 18:41:36 -08:00
Natalie Weizenbaum
92e8230e32 Auto-release on Chocolatey 2018-02-04 16:12:33 -08:00
Natalie Weizenbaum
01e768c885 Use hyphens for multiple Chocolatey prerelease components
This way 1.0.0-beta.1.1 won't conflict with 1.0.0-beta.11, for
example.
2018-02-04 16:08:51 -08:00
Natalie Weizenbaum
d8336622a0 Use SassBot credentials rather than my personal credentials
Also add Chocolatey credentials
2018-02-04 14:42:46 -08:00
Natalie Weizenbaum
13bdd462ae Manually deploy to GitHub rather than using Travis's support
This avoids re-running before_deploy steps unnecessarily, and allows
us to upload CHANGELOG entries automatically.
2018-02-03 22:35:20 -08:00
Natalie Weizenbaum
651674ab91 Use .npmrc rather than .git-credentials 2018-02-03 20:06:49 -08:00
Natalie Weizenbaum
c70e35becf Fix some command invocations 2018-02-03 19:41:36 -08:00
Natalie Weizenbaum
4418456f4a Only store a single encrypted file 2018-02-03 19:34:15 -08:00
Natalie Weizenbaum
9c3911b5b5 debug 2018-02-03 19:03:33 -08:00
Natalie Weizenbaum
b18035ec82 Improve deploy script logging 2018-02-03 18:47:56 -08:00
Natalie Weizenbaum
ba041b3471
Add support for automated deployment (#231)
We won't really be able to tell if this works until we actually deploy.
2018-02-03 17:02:27 -08:00
Natalie Weizenbaum
060df8a3d7
Add Homebrew support (#230)
Technically Homebrew support was added by sass/homebrew-sass@83b7db9,
but this makes it official by documenting it and adding a
semi-automated update process.
2018-02-03 16:18:10 -08:00
Natalie Weizenbaum
3548a20979 Add a specialized README for npm 2018-02-02 16:37:06 -08:00
Natalie Weizenbaum
2301ecb65f
Generate app snapshots for the current OS (#224)
Might as well give some subset of our users a speed-up while we wait
for dart-lang/sdk#28617.
2018-02-01 18:54:42 -08:00
Natalie Weizenbaum
2cfb0daf4d Remove some outdated TODOs 2017-12-02 16:37:57 -08:00
Natalie Weizenbaum
0a67d3845f Add a dev dependency on fibers from NPM 2017-12-01 14:36:37 -08:00
Natalie Weizenbaum
0df3463213 Compile asynchronous code to synchronous (#194)
See #9
2017-12-01 14:29:11 -08:00
Natalie Weizenbaum
1651dcab96 Support dev SDKs on Chocolatey (#183)
Made possible by daftspaniel/Chocolatey-Packages#10
2017-10-13 15:44:27 -07:00
Natalie Weizenbaum
e79bba4fae Allow packages to be built with Dart dev releases (#182) 2017-10-12 12:22:01 -07:00
Natalie Weizenbaum
48ba0e2128 Manually determine the operating system for paths
Works around dart-lang/sdk#30098.
2017-07-06 23:52:43 -07:00
Natalie Weizenbaum
3b36c5a1fb Reformat. 2017-07-06 23:23:04 -07:00
Natalie Weizenbaum
2dd7601ba6 Add an option to not minify the compiled JS 2017-07-06 15:03:27 -07:00
Natalie Weizenbaum
0851350068 Reformat. 2017-07-06 14:13:29 -07:00
Natalie Weizenbaum
14f0d6ea46 Fix an analysis error. 2017-07-05 15:30:53 -07:00
Natalie Weizenbaum
bd52c9f80a Fix analysis issues. 2017-06-06 15:24:22 -07:00
Natalie Weizenbaum
bd4cc36186 Rename the npm package "sass".
We'll continue to build the "dart-sass" package for the time being to
ease migration, but I expect to move entirely to "sass" by 1.0.0
stable.
2017-06-06 15:11:12 -07:00
Natalie Weizenbaum
f8d4352607 Revert "Build an application snapshot."
This reverts commit ba4712fe3c.

I forgot that application snapshots aren't cross-platform, and I don't
have a good solution for building on multiple platforms yet 😞.
2017-06-05 12:52:56 -07:00
Natalie Weizenbaum
ba4712fe3c Build an application snapshot.
This dramatically improves startup speed.
2017-06-05 12:48:03 -07:00
Natalie Weizenbaum
4bc2770333 Compile JS with --minify. 2017-02-16 17:37:31 -08:00
Natalie Weizenbaum
f00c6c8c5d Compile JS with --trust-type-annotations. 2017-02-16 17:05:01 -08:00
Natalie Weizenbaum
29d1f9e138 Add Appveyor support. (#119) 2017-02-10 15:24:56 -08:00
Natalie Weizenbaum
5e80408f90 Add support for building a Chocolatey package. (#98)
Closes #67
2017-01-13 16:13:26 -08:00
Natalie Weizenbaum
6ad037e2e2 Fix analysis errors in tool/grind.dart. (#92)
Also test its analysis.
2017-01-08 14:31:26 -08:00
Natalie Weizenbaum
2073035b6d Add the README to the npm package. 2017-01-07 14:17:06 -08:00
Natalie Weizenbaum
7de1b84e8c Run Travis assertions against test/. 2016-12-02 17:39:27 -08:00
Natalie Weizenbaum
71264f83bb Use my fork of the node_preamble package.
We'll go back to the published package once
mbullington/node_preamble.dart#1 lands.

Closes #51
2016-12-02 14:26:27 -08:00
Natalie Weizenbaum
02d8a3d16e Use master as the default sass-spec branch. (#39) 2016-11-11 17:15:06 -08:00
Natalie Weizenbaum
13dbd33c10 Fetch a connected sass-spec pull request. 2016-11-11 00:48:23 -08:00
Natalie Weizenbaum
0ec8ac9676 Move logic from tool/travis.sh into .travis.yml.
The separate shell script made it possible to run Travis stuff locally,
but that's not too hard to do manually anyway and this is much cleaner.
2016-11-10 17:28:27 -08:00
Natalie Weizenbaum
57e9652cf4 Re-enable Travis for the new sass-spec branch. 2016-11-06 01:51:31 -07:00
Natalie Weizenbaum
75a1d2980c Use the old dart-sass branch of sass-spec for now.
We still need to do a bunch of triage on the new branch.
2016-11-02 17:01:48 -07:00
Martin Lepadusch
446cb846c3 Fixes for the windows archives (#22)
* add file extension for windows executables

* fix comments
2016-11-02 13:01:47 -07:00
Natalie Weizenbaum
e98b708ddf Don't run analysis with older Dart versions. 2016-10-31 15:14:25 -07:00
Natalie Weizenbaum
8ff9150cf8 Add Travis support.
Currently this only runs --expanded tests, because they're the only
tests that have been triaged.
2016-10-31 15:09:58 -07:00
Natalie Weizenbaum
d99b999c4e Fix a grinder issue. 2016-10-31 15:06:50 -07:00
Natalie Weizenbaum
423deb5eab Node API: add an info string. 2016-10-29 11:20:47 -07:00
Natalie Weizenbaum
a526e17f52 Lowercase npm. 2016-10-24 16:45:51 -07:00
Natalie Weizenbaum
1efefb1524 Restructure standalone packages.
This renames the script to dart-sass, and makes it the only file in the
archive root directory to make it easier to add to PATH.
2016-10-21 13:51:34 -07:00
Natalie Weizenbaum
a2889e4a75 Start supporting public Dart and Node APIs. 2016-10-14 18:24:50 -07:00