Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fixes for the windows archives #22

Merged
merged 3 commits into from
Nov 2, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions package/dart-sass.bat
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
@echo off
%REM Copyright 2016 Google Inc. Use of this source code is governed by an
%REM MIT-style license that can be found in the LICENSE file or at
%REM https://opensource.org/licenses/MIT.
REM Copyright 2016 Google Inc. Use of this source code is governed by an
REM MIT-style license that can be found in the LICENSE file or at
REM https://opensource.org/licenses/MIT.

%REM This script drives the standalone Sass package, which bundles together a
%REM Dart executable and a snapshot of Sass. It can be created with `pub run
%REM grinder package`.
REM This script drives the standalone Sass package, which bundles together a
REM Dart executable and a snapshot of Sass. It can be created with `pub run
REM grinder package`.

set SCRIPTPATH=%~dp0
set arguments=%*
Expand Down
4 changes: 3 additions & 1 deletion tool/grind.dart
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,9 @@ Future _buildPackage(http.Client client, String os, String architecture) async {
var sassLicense = new File('LICENSE').readAsBytesSync();
var dartLicense = new File(p.join(_sdkDir, 'LICENSE')).readAsBytesSync();
var archive = new Archive()
..addFile(_file("dart-sass/src/dart", executable, executable: true))
..addFile(_file(
"dart-sass/src/dart${os == 'windows' ? '.exe' : ''}", executable,
executable: true))
..addFile(_file("dart-sass/src/DART_LICENSE", dartLicense))
..addFile(_file("dart-sass/src/sass.dart.snapshot", snapshot))
..addFile(_file("dart-sass/src/SASS_LICENSE", sassLicense))
Expand Down