This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM node:latest | |
RUN apt-get update | |
# ttfautohint | |
RUN apt-get install -y ttfautohint | |
# otfcc depends on premake5 | |
WORKDIR /tmp | |
RUN curl -sLo premake5.tar.gz https://github.com/premake/premake-core/releases/download/v5.0.0-alpha14/premake-5.0.0-alpha14-linux.tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function plot(to_file = "graph.png") | |
dot_graph = | |
""" | |
digraph graph_name { | |
hoge -> foo | |
} | |
""" | |
mktempdir() do tmp_dir | |
dot_file_path = joinpath(tmp_dir, "tmp_graph.dot") |