[mousetrap/gnome3-wip: 35/240] Simplify README. Fix pylint.sh.in.



commit b1d968e7eeddcbcaf324034f59b1b2ef8b1169a4
Author: Stoney Jackson <dr stoney gmail com>
Date:   Thu May 15 21:08:31 2014 -0400

    Simplify README. Fix pylint.sh.in.

 README           |   41 +++++++++--------------------------------
 bin/pylint.sh.in |    3 ++-
 2 files changed, 11 insertions(+), 33 deletions(-)
---
diff --git a/README b/README
index 293c533..970a9f3 100644
--- a/README
+++ b/README
@@ -1,39 +1,16 @@
 # MouseTrap
 
-## License
+License: GPL v2.0 (see COPYING)
 
-See COPYING
+## Quick Start (Fedora 18 and 20)
 
-## Quick start
+    sudo yum -y update
+    sudo yum -y install gnome-common glib2-devel intltool python-devel opencv-python python-xlib shunit2 
pylint
 
-From the mousetrap project directory:
+    git clone https://github.com/GNOME-MouseTrap/mousetrap.git
+    cd mousetrap
+    git checkout ocfw_refactor
 
-    $ bin/install.sh   # builds and installs
-    $ mousetrap
+    bin/install.sh
+    mousetrap
 
-## Other commands (primarily for developers)
-
-* bin/build.sh
-* bin/pylint.sh
-* bin/test.py
-* bin/mousetrap.sh
-
-## Developers
-
-### Building the project
-
-    $ bin/build.sh
-
-### Running in place (without installing)
-
-    $ bin/mousetrap.sh
-    
-### Running tests
-
-    $ bin/test.sh
-
-### Checking style
-
-You'll need pylint installed.
-
-    $ bin/pylint.sh
diff --git a/bin/pylint.sh.in b/bin/pylint.sh.in
index dd7dc6d..5098658 100644
--- a/bin/pylint.sh.in
+++ b/bin/pylint.sh.in
@@ -12,7 +12,8 @@ then
     if [ -d .git ]
     then
         FILES=`git status | egrep 'modified:|new file:' | grep '[.]py$' | awk '{ print $NF }'`
-    else if [ -d .svn ]
+    elif [ -d .svn ]
+    then
         FILES=`svn stat src/mouseTrap | egrep "^M|^A" | grep "[.]py$" | awk '{ print $2 }'`
     fi
 else


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]