Adding more ignores to addon.json. Also making build.sh slightly more readable.
parent
3b67b8d125
commit
3b0dc2f4a9
|
@ -6,6 +6,11 @@
|
|||
[
|
||||
"*.git*",
|
||||
"*.svn*",
|
||||
"addon.json"
|
||||
"builds*",
|
||||
"tools*",
|
||||
"*.bat",
|
||||
"*.sh",
|
||||
"*.md",
|
||||
"LICENSE.txt"
|
||||
]
|
||||
}
|
8
build.sh
8
build.sh
|
@ -46,8 +46,12 @@ copy_flt() {
|
|||
source="$1"
|
||||
target="$2"
|
||||
|
||||
find "$source" -type "d" -not -path "$target" | while read i; do mkdir -p "$target/$(reldir $source $i)"; done
|
||||
find "$source" -name "$filter" -type "f" -not -path "$target" | while read i; do cp "$i" "$target/$(reldir $source $i)"; done
|
||||
find "$source" -type "d" -not -path "$target" | while read i; do
|
||||
mkdir -p "$target/$(reldir $source $i)"
|
||||
done
|
||||
find "$source" -name "$filter" -type "f" -not -path "$target" | while read i; do
|
||||
cp "$i" "$target/$(reldir $source $i)"
|
||||
done
|
||||
}
|
||||
|
||||
mkdir -p builds
|
||||
|
|
Loading…
Reference in New Issue