From bda6878ea3b9cb8bdb2d4e2fc96fc98ca84f04d4 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Fri, 28 Apr 2017 15:28:58 +0200 Subject: Switch to version module --- build/bootstrap.build | 11 +---------- buildfile | 4 ++-- manifest | 4 ++-- 3 files changed, 5 insertions(+), 14 deletions(-) diff --git a/build/bootstrap.build b/build/bootstrap.build index 790c316..4135f57 100644 --- a/build/bootstrap.build +++ b/build/bootstrap.build @@ -1,15 +1,6 @@ project = hello0 -using build@0.4.0 - -version = 1.0.0 -revision = 0 - -dist.package = $project-$version - -if ($revision != 0) - dist.package += +$revision - +using version using config using dist using test diff --git a/buildfile b/buildfile index d85744d..6bdabe2 100644 --- a/buildfile +++ b/buildfile @@ -1,4 +1,4 @@ +./: exe{hello} doc{README} file{manifest} + exe{hello}: cxx{hello} exe{hello}: test.arguments = World - -./: exe{hello} doc{README} file{manifest} diff --git a/manifest b/manifest index 7dc3173..f40b09e 100644 --- a/manifest +++ b/manifest @@ -7,5 +7,5 @@ url: http://example.org/hello0 email: hello0@example.org build-email: builds@build2.org requires: c++11 -depends: * build2 >= 0.4.0 -depends: * bpkg >= 0.4.0 +depends: * build2 >= 0.5.0- +depends: * bpkg >= 0.5.0- -- cgit v1.1