Skip to content

Commit

Permalink
port all scripts into gftools subcommands
Browse files Browse the repository at this point in the history
  • Loading branch information
felipesanches committed Nov 4, 2017
1 parent 437c5bb commit 501e2fa
Show file tree
Hide file tree
Showing 18 changed files with 4 additions and 233 deletions.
File renamed without changes.
2 changes: 1 addition & 1 deletion add_font.py → bin/gftools-add-font.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
import re
import sys
import time
import fonts_public_pb2 as fonts_pb2
import gftools.fonts_public_pb2 as fonts_pb2
from google.protobuf import text_format
from google.apputils import app
import gflags as flags
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions sanity_check.py → bin/gftools-sanity-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,8 @@ def _WriteRepairScript(dest_file, results):
out.write('import contextlib\n')
out.write('from fontTools import ttLib\n')
out.write('from google.protobuf.text_format import text_format\n')
out.write('from fonts_public_pb2 import fonts_pb2\n')
out.write('from fonts_public_pb2 '
out.write('from gftools.fonts_public_pb2 import fonts_pb2\n')
out.write('from gftools.fonts_public_pb2 '
'import fonts_metadata_pb2\n')
out.write('\n')

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
30 changes: 0 additions & 30 deletions fonts_public.proto

This file was deleted.

199 changes: 0 additions & 199 deletions fonts_public_pb2.py

This file was deleted.

2 changes: 1 addition & 1 deletion util/google_fonts.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

from fontTools import ttLib

import fonts_public_pb2 as fonts_pb2
import gftools.fonts_public_pb2 as fonts_pb2
from google.protobuf import text_format
import gflags as flags
from util import py_subsets
Expand Down

0 comments on commit 501e2fa

Please sign in to comment.