Downloads:

3,017

Downloads of v 1.5.8:

1,877

Last Update:

24 Aug 2014

Package Maintainer(s):

Software Author(s):

  • Google

Tags:

google dart browser javascript

Dart Editor

1.5.8 | Updated: 24 Aug 2014

Downloads:

3,017

Downloads of v 1.5.8:

1,877

Software Author(s):

  • Google

Dart Editor 1.5.8

Some Checks Have Failed or Are Not Yet Complete

1 Test Unknown and 1 Passing Test


Validation Testing Unknown


Verification Testing Passed

Details

To install Dart Editor, run the following command from the command line or from PowerShell:

>

To upgrade Dart Editor, run the following command from the command line or from PowerShell:

>

To uninstall Dart Editor, run the following command from the command line or from PowerShell:

>

NOTE: This applies to both open source and commercial editions of Chocolatey.

1. Ensure you are set for organizational deployment

Please see the organizational deployment guide

  • Open Source or Commercial:
    • Proxy Repository - Create a proxy nuget repository on Nexus, Artifactory Pro, or a proxy Chocolatey repository on ProGet. Point your upstream to https://chocolatey.org/api/v2. Packages cache on first access automatically. Make sure your choco clients are using your proxy repository as a source and NOT the default community repository. See source command for more information.
    • You can also just download the package and push it to a repository Download

3. Enter your internal repository url

(this should look similar to https://chocolatey.org/api/v2)

4. Choose your deployment method:


choco upgrade darteditor -y --source="'STEP 3 URL'" [other options]

See options you can pass to upgrade.

See best practices for scripting.

Add this to a PowerShell script or use a Batch script with tools and in places where you are calling directly to Chocolatey. If you are integrating, keep in mind enhanced exit codes.

If you do use a PowerShell script, use the following to ensure bad exit codes are shown as failures:


choco upgrade darteditor -y --source="'STEP 3 URL'" 
$exitCode = $LASTEXITCODE

Write-Verbose "Exit code was $exitCode"
$validExitCodes = @(0, 1605, 1614, 1641, 3010)
if ($validExitCodes -contains $exitCode) {
  Exit 0
}

Exit $exitCode

- name: Ensure darteditor installed
  win_chocolatey:
    name: darteditor
    state: present
    version: 1.5.8
    source: STEP 3 URL

See docs at https://docs.ansible.com/ansible/latest/modules/win_chocolatey_module.html.

Coming early 2020! Central Managment Reporting available now! More information...


chocolatey_package 'darteditor' do
  action    :install
  version  '1.5.8'
  source   'STEP 3 URL'
end

See docs at https://docs.chef.io/resource_chocolatey_package.html.


Chocolatey::Ensure-Package
(
    Name: darteditor,
    Version: 1.5.8,
    Source: STEP 3 URL
);

Requires Otter Chocolatey Extension. See docs at https://inedo.com/den/otter/chocolatey.


cChocoPackageInstaller darteditor
{
   Name     = 'darteditor'
   Ensure   = 'Present'
   Version  = '1.5.8'
   Source   = 'STEP 3 URL'
}

Requires cChoco DSC Resource. See docs at https://github.com/chocolatey/cChoco.


package { 'darteditor':
  provider => 'chocolatey',
  ensure   => '1.5.8',
  source   => 'STEP 3 URL',
}

Requires Puppet Chocolatey Provider module. See docs at https://forge.puppet.com/puppetlabs/chocolatey.


salt '*' chocolatey.install darteditor version="1.5.8" source="STEP 3 URL"

See docs at https://docs.saltstack.com/en/latest/ref/modules/all/salt.modules.chocolatey.html.

5. If applicable - Chocolatey configuration/installation

See infrastructure management matrix for Chocolatey configuration elements and examples.

This package was approved by moderator ferventcoder on 20 Feb 2015.

Description

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/


tools\chocolateyInstall.ps1
$package = 'DartEditor'

try {
  $params = @{
    PackageName = $package;
    FileType = 'zip';
    Url = 'http://storage.googleapis.com/dart-archive/channels/stable/release/latest/editor/darteditor-windows-ia32.zip';
    Url64bit = 'http://storage.googleapis.com/dart-archive/channels/stable/release/latest/editor/darteditor-windows-x64.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
}
tools\chocolateyUninstall.ps1
$package = 'DartEditor'

try {
  $location = Join-Path $Env:SystemDrive $Env:Chocolatey_Bin_Root
  if (!(Test-Path $location))
  {
    $location = Join-Path $Env:SystemDrive 'tools'
  }
  $location = Join-Path $location 'dart'

  if (Test-Path $location)
  {
    Remove-Item $location -Recurse -Force
  }

  Push-Location $Env:ChocolateyInstall\bin
  $batch = 'DartEditor.bat'
  if (Test-Path $batch)
  {
    Remove-Item $batch
  }
  Pop-Location

  Write-ChocolateySuccess $package
} catch {
  Write-ChocolateyFailure $package "$($_.Exception.Message)"
  throw
}

In cases where actual malware is found, the packages are subject to removal. Software sometimes has false positives. Moderators do not necessarily validate the safety of the underlying software, only that a package retrieves software from the official distribution point and/or validate embedded software against official distribution point (where distribution rights allow redistribution).

Chocolatey Pro provides runtime protection from possible malware.

Version Downloads Last Updated Status
Dart Editor 0.24898 451 Sunday, July 14, 2013 Unknown
Dart Editor 0.22879 414 Sunday, May 26, 2013 Unknown
Discussion for the Dart Editor Package

Ground Rules:

  • This discussion is only about Dart Editor and the Dart Editor package. If you have feedback for Chocolatey, please contact the Google Group.
  • This discussion will carry over multiple versions. If you have a comment about a particular version, please note that in your comments.
  • The maintainers of this Chocolatey Package will be notified about new comments that are posted to this Disqus thread, however, it is NOT a guarantee that you will get a response. If you do not hear back from the maintainers after posting a message below, please follow up by using the link on the left side of this page or follow this link to contact maintainers. If you still hear nothing back, please follow the package triage process.
  • Tell us what you love about the package or Dart Editor, or tell us what needs improvement.
  • Share your experiences with the package, or extra configuration or gotchas that you've found.
  • If you use a url, the comment will be flagged for moderation until you've been whitelisted. Disqus moderated comments are approved on a weekly schedule if not sooner. It could take between 1-5 days for your comment to show up.
comments powered by Disqus