Skip to content

A shim that allows CoffeeScript to be compiled using Windows Script Host

Notifications You must be signed in to change notification settings

eduardp/coffeescript-windows

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CoffeeScript compiler for Windows

A simple command-line utilty for Windows that will compile *.coffee files to JavaScript *.js files using CoffeeScript and the venerable Windows Script Host, ubiquitous on Windows since the 90s.

Usage

To use it, invoke coffee.cmd like so:

coffee input.coffee output.js

If an output is not specified, it is written to stdout. In neither an input or output are specified then data is assumed to be on stdin. For example:

type input.coffee | coffee > output.js

Errors are written to stderr.

In the test directory there's a version of the standard CoffeeScript tests which can be kicked off using test.cmd. The test just attempts to compile the *.coffee files but doesn't execute them.

About

A shim that allows CoffeeScript to be compiled using Windows Script Host

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • CoffeeScript 99.6%
  • Shell 0.4%