mv docs/versions.json docs/packages.json

See https://github.com/mxe/mxe/issues/1422
pull/1602/head
Boris Nagaev 8 years ago
parent ad43c7004d
commit f06ef1c01b

@ -2,7 +2,7 @@ language: c
sudo: false
script:
- make docs/build-matrix.html docs/versions.json
- make docs/build-matrix.html docs/packages.json
- if [ "$GH_TOKEN" != "" ]; then ./tools/travis-push.sh; fi
- make download -j 6 -k MXE_PLUGIN_DIRS="$(./tools/plugins-with-additional-packages.sh)"

@ -864,8 +864,8 @@ docs/build-matrix.html: $(foreach 1,$(PKGS),$(PKG_MAKEFILES))
@echo '</body>' >> $@
@echo '</html>' >> $@
.PHONY: docs/versions.json
docs/versions.json: $(foreach 1,$(PKGS),$(PKG_MAKEFILES))
.PHONY: docs/packages.json
docs/packages.json: $(foreach 1,$(PKGS),$(PKG_MAKEFILES))
@echo '{' > $@
@{$(foreach PKG,$(PKGS), \
echo ' "$(PKG)": \

@ -2827,7 +2827,7 @@ local-pkg-list: $(LOCAL_PKG_LIST)</pre>
}
function loadVersionCache(doneCallback) {
var request = new XMLHttpRequest();
request.open('GET', 'versions.json', true);
request.open('GET', 'packages.json', true);
request.onreadystatechange = function reqCallback() {
if (request.readyState === 4) {
if (request.status === 200) {

@ -56,7 +56,7 @@ _mxe()
;;
[!-]*)
pkgs+=" docs/build-matrix.html \
docs/versions.json \
docs/packages.json \
check-requirements \
clean \
clean-junk \

@ -8,5 +8,5 @@ git config --global push.default simple
git config credential.helper "store --file=.git/credentials"
echo "https://${GH_TOKEN}:@github.com" > .git/credentials
git remote set-url origin 'https://github.com/mxe/mxe.git'
git commit -a -m 'Update versions.json & build-matrix.html' || true
git commit -a -m 'Update packages.json & build-matrix.html' || true
git push origin HEAD:master

Loading…
Cancel
Save