Massive restructuring code-base

This commit is contained in:
2014-03-19 21:03:31 +00:00
parent 4974654e75
commit 5567a98bb3
47 changed files with 610 additions and 395 deletions

View File

@@ -1,5 +1,5 @@
#! /usr/bin/env bash
source "src/lib/dotify-version.sh"
source "src/lib/commands/version.sh"
source "src/lib/helpers/trim.sh"
resolve_link() {
@@ -46,7 +46,7 @@ output=""
while IFS= read line; do
if [[ "$line" == "#"* ]]; then
# Replace {{DOTIFY_VERSION}} placeholder in comments.
line="${line/\{\{DOTIFY_VERSION\}\}/$(dotify-version)}"
line="${line/\{\{DOTIFY_VERSION\}\}/$(dotify-command-version)}"
line="${line/\{\{COPYRIGHT_YEAR\}\}/$(date +"%Y")}"
fi