Skip to content

Commit

Permalink
Create the empty assets dir in the right place.
Browse files Browse the repository at this point in the history
Fixes #53.
  • Loading branch information
aduros committed Oct 25, 2012
1 parent c75d3ce commit 52eb12f
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion tools/flashdevelop/build-fdz
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,19 @@ set -e
PLUGIN_ROOT=`readlink -f $(dirname $0)`
cd "$PLUGIN_ROOT"

BASE_DIR='$(BaseDir)/Projects/380 HaXe - Flambe Project'

# Sanity check
if [ ! -d "$BASE_DIR" ]; then
echo "Could not find directory: $BASE_DIR"
exit 1
fi

FDZ="flambe-FlashDevelop.fdz"
rm -f "$FDZ"
git ls-files '$(BaseDir)' | zip "$FDZ" -@

# Include an empty assets directory, since git can't handle empty dirs
ASSET_DIR='$(BaseDir)/Projects/401 HaXe - Flambe Project/assets/bootstrap'
ASSET_DIR="$BASE_DIR/assets/bootstrap"
mkdir -p "$ASSET_DIR"
zip "$FDZ" "$ASSET_DIR"

0 comments on commit 52eb12f

Please sign in to comment.