dpm 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +49 -0
- data/lib/dpm/version.rb +1 -1
- metadata +2 -2
- data/README.rdoc +0 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5363ebe1f9d4ac0d23bc31243416edec27f1a0cb
|
4
|
+
data.tar.gz: 486cb64025f7facdbd9065520b7756dd1aac18c0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c25c863ff5e66080935271fbf533ce14ac170c6c7433a7bdcc1eda9c69fceb56bb8e0e6d7b141de824ba97d0e8656a42433cf37afe97458beabfaa083a5b0cd0
|
7
|
+
data.tar.gz: d3bc189f8429ffc90eb790c59f1336560e50740c79aaee3bcd5e3baedb7318defd505b202a3eb2a42cb5d2805d5f9148395e7c0fbf343bc1b683a74040a2e574
|
data/README.md
ADDED
@@ -0,0 +1,49 @@
|
|
1
|
+
# DPM
|
2
|
+
|
3
|
+
DPM is an experimental package manager for design assets.
|
4
|
+
|
5
|
+
### Getting started
|
6
|
+
Open a terminal and enter `gem install dpm`
|
7
|
+
|
8
|
+
### Usage
|
9
|
+
DPM is perfect for design collaboration with Sketch. A DPM Palette.json file lets you define fonts and Sketch plugins that are dependencies of your design projects.
|
10
|
+
|
11
|
+
Let's create a DPM Palette file to distribute to my team so that we can keep our fonts & Sketch plugins in sync when working on a project.
|
12
|
+
|
13
|
+
I'll create a new Palette.json file with the command `palette touch`.
|
14
|
+
|
15
|
+
This creates a skeleton Palette file in the local directory. Let's open it and add some fonts and Sketch plugins we use on this project. The resulting Palette.json file should look something like this...
|
16
|
+
|
17
|
+
```JSON
|
18
|
+
{
|
19
|
+
"name": "My Project",
|
20
|
+
"author": "Alasdair Monk",
|
21
|
+
"version": "1.0",
|
22
|
+
"fonts": [
|
23
|
+
"http://www.fontsquirrel.com/fonts/download/Inconsolata",
|
24
|
+
"http://www.fontsquirrel.com/fonts/download/junicode",
|
25
|
+
],
|
26
|
+
"sketch_plugins": [
|
27
|
+
"https://github.com/fnky/sketch-dockpreview/archive/master.zip",
|
28
|
+
"https://github.com/matt-curtis/Fluid-for-Sketch/archive/master.zip"
|
29
|
+
]
|
30
|
+
}
|
31
|
+
```
|
32
|
+
|
33
|
+
I can now run the command `dpm install`.
|
34
|
+
|
35
|
+
```sh
|
36
|
+
My Project 1.0
|
37
|
+
Downloaded 100% |oooooooooooooooooooooooooooooooooooooooo| 34.9KB 278.1KB/s ETA: 0:00:00
|
38
|
+
Downloaded 100% |oooooooooooooooooooooooooooooooooooooooo| 1.4MB 610.5KB/s ETA: 0:00:00
|
39
|
+
Installing fonts...
|
40
|
+
Downloaded
|
41
|
+
Downloaded 100% |oooooooooooooooooooooooooooooooooooooooo| 2.5MB 1.6MB/s ETA: 0:00:00
|
42
|
+
Installing Sketch plugins...
|
43
|
+
Palette complete. 9 fonts, 2 Sketch plugins now installed.
|
44
|
+
```
|
45
|
+
|
46
|
+
### Limitations
|
47
|
+
* DPM currently **only** supports installing from hosted zip files.
|
48
|
+
* Currenly only works with fonts and Sketch plugins
|
49
|
+
* Probably a ton of bugs
|
data/lib/dpm/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dpm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alasdair Monk
|
@@ -77,7 +77,7 @@ files:
|
|
77
77
|
- Gemfile
|
78
78
|
- Gemfile.lock
|
79
79
|
- Palette.json
|
80
|
-
- README.
|
80
|
+
- README.md
|
81
81
|
- Rakefile
|
82
82
|
- bin/dpm
|
83
83
|
- dpm.gemspec
|