Skip to content

Commit

Permalink
Fix build script (no more core or vim files
Browse files Browse the repository at this point in the history
  • Loading branch information
rysson committed Jun 20, 2018
1 parent 7f2aee9 commit b5bfc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ if [[ "$do_build" = y ]]; then
else
echo "--- [ $addon // $ver ]"
mkdir -p "$out/$addon"
zip -r "$out/$addon/$addon-$ver.zip" "$addon" -x '*.pyc' '*.pyo'
zip -r "$out/$addon/$addon-$ver.zip" "$addon" -x '*.pyc' '*.pyo' '*/core' '*/.*.sw?' '*/.git'
fi
done <<< $(awk '/<addon id=/ { print(gensub("^.* id=\"([^\"]*)\".* version=\"([^\"]*)\".*$", "\\1 \\2", 1))}' "$out/addons.xml")
fi
Expand Down

0 comments on commit b5bfc50

Please sign in to comment.