Uploaded image for project: 'Moodle app'
  1. Moodle app
  2. MOBILE-2241

Don't include original JS files to remote addon zip file

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.3.2
    • Fix Version/s: 3.4.0
    • Component/s: Gulp, Remote addons
    • Labels:
    • Testing Instructions:
      Hide
      1. Configure the development environment for Moodle Mobile.
      2. Using the command line, go to the root folder of the MM project and run this command:

        gulp remoteaddon -p www/addons/grades/
        

      3. Open the folder www/addons/grades and check there is a grades.zip file in it.
      4. Unzip the file. Check that it includes an addon.js and a styles.css file, and the templates folder includes all the html files. Check that the controllers, scss and services folders are empty.
      Show
      Configure the development environment for Moodle Mobile . Using the command line, go to the root folder of the MM project and run this command: gulp remoteaddon -p www/addons/grades/ Open the folder www/addons/grades and check there is a grades.zip file in it. Unzip the file. Check that it includes an addon.js and a styles.css file, and the templates folder includes all the html files. Check that the controllers , scss and services folders are empty.
    • Affected Branches:
      MOODLE_33_STABLE
    • Fixed Branches:
      MOODLE_34_STABLE
    • Sprint:
      Moodle Mobile 3.4.0

      Description

      Suggested in the forum:

      https://moodle.org/mod/forum/discuss.php?d=358391

      We package all the JS code in an addon.js file, so the original files aren't needed and can be excluded from the packaged file.

        Attachments

          Activity

            People

            Assignee:
            dpalou Dani Palou
            Reporter:
            dpalou Dani Palou
            Peer reviewer:
            Pau Ferrer
            Integrator:
            Juan Leyva
            Tester:
            Pau Ferrer
            Participants:
            Component watchers:
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              30/Nov/17