Skip to content

Commit

Permalink
rename module
Browse files Browse the repository at this point in the history
  • Loading branch information
jamie-mh committed Sep 27, 2024
1 parent 792b42c commit bcd9a8e
Show file tree
Hide file tree
Showing 14 changed files with 23 additions and 23 deletions.
2 changes: 1 addition & 1 deletion build_aegis_icons.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

from util.basic_builder import BasicBuildSettings, build_basic_pack
from builder.basic_builder import BasicBuildSettings, build_basic_pack


def main():
Expand Down
2 changes: 1 addition & 1 deletion build_extra_icons.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

from util.basic_builder import BasicBuildSettings, build_basic_pack
from builder.basic_builder import BasicBuildSettings, build_basic_pack


def main():
Expand Down
10 changes: 5 additions & 5 deletions build_font_awesome.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@
import tempfile
from os import path

from util import icon_pack_pb2
from util.git import clone_repo
from util.image import render_svg_as_png, optimise_png, get_tinted_svg
from util.log import LOG
from util.pack import add_png_files_to_pack
from builder import icon_pack_pb2
from builder.git import clone_repo
from builder.image import render_svg_as_png, optimise_png, get_tinted_svg
from builder.log import LOG
from builder.pack import add_png_files_to_pack

REPO_URL = "https://github.com/FortAwesome/Font-Awesome.git"

Expand Down
12 changes: 6 additions & 6 deletions build_simple_icons.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@
import tempfile
from os import path

from util import icon_pack_pb2
from util.git import clone_repo
from util.image import render_svg_as_png, optimise_png, get_tinted_svg
from util.log import LOG
from util.pack import add_png_files_to_pack
from util.text import slug
from builder import icon_pack_pb2
from builder.git import clone_repo
from builder.image import render_svg_as_png, optimise_png, get_tinted_svg
from builder.log import LOG
from builder.pack import add_png_files_to_pack
from builder.text import slug

from typing import Callable

Expand Down
2 changes: 1 addition & 1 deletion build_super_tiny_icons.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env python3

from util.basic_builder import BasicBuildSettings, build_basic_pack
from builder.basic_builder import BasicBuildSettings, build_basic_pack


def main():
Expand Down
File renamed without changes.
10 changes: 5 additions & 5 deletions util/basic_builder.py → builder/basic_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
from os import path
from typing import Optional

from util import icon_pack_pb2
from util.git import clone_repo
from util.image import render_svg_as_png, optimise_png, resize_png
from util.log import LOG
from util.pack import add_png_files_to_pack
from builder import icon_pack_pb2
from builder.git import clone_repo
from builder.image import render_svg_as_png, optimise_png, resize_png
from builder.log import LOG
from builder.pack import add_png_files_to_pack


class BasicBuildSettings:
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion util/image.py → builder/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

import cairosvg

from util import ICON_SIZE
from builder import ICON_SIZE


def render_svg_as_png(source: str, dest: str):
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions util/pack.py → builder/pack.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import os

from util.icon_pack_pb2 import IconPack
from util.log import LOG
from util.text import slug
from builder.icon_pack_pb2 import IconPack
from builder.log import LOG
from builder.text import slug


def add_png_files_to_pack(pack: IconPack, build_dir: str):
Expand Down
File renamed without changes.

0 comments on commit bcd9a8e

Please sign in to comment.