Closed IADLearning closed 6 years ago
Version 2 of this tool supports only Moodle 3.2 or later. I'm guessing it compiles slightly differently in Moodle 3.2.
This was exactly the issue. When I moved to Moodle 3.2 it worked really excellent. Many thanks for your support.
I have created Moodle plugin and added your travis.yml file. My repo is located at:
The repo contains two custom JS files in the amd/src directory:
To generate the minified version of them, I use the standard grunt task coming with Moodle 3.1.10 (latest 3.1). The process works with no issues and I get the .min version of both files.
Nevertheless, when I run the Travis CI script, I am always getting an error on one of them:
File is stale and needs to be rebuilt: amd/build/iadlearning.min.js
Looking at the code, I have seen that the error could be related to the fact that the sha1 hash of my file is different from the one you are generating.
My minified file works with no issues, and comes from the grunt task file defined by Moodle, but still generating an error.
Don't know what else I could do? Do you have any hints of why this could be happening?
Many thanks in advance.