Properly copy extern bin folder in Playground
This commit is contained in:
@@ -30,7 +30,8 @@
|
||||
<set name="BUILD_DIR" value="export" />
|
||||
<classpath name="source" />
|
||||
<assets path="assets" />
|
||||
<prebuild command="mkdir bin" />
|
||||
<!-- IMPORTANT: This copies the #extern scripts generated by NAT into the project output folders: -->
|
||||
<postbuild command="copy-extern-scripts.sh" />
|
||||
<!-- _______________________________ Libraries ______________________________ -->
|
||||
|
||||
<haxelib name="flixel" />
|
||||
|
||||
@@ -0,0 +1,8 @@
|
||||
#! /bin/bash
|
||||
|
||||
for dir in export/**/bin; do
|
||||
if [ -d $dir/bin ]; then
|
||||
rm -rf $dir/bin
|
||||
fi
|
||||
cp -r bin $dir/bin
|
||||
done
|
||||
Reference in New Issue
Block a user