m-chrzan.xyz
aboutsummaryrefslogtreecommitdiff
path: root/lib/util.rb
blob: f5321a04c919a28ee7c49b8d92759e21643681d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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