diff --git a/DartEditor/DartEditor.nuspec b/DartEditor/DartEditor.nuspec new file mode 100644 index 0000000..4df8779 --- /dev/null +++ b/DartEditor/DartEditor.nuspec @@ -0,0 +1,33 @@ + + + + DartEditor + Dart Editor + 0.22879 + Google + Ethan J Brown + Dart Editor is an open-source tool for editing, debugging, and running Dart applications. + Dart Editor is an open-source tool for editing, debugging, and running Dart applications. + +Dart is a new web programming language with libraries, a virtual machine, and tools. Dart helps developers build structured modern web apps. Dart compiles to JavaScript to run across the entire modern web. + +* The Dart language is familiar and easy to learn. It's class based and object oriented, without being dogmatic. +* The Pub package manager makes getting and sharing libraries easy. +* Core libraries provide all the basics, including support for asynchronous programming with Futures. +* Performance is good and getting better. Dart apps are fastest in the Dart VM, but they can be speedy even after compilation to JavaScript. +* Web UI lets you use future web APIs today, with support for proposed standards such as web components, MDV, and shadow DOM. +* All modern browsers (both desktop and mobile) can run Dart web apps, thanks to our Dart-to-JavaScript compiler. + +https://code.google.com/p/dart/ + + http://www.dartlang.org/tools/editor + google dart browser javascript + http://opensource.org/licenses/BSD-3-Clause + false + https://github.com/Iristyle/ChocolateyPackages/raw/master/DartEditor/dart_logo.jpg + + + + + + diff --git a/DartEditor/dart_logo.jpg b/DartEditor/dart_logo.jpg new file mode 100644 index 0000000..f6ca3c9 Binary files /dev/null and b/DartEditor/dart_logo.jpg differ diff --git a/DartEditor/tools/chocolateyInstall.ps1 b/DartEditor/tools/chocolateyInstall.ps1 new file mode 100644 index 0000000..b2def57 --- /dev/null +++ b/DartEditor/tools/chocolateyInstall.ps1 @@ -0,0 +1,36 @@ +$package = 'DartEditor' + +try { + $params = @{ + PackageName = $package; + FileType = 'zip'; + Url = 'https://storage.googleapis.com/dart-editor-archive-integration/latest/darteditor-win32-32.zip'; + Url64bit = 'https://storage.googleapis.com/dart-editor-archive-integration/latest/darteditor-win32-64.zip'; + UnzipLocation = Join-Path $Env:SystemDrive 'tools'; + } + + $binRoot = Join-Path $Env:SystemDrive $Env:Chocolatey_Bin_Root + if (Test-Path $binRoot) + { + $params.UnzipLocation = $binRoot + } + + if (!(Test-Path($params.UnzipLocation))) + { + New-Item $params.UnzipLocation -Type Directory | Out-Null + } + + Install-ChocolateyZipPackage @params + + $dartPath = Join-Path $params.UnzipLocation 'dart' + Get-ChildItem $dartPath -Filter *.exe -Recurse | + ? { $_.Name -match 'dart' } | + % { + Generate-BinFile ($_.Name -replace '\.exe', '') $_.FullName + } + + Write-ChocolateySuccess $package +} catch { + Write-ChocolateyFailure $package "$($_.Exception.Message)" + throw +}