diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-19 16:09:27 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2018-05-19 16:09:27 +0300 |
commit | 5e1725815645d1e1a33a8fce6427c764052aaf0d (patch) | |
tree | add5bcc80549f902d3c0baf4149e33a0b4412d9c | |
parent | ccfa9a4fd0d0cbfabe147ea4b70fbd28af1eceda (diff) |
Get rid of doc{version} and types for testscript and manifest in buildfiles
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | bbot/buildfile | 2 | ||||
-rw-r--r-- | buildfile | 11 | ||||
-rw-r--r-- | tests/agent/buildfile | 2 | ||||
-rw-r--r-- | tests/integration/buildfile | 2 | ||||
-rw-r--r-- | tests/machine/buildfile | 2 | ||||
-rw-r--r-- | unit-tests/bootstrap-manifest/buildfile | 2 | ||||
-rw-r--r-- | unit-tests/machine-manifest/buildfile | 2 |
8 files changed, 7 insertions, 20 deletions
@@ -13,7 +13,3 @@ *.exe.dlls/ *.exe.manifest *.pc - -# Generated version. -# -version diff --git a/bbot/buildfile b/bbot/buildfile index e6df687..3675ee6 100644 --- a/bbot/buildfile +++ b/bbot/buildfile @@ -38,7 +38,7 @@ libu{bbot}: {hxx ixx txx cxx}{* -common-options -version} \ {hxx ixx cxx}{common-options} {hxx}{version} \ $libs -hxx{version}: in{version} $src_root/file{manifest} +hxx{version}: in{version} $src_root/manifest # Generated options parser. # @@ -2,16 +2,7 @@ # copyright : Copyright (c) 2014-2017 Code Synthesis Ltd # license : TBC; see accompanying LICENSE file -./: {*/ -tests/ -build/} doc{INSTALL LICENSE NEWS README version} \ - file{manifest} - -# The version file is auto-generated (by the version module) from manifest. -# Include it in distribution and don't remove when cleaning in src (so that -# clean results in a state identical to distributed). -# -doc{version}: file{manifest} -doc{version}: dist = true -doc{version}: clean = ($src_root != $out_root) +./: {*/ -tests/ -build/} doc{INSTALL LICENSE NEWS README} manifest # Don't install tests or the INSTALL file. # diff --git a/tests/agent/buildfile b/tests/agent/buildfile index 8775cbd..9d91446 100644 --- a/tests/agent/buildfile +++ b/tests/agent/buildfile @@ -6,5 +6,5 @@ # import agent = bbot%exe{bbot-agent} -./: test{testscript} file{btrfs-*} $agent +./: testscript file{btrfs-*} $agent dir{./}: test = $agent diff --git a/tests/integration/buildfile b/tests/integration/buildfile index 2f33955..47d3534 100644 --- a/tests/integration/buildfile +++ b/tests/integration/buildfile @@ -7,5 +7,5 @@ import agent = bbot%exe{bbot-agent} import worker = bbot%exe{bbot-worker} -./: test{testscript} file{tftp-map} $agent $worker +./: testscript file{tftp-map} $agent $worker dir{./}: test = $agent diff --git a/tests/machine/buildfile b/tests/machine/buildfile index fb532fc..e96d0c5 100644 --- a/tests/machine/buildfile +++ b/tests/machine/buildfile @@ -6,5 +6,5 @@ # import agent = bbot%exe{bbot-agent} -./: test{testscript} $agent +./: testscript $agent dir{./}: test = $agent diff --git a/unit-tests/bootstrap-manifest/buildfile b/unit-tests/bootstrap-manifest/buildfile index c628833..41b3c79 100644 --- a/unit-tests/bootstrap-manifest/buildfile +++ b/unit-tests/bootstrap-manifest/buildfile @@ -3,4 +3,4 @@ # license : TBC; see accompanying LICENSE file include ../../bbot/ -exe{driver}: {hxx cxx}{*} ../../bbot/libu{bbot} test{testscript} +exe{driver}: {hxx cxx}{*} ../../bbot/libu{bbot} testscript diff --git a/unit-tests/machine-manifest/buildfile b/unit-tests/machine-manifest/buildfile index 6d47d77..d71de87 100644 --- a/unit-tests/machine-manifest/buildfile +++ b/unit-tests/machine-manifest/buildfile @@ -3,4 +3,4 @@ # license : TBC; see accompanying LICENSE file include ../../bbot/ -exe{driver}: {hxx cxx}{*} ../../bbot/libu{bbot} test{testscript} +exe{driver}: {hxx cxx}{*} ../../bbot/libu{bbot} testscript |