From f60c7eae73b9dff2d1f56f8ec0a68b03220b46f5 Mon Sep 17 00:00:00 2001 From: Dan Poltawski Date: Fri, 14 Oct 2016 08:29:51 +0100 Subject: [PATCH] MDL-56436 mustache: update import docs --- lib/mustache/readme_moodle.txt | 34 +++++++++------------------------- 1 file changed, 9 insertions(+), 25 deletions(-) diff --git a/lib/mustache/readme_moodle.txt b/lib/mustache/readme_moodle.txt index 6938c7dd2c4..27e56b4f9fc 100644 --- a/lib/mustache/readme_moodle.txt +++ b/lib/mustache/readme_moodle.txt @@ -1,29 +1,13 @@ Description of Mustache library import into moodle. -Clone from https://github.com/moodle/custom-mustache.php +1) Download the latest version of mustache.php from upstream (found +at https://github.com/bobthecow/mustache.php/releases) -Rebase onto latest tag from https://github.com/bobthecow/mustache.php +2) Move the src/ and LICENSE file into lib/mustache -Delete folder "test" - -Delete phpunit.xml.dist - -Delete hidden files ".*" - -Delete hidden directories ".git" - -Delete folder "bin" - -Delete folder "vendor" - -Delete composer.json - -Copy into this folder, and update this readme to cover any changes. - -== 3.1 == - -Update from version 2.9.0 to 2.10.0 - -== 3.2 == - -Update from version 2.10.0 to 2.11.1 +e.g. +wget https://github.com/bobthecow/mustache.php/archive/v2.11.1.zip +unzip v2.11.1.zip +cd mustache.php-2.11.1/ +mv src /path/to/moodle/lib/mustache/ +mv LICENSE /path/to/moodle/lib/mustache/