#!/bin/sh

rm -Rf build/*
cp -R haxelib.json haxedoc.xml src demo LICENSE.txt README.md build-detox.hxml build-jquery.hxml build

cd build
zip -r package.zip haxelib.json haxedoc.xml src demo LICENSE.txt README.md build-detox.hxml build-jquery.hxml
cd ..

#!/bin/sh

mkdir -p build

rm -Rf build/*
cp -R haxelib.json haxedoc.xml src demo LICENSE.txt README.md build-detox.hxml build-jquery.hxml build

cd build
zip -r package.zip haxelib.json haxedoc.xml src demo LICENSE.txt README.md build-detox.hxml build-jquery.hxml
cd ..

Add directory if it doesn't exist
Add directory if it doesn't exist
