seaneagan / den

A pubspec authoring tool.
BSD 2-Clause "Simplified" License
27 stars 6 forks source link

Weird result of `den spec` #39

Closed zoechi closed 4 years ago

zoechi commented 9 years ago

Somehow I'm not able make den spec produce a proper pubspec.yaml.

name: bwu_dart_archive_downloader
authorGuenter Zoechbauer <guenter@gzoechbauer.com>: # name <email>
homepagehttps://github.com/bwu-dart/bwu_dart_archive_downloader: # https://github.com/user/repo
version: 0.1.0
environment:
  sdk: '>=1.0.0 <2.0.0'
description: Typed API for the site where Dart artifacts like SDK, Dartium, ContentShell, ChromeDriver and API docs can be downloaded.
damondouglas commented 9 years ago

@zoechi, @seaneagan, a8e18ff006e06c79f19da734b3f3b4f86d75ec65 is where this error began. pub get then dart path/to/bin/den.dart on its previous 503ab231336db6ffa1c73ce8f5f093761cc05915 behaves as expected with the proper spacing.

kasperpeulen commented 9 years ago

@seaneagan I have the same issue...

sh4869 commented 8 years ago

Maybe here cause this issue. https://github.com/seaneagan/den_api/blob/master/lib/src/pubspec.dart#L149-L154

I think these comments is not absolutely necessary and I confirmed den spec produce correct pubspec.yaml when I replace "" with these comments.