File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -57,6 +57,7 @@ CLEAN_DEPS = \
5757 clean-kolibri \
5858 clean-apps-bundle \
5959 clean-collections \
60+ clean-endless-key-kolibri-home \
6061 clean-local-kolibri-explore-plugin \
6162 clean-loadingScreen
6263CLEAN_FILES = \
@@ -145,6 +146,15 @@ clean-apps-bundle:
145146src/apps-bundle : clean-apps-bundle apps-bundle.zip
146147 unzip -qo apps-bundle.zip -d src/apps-bundle
147148
149+ clean-endless-key-kolibri-home :
150+ - rm -rf src/endless-key-kolibri-home
151+
152+ src/endless-key-kolibri-home : src/collections
153+ export KOLIBRI_HOME=src/endless-key-kolibri-home
154+ cat src/collections/artist-0001.json | jq ' .channels[] | .id' | xargs -n1 echo kolibri manage importchannel network
155+ cat src/collections/artist-0001.json | jq ' .channels[] | .id' | xargs -n1 echo kolibri manage importcontent --manifest=src/collections/artist-0001.json network
156+ kolibri manage deprovision
157+
148158.PHONY : collections.zip
149159collections.zip :
150160 wget -N https://github.com/endlessm/endless-key-collections/releases/latest/download/collections.zip
@@ -193,6 +203,7 @@ DIST_DEPS = \
193203 src/kolibri \
194204 src/apps-bundle \
195205 src/collections \
206+ src/endless-key-kolibri-home \
196207 assets/loadingScreen \
197208 needs-version \
198209 dist/version.json
Original file line number Diff line number Diff line change 11cython ~= 0.29
22virtualenv
33git+https://github.com/endlessm/python-for-android@v2022.09.04-endless10#egg=python-for-android
4+ kolibri
You can’t perform that action at this time.
0 commit comments