Commits

Anonymous committed 9373a21

updated README

  • Participants
  • Parent commits af87cf7

Comments (0)

Files changed (1)

 To build the sample sources edit project path in *src/manifest.sample.json* to
 match your configuration, then type::
 
-    ./dragee -v build -x -o -r src/manifest.sample.json
+    ./dragee.py -v build -x -o -r src/manifest.sample.json
 
 This does the following:
 
 If you would like to copy the generated images to their respective directory
 in *res/drawable* then use the following command::
 
-    ./dragee -v build -c src/manifest.sample.json
+    ./dragee.py -v build -c src/manifest.sample.json
+
+If you'd like to work with a certain file defined in the manifest:
+
+    ./dragee.py -v build -s vd_logo -c src/manifest.sample.json
 
 This will read the path to your project path from the manifest file and
 copy the assets to the *res/drawable-<DENSITY>* (if you have previously
 
 For help on commands and options use::
 
-    ./dragee -h
-    *or:* ./dragee {command} -h
-    *eg.*	./dragee build -h
+    ./dragee.py -h
+    *or:* ./dragee.py {command} -h
+    *eg.* ./dragee.py build -h
 
 To use dragee you may need to first add executable permission::
 
-    chmod a+x dragee
-
-Manifest files
---------------
-
-Manifest files contain information on how to resize and where to copy images.
-Here is a full length example of a manifest file:
-
-    {
-      "defaults": {
-        "project_path": "/absolute/path/to/project",
-        "path_pattern": "{project_path}/res/drawable-{group}/{export_name}.png",
-        "patterns": {
-            "web": "{project_path}/{export_name}-{group}.png"
-          },
-        "groups": {
-            "ldpi": "75%",
-            "mdpi": "100%",
-            "hdpi": "150%",
-            "xhdpi": "200%",
-            "xxhdpi": "300%",
-            "web": 512
-        }
-      },
-      "sources": {
-        "logo": {
-          "export_width": 1024,
-          "export_name": "ic_launcher"
-        },
-        "vd_text": {
-          "export_width": 1762,
-          "base_size": 480,
-          "exclude": "web"
-        }
-      }
-    }
-
+    chmod a+x dragee.py
 
 Requirements to build
 ---------------------