diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-28 17:28:10 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-04-28 17:28:10 +0300 |
commit | ca94add8978d70b9f15b3941c59c443374ad2ffc (patch) | |
tree | c6a077d80b14a3bba65ed99e271244a1e598dc2c | |
parent | c309184570fc79b4c99830136c573f9adf144668 (diff) |
Switch to version module
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | build/bootstrap.build | 11 | ||||
-rw-r--r-- | buildfile | 3 | ||||
-rw-r--r-- | manifest | 8 | ||||
-rw-r--r-- | version | 1 |
5 files changed, 11 insertions, 15 deletions
diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..d6021ae --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +# Generated version. +# +version diff --git a/build/bootstrap.build b/build/bootstrap.build index 0c9813a..b095cc0 100644 --- a/build/bootstrap.build +++ b/build/bootstrap.build @@ -4,16 +4,7 @@ project = msvc-linux -using build@0.4.0 - -version = 0.1.0-a1 -revision = 0 - -dist.package = $project-$version - -if ($revision != 0) - dist.package += +$revision - +using version using config using dist using install @@ -41,6 +41,9 @@ s = cl-11-32 lib-11-32 link-11-32 mt-11-32 rc-11-32 \ ./: msvc-common/exe{msvc-filter} sh{$s} \ doc{INSTALL LICENSE NEWS README version} file{manifest} +doc{version}: file{manifest} # Generated by the version module. +doc{version}: dist = true + msvc-common/: { import libs = libbutl%lib{butl} @@ -1,6 +1,6 @@ : 1 name: msvc-linux # @@ Shouldn't we change it to some more generic name? -version: 0.1.0-a1 +version: 0.1.0-b.0.z summary: MS Visual C++ driver scripts license: MIT tags: msvc, vc, c++, script @@ -10,6 +10,6 @@ url: https://build2.org # @@ Use the proper url and email. email: users@build2.org build-email: builds@build2.org requires: c++14 -depends: * build2 >= 0.4.0 -depends: * bpkg >= 0.4.0 -depends: libbutl == 0.5.0-a1 +depends: * build2 >= 0.5.0- +depends: * bpkg >= 0.5.0- +depends: libbutl == [0.5.0-b.0.1 0.5.0-b.1) diff --git a/version b/version deleted file mode 100644 index 74679d2..0000000 --- a/version +++ /dev/null @@ -1 +0,0 @@ -0.1.0-a1 |