aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2024-07-05 10:55:26 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2024-07-05 10:56:23 +0300
commit5c98800b708956240616ac8eff172202e9452791 (patch)
treeb29787932d1ec02cb843b52cc2c394f7abd20674
parent877ef47e70c1fd80973e423a5350731f976eaa37 (diff)
Drop some old backward compatibility related coderemove-outdated-code
-rw-r--r--bdep-util/buildfile17
1 files changed, 4 insertions, 13 deletions
diff --git a/bdep-util/buildfile b/bdep-util/buildfile
index 4229b62..c43ddee 100644
--- a/bdep-util/buildfile
+++ b/bdep-util/buildfile
@@ -4,10 +4,6 @@
import mods = libbutl.bash%bash{manifest-parser}
import mods += libbutl.bash%bash{standard-version}
-# @@ TMP Use the hint-based versions of the dependency declarations once the
-# toolchain requirement is 0.16.0.
-#
-
# Note that git-hooks/pre-commit script just sources bdep-git-pre-commit. The
# reason to have both scripts is to be able to configure git's pre-commit hook
# via the core.hooksPath configuration value (should refer, for example, to
@@ -16,13 +12,11 @@ import mods += libbutl.bash%bash{standard-version}
#
git-hooks/
{
-# [rule_hint=bash] exe{pre-commit}: in{pre-commit}
- exe{pre-commit}: in{pre-commit} $mods
+ [rule_hint=bash] exe{pre-commit}: in{pre-commit}
exe{pre-commit}: ../exe{bdep-git-pre-commit}: install = true
}
-#[rule_hint=bash] exe{bdep-git-pre-commit}: in{git-pre-commit}
-exe{bdep-git-pre-commit}: in{git-pre-commit} $mods
+[rule_hint=bash] exe{bdep-git-pre-commit}: in{git-pre-commit}
exe{bdep-git-pre-commit}: exe{bdep-git-pre-commit-version-check \
bdep-git-pre-commit-copyright-check}: \
@@ -30,11 +24,8 @@ exe{bdep-git-pre-commit}: exe{bdep-git-pre-commit-version-check \
exe{bdep-git-pre-commit-version-check}: in{git-pre-commit-version-check} $mods
-#[rule_hint=bash] \
-#exe{bdep-git-pre-commit-copyright-check}: in{git-pre-commit-copyright-check}
-
-exe{bdep-git-pre-commit-copyright-check}: in{git-pre-commit-copyright-check} \
- $mods
+[rule_hint=bash] \
+exe{bdep-git-pre-commit-copyright-check}: in{git-pre-commit-copyright-check}
# Install the git pre-commit hook into bdep-git-hooks/ subdirectory of, say,
# /usr/bin/.