Skip to content

Run dart2js on the Dart files containing a main() in the current directory.

Notifications You must be signed in to change notification settings

timothyarmstrong/auto-dart2js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

#auto-dart2js

This will run dart2js on all the .dart files in the current directory which contain a main() function definition. It names the output files with the same filename with '.js' added to the end.

##Usage

  • Have dart2js in your PATH.
  • Put a symlink in a directory in your PATH that points to auto-dart2js.dart
    • Example: ln -s ~/code/auto-dart2js/auto-dart2js.dart ~/bin/auto-dart2js
  • Run in whatever directory you want.

About

Run dart2js on the Dart files containing a main() in the current directory.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages