From f49446993a09a417566b0ca33fdf498048edf9e5 Mon Sep 17 00:00:00 2001 From: Marcin Chrzanowski Date: Tue, 16 Feb 2021 22:09:12 -0500 Subject: Move links to self hosted git --- lib/util.rb | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 lib/util.rb (limited to 'lib') diff --git a/lib/util.rb b/lib/util.rb new file mode 100644 index 0000000..f5321a0 --- /dev/null +++ b/lib/util.rb @@ -0,0 +1,20 @@ +require './lib/pather' + +SourceDir = 'src' +BuildDir = 'public' + +def src filename + File.join SourceDir, filename +end + +def build filename + File.join BuildDir, filename +end + +def path_to asset_id + P.path_to asset_id +end + +def git repo + "https://git.m-chrzan.xyz/#{repo}/about" +end -- cgit v1.2.3