diff --git a/.travis.yml b/.travis.yml index 937c3236..aa8b2157 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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)" diff --git a/Makefile b/Makefile index 044adb56..f8ea6da1 100644 --- a/Makefile +++ b/Makefile @@ -864,8 +864,8 @@ docs/build-matrix.html: $(foreach 1,$(PKGS),$(PKG_MAKEFILES)) @echo '' >> $@ @echo '' >> $@ -.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)": \ diff --git a/docs/index.html b/docs/index.html index a2b5c59a..67ba60ea 100644 --- a/docs/index.html +++ b/docs/index.html @@ -2827,7 +2827,7 @@ local-pkg-list: $(LOCAL_PKG_LIST) } 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) { diff --git a/docs/versions.json b/docs/packages.json similarity index 100% rename from docs/versions.json rename to docs/packages.json diff --git a/tools/mxe-activate b/tools/mxe-activate index 1abffb89..3d45e78c 100644 --- a/tools/mxe-activate +++ b/tools/mxe-activate @@ -56,7 +56,7 @@ _mxe() ;; [!-]*) pkgs+=" docs/build-matrix.html \ - docs/versions.json \ + docs/packages.json \ check-requirements \ clean \ clean-junk \ diff --git a/tools/travis-push.sh b/tools/travis-push.sh index 6a7b3f7a..c8d4b1b5 100755 --- a/tools/travis-push.sh +++ b/tools/travis-push.sh @@ -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