From 17f52a4731cb9c76d69be1580ce7ae484bcc5357 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Enrique=20Garc=C3=ADa?= Date: Tue, 7 Dec 2010 23:54:17 +0100 Subject: [PATCH] updated README --- README.textile | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/README.textile b/README.textile index ac44e6d..38a474a 100644 --- a/README.textile +++ b/README.textile @@ -54,15 +54,30 @@ This will create a folder called @middleclass@. You can require it using: If you have @?/init.lua@ included in your @package.path@ variable, you can remove the @.init@ part. -h1. Manual download & install +If you ever want to update middleclass, you can use the following commands: +
+cd your/path/to/middleclass
+git pull origin master
+
+ +Git will automatically update middleclass for you. + +h1. Manual download + +Middleclass can be directly downloaded using "the github downloader":https://github.com/kikito/middleclass/archives/master + +You will not be able to get automatic updates with that method, but your folder size will be smaller. As an alternative, you can directly download "middleclass.lua":https://github.com/kikito/middleclass/raw/master/middleclass.lua and "BSD-LICENSE.txt":https://github.com/kikito/middleclass/raw/master/BSD-LICENSE.txt and put them in your project. -Then you can require it like this: +In that case, you will have to require it doing something like this (will vary if you put middleclass.lua inside a folder): +
   require 'middleclass'
 
+(This assumes you have @?.lua@ in your @package.path@, which is the default) + You will have to put BSD-LICENSE.txt somewhere in your folder, or copy-paste it inside of your own license.txt file. h1. middleclass-extras