Update zwidget
* Moved subtree scripts to tools, updated bash script for granularity * Squashed 'libraries/ZWidget/' changes from 96501b6ef1..02da8cdc0e 02da8cdc0e Added ListView::GetPreferredWidth, ListView::GetPreferredHeight, ListView::GetMinHeight 04bf153d9d Added event subscriber system 1ce55e5da2 Added Dropdown Known issues: does not hide when parent widget's visibility changes git-subtree-dir: libraries/ZWidget git-subtree-split: 02da8cdc0e0ca14443245e0aa5a25b3f8e84928b
This commit is contained in:
parent
4a3bfae42e
commit
2ef2243f7f
12 changed files with 514 additions and 12 deletions
3
tools/update-subtrees.cmd
Normal file
3
tools/update-subtrees.cmd
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
@echo off
|
||||
git subtree pull --prefix=libraries/ZWidget https://github.com/dpjudas/ZWidget master --squash
|
||||
git subtree pull --prefix=libraries/ZMusic https://github.com/ZDoom/ZMusic master --squash
|
||||
16
tools/update-subtrees.sh
Executable file
16
tools/update-subtrees.sh
Executable file
|
|
@ -0,0 +1,16 @@
|
|||
#!/bin/bash
|
||||
|
||||
pushd "$(git rev-parse --show-toplevel)" >/dev/null
|
||||
|
||||
pull() {
|
||||
if [[ "${1}" == "${2}" || "${1}" == "all" ]]
|
||||
then
|
||||
echo "fetching ${2}"
|
||||
git subtree pull --prefix="${3}" "https://github.com/${4}" "${5}" --squash || exit
|
||||
else
|
||||
echo "${2} not specified, skipping"
|
||||
fi
|
||||
}
|
||||
|
||||
pull "$1" 'zwidget' 'libraries/ZWidget' 'dpjudas/ZWidget' 'master'
|
||||
pull "$1" 'zmusic' 'libraries/ZMusic' 'ZDoom/ZMusic' 'master'
|
||||
Loading…
Add table
Add a link
Reference in a new issue