mirror of
https://github.com/jimeh/dotify.git
synced 2026-02-19 10:06:39 +00:00
Massive restructuring code-base
This commit is contained in:
4
build.sh
4
build.sh
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user