From 6e51db601866d844bf66d4315295b8db372e0cd9 Mon Sep 17 00:00:00 2001 From: Iristyle Date: Sat, 25 May 2013 23:16:10 -0400 Subject: [PATCH] feat: DartEditor 22879 - Googles Dart Editor --- DartEditor/DartEditor.nuspec | 33 +++++++++++++++++++++++ DartEditor/dart_logo.jpg | Bin 0 -> 4961 bytes DartEditor/tools/chocolateyInstall.ps1 | 36 +++++++++++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 DartEditor/DartEditor.nuspec create mode 100644 DartEditor/dart_logo.jpg create mode 100644 DartEditor/tools/chocolateyInstall.ps1 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 0000000000000000000000000000000000000000..f6ca3c925e5f96ac5ae72284a95badce24ad0867 GIT binary patch literal 4961 zcma)<2UL?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RG_{_;)nIceIfN+h(NHXN+j{M-4{PPH@6PAN=t@ z9=Rj9|9M61q0asKs6;RdicwI1+2#|!k*z;fJF^=OKywD08bx0&n)3{dsfDP>glv+!5V&p+yv#9Jh#E2^G57Pf~eH~Rz0EN^LENxxcX8om{_W!2YQmI=|?+uOt{_MN(lVC@~)A~^j zR(bDUD0hA{9X}`aK)zsxdq*UC(UU)WEW7f93hn5w2Kz)17;NDHhF&@{IN|CNP524Q% zXE8_j75V)M0D~$lA=Lx*y)J0mz@Z7@1!u*CVN^HdGp$Cd(hU z6Di-phQ30D4^jwbI*b0aQq5bcg_vYxCJ8jsb&~KYSQ(RxbQbAEpmsjDF!*MX)w2w50BnFEPY%Q%k zRtqEoI+FpFzZ`2FJt^42Y!-?JV(Br~e8GRiNI`hJ<_iA|kcBC41PcOnfE8hCqur|9u&`rxZG<=!cWi(6m%_8~Rldo&REYk-;uzA=C~g zo2|(4@nTTZ z)UN)fM(if+EuMOfN2SuS4e3d9O}p-cTB&Lajz_sBhX~Y$rn7n$l1c&YRR&!PH_~yg coFM|f&=pObOZ-D3FrPUV3OReE5l$TbKLD-QM*si- literal 0 HcmV?d00001 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 +}