Permalink
Browse files

update Makefile for commonjs target to delete existing files in outpu…

…t dir
  • Loading branch information...
1 parent 6bb4ba1 commit 8115c7cbf1b3822307773f6b8c7225870a49740a @caolan committed Feb 14, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 Makefile
View
@@ -106,6 +106,7 @@ commonjs:
# super hacky build script for browser commonjs version!
##### make commonjs browser module ######
mkdir -p $(BUILDDIR)/commonjs
+ rm -rf $(BUILDDIR)/commonjs/*
mkdir -p $(BUILDDIR)/commonjs/deps
cp deps/json2.js $(BUILDDIR)/commonjs/deps
cp deps/async.js $(BUILDDIR)/commonjs/deps

0 comments on commit 8115c7c

Please sign in to comment.