Skip to content

Commit 8115c7c

Browse files
author
Caolan McMahon
committed
update Makefile for commonjs target to delete existing files in output dir
1 parent 6bb4ba1 commit 8115c7c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

+1
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,7 @@ commonjs:
106106
# super hacky build script for browser commonjs version!
107107
##### make commonjs browser module ######
108108
mkdir -p $(BUILDDIR)/commonjs
109+
rm -rf $(BUILDDIR)/commonjs/*
109110
mkdir -p $(BUILDDIR)/commonjs/deps
110111
cp deps/json2.js $(BUILDDIR)/commonjs/deps
111112
cp deps/async.js $(BUILDDIR)/commonjs/deps

0 commit comments

Comments
 (0)