savage-fontgen 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/bin/savage-fontgen +5 -3
- data/lib/{generate.py → generate} +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d5b16815df2b5d494a57bebb2bcf15821518706e
|
4
|
+
data.tar.gz: ec5b447531a5c8e40f4e6b783b840dd3c7f3c69c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7bca9a4f69eca8f7af23fe82fcded2845f42600d0442d83f2dc16230d1686bd2193e307312e7eb4bb778d9ef27c7336994c1d125875b4fcd3c0050095cbbda9e
|
7
|
+
data.tar.gz: 6d83fc6c0eec0ea23ab3ec50236112d548038e46e14575d44ddcf37acd37076672852e17e3c219616eba5412a37428f22e70feebffb3ce28324060cd579c81db
|
data/bin/savage-fontgen
CHANGED
@@ -6,7 +6,7 @@ require 'colorize'
|
|
6
6
|
require 'erubis'
|
7
7
|
require 'yaml'
|
8
8
|
|
9
|
-
VERSION = '0.1.
|
9
|
+
VERSION = '0.1.1'
|
10
10
|
|
11
11
|
options = {}
|
12
12
|
OptionParser.new do |opts|
|
@@ -47,6 +47,7 @@ OptionParser.new do |opts|
|
|
47
47
|
|
48
48
|
end.parse!
|
49
49
|
|
50
|
+
|
50
51
|
# abort "Usage: savage-fontgen source_dir [-o out_path] [options]" if options.empty? and ARGV[0].nil?
|
51
52
|
|
52
53
|
@options = options
|
@@ -54,11 +55,12 @@ def puts(*args)
|
|
54
55
|
super(*args) unless @options[:quiet]
|
55
56
|
end
|
56
57
|
|
58
|
+
@r_path = File.join(File.dirname(__FILE__), '..')
|
57
59
|
@source_path = ARGV[0]
|
58
60
|
@dest_path = options[:dest_path] || './out'
|
59
|
-
@conf_path = 'savage-conf'
|
61
|
+
@conf_path = File.join @r_path, 'savage-conf'
|
60
62
|
|
61
|
-
|
63
|
+
`#{File.join(@r_path, 'lib/generate')} #{@source_path} #{@dest_path} #{File.join(@conf_path, 'config.yaml')}`
|
62
64
|
|
63
65
|
conf = YAML.load_file File.join(@conf_path, 'config.yaml')
|
64
66
|
glyphs = YAML.load_file File.join(@dest_path, 'glyphs.yaml')
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: savage-fontgen
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Alex Clink
|
@@ -47,7 +47,7 @@ extensions: []
|
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
49
|
- bin/savage-fontgen
|
50
|
-
- lib/generate
|
50
|
+
- lib/generate
|
51
51
|
- savage-conf/config.yaml
|
52
52
|
- savage-conf/templates/preview.html.erb
|
53
53
|
- savage-conf/templates/style.css.erb
|