Cannot run Mocha with CoffeeScript

前端 未结 6 1536
感动是毒
感动是毒 2020-12-14 00:02

Makefile - Content:

REPORTER = dot

all: build

build:
    @./node_modules/coffee-script/bin/coffee \\
        -c \\
        -o lib src

clean:
    rm -rf li         


        
6条回答
  •  误落风尘
    2020-12-14 01:02

    From CoffeeScript 1.7 onwards, the option should be:

    --compilers coffee:coffee-script/register
    

    An issue was filed on Mocha's github site.

提交回复
热议问题