aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2015-06-18 17:40:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2015-06-18 17:40:06 +0200
commit82ad80de9a967f253026c4874b47486c69402288 (patch)
tree8bdc35b1a59e324b401291d7ea015cc0deb00c7d
parent902f3763af4931c5c04c47d10e4d24dba96487cd (diff)
Add headers to buildfiles, move tests/build/ to tests/
-rw-r--r--build/bootstrap.build4
-rw-r--r--build/buildfile4
-rw-r--r--build/root.build4
-rw-r--r--buildfile6
-rw-r--r--tests/build/buildfile3
-rw-r--r--tests/build/lexer/buildfile1
-rw-r--r--tests/build/parser/buildfile2
-rw-r--r--tests/buildfile7
-rw-r--r--tests/lexer/buildfile5
-rw-r--r--tests/lexer/driver.cxx (renamed from tests/build/lexer/driver.cxx)0
-rw-r--r--tests/parser/buildfile6
-rw-r--r--tests/parser/driver.cxx (renamed from tests/build/parser/driver.cxx)0
l---------tests/semantics/include/buildfile (renamed from tests/build/semantics/include/buildfile)0
-rw-r--r--tests/semantics/include/includee1 (renamed from tests/build/semantics/include/includee1)0
-rw-r--r--tests/semantics/include/includee2 (renamed from tests/build/semantics/include/includee2)0
-rw-r--r--tests/semantics/include/includee4 (renamed from tests/build/semantics/include/includee4)0
-rw-r--r--tests/semantics/include/includer (renamed from tests/build/semantics/include/includer)0
-rw-r--r--tests/semantics/include/nested/includee3 (renamed from tests/build/semantics/include/nested/includee3)0
-rw-r--r--tests/semantics/include/nested/includee5 (renamed from tests/build/semantics/include/nested/includee5)0
-rw-r--r--tests/semantics/include/test.std (renamed from tests/build/semantics/include/test.std)0
l---------tests/semantics/source/buildfile (renamed from tests/build/semantics/source/buildfile)0
-rw-r--r--tests/semantics/source/nested/sourcee3 (renamed from tests/build/semantics/source/nested/sourcee3)0
-rw-r--r--tests/semantics/source/sourcee1 (renamed from tests/build/semantics/source/sourcee1)0
-rw-r--r--tests/semantics/source/sourcee2 (renamed from tests/build/semantics/source/sourcee2)0
-rw-r--r--tests/semantics/source/sourcer (renamed from tests/build/semantics/source/sourcer)0
-rw-r--r--tests/semantics/source/test.std (renamed from tests/build/semantics/source/test.std)0
26 files changed, 35 insertions, 7 deletions
diff --git a/build/bootstrap.build b/build/bootstrap.build
index 87f9df2..3dce047 100644
--- a/build/bootstrap.build
+++ b/build/bootstrap.build
@@ -1,2 +1,6 @@
+# file : build/bootstrap.build
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
project = build2
using config
diff --git a/build/buildfile b/build/buildfile
index 4cb9c59..b9c1ca2 100644
--- a/build/buildfile
+++ b/build/buildfile
@@ -1,3 +1,7 @@
+# file : build/buildfile
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
import libs += libbutl
config = config/{operation module utility}
diff --git a/build/root.build b/build/root.build
index 89d8251..dc1c297 100644
--- a/build/root.build
+++ b/build/root.build
@@ -1,3 +1,7 @@
+# file : build/root.build
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
using cxx
cxx.std = 14
diff --git a/buildfile b/buildfile
index c2467c8..5d3cec0 100644
--- a/buildfile
+++ b/buildfile
@@ -1,3 +1,7 @@
-d = build/ tests/build/
+# file : buildfile
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+d = build/ tests/
.: $d
include $d
diff --git a/tests/build/buildfile b/tests/build/buildfile
deleted file mode 100644
index 8d7e692..0000000
--- a/tests/build/buildfile
+++ /dev/null
@@ -1,3 +0,0 @@
-d=
-.: $d
-include $d
diff --git a/tests/build/lexer/buildfile b/tests/build/lexer/buildfile
deleted file mode 100644
index 415c64c..0000000
--- a/tests/build/lexer/buildfile
+++ /dev/null
@@ -1 +0,0 @@
-exe{driver}: cxx{driver ../../../build/{lexer diagnostics utility}}
diff --git a/tests/build/parser/buildfile b/tests/build/parser/buildfile
deleted file mode 100644
index c924dcb..0000000
--- a/tests/build/parser/buildfile
+++ /dev/null
@@ -1,2 +0,0 @@
-exe{driver}: cxx{driver ../../../build/{lexer parser scope target native \
- prerequisite context diagnostics utility path timestamp}}
diff --git a/tests/buildfile b/tests/buildfile
new file mode 100644
index 0000000..d53e326
--- /dev/null
+++ b/tests/buildfile
@@ -0,0 +1,7 @@
+# file : tests/buildfile
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+d=
+.: $d
+include $d
diff --git a/tests/lexer/buildfile b/tests/lexer/buildfile
new file mode 100644
index 0000000..3aca207
--- /dev/null
+++ b/tests/lexer/buildfile
@@ -0,0 +1,5 @@
+# file : tests/lexer/buildfile
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+exe{driver}: cxx{driver ../../../build/{lexer diagnostics utility}}
diff --git a/tests/build/lexer/driver.cxx b/tests/lexer/driver.cxx
index f77656d..f77656d 100644
--- a/tests/build/lexer/driver.cxx
+++ b/tests/lexer/driver.cxx
diff --git a/tests/parser/buildfile b/tests/parser/buildfile
new file mode 100644
index 0000000..5cbcaca
--- /dev/null
+++ b/tests/parser/buildfile
@@ -0,0 +1,6 @@
+# file : tests/parser/buildfile
+# copyright : Copyright (c) 2014-2015 Code Synthesis Ltd
+# license : MIT; see accompanying LICENSE file
+
+exe{driver}: cxx{driver ../../../build/{lexer parser scope target native \
+ prerequisite context diagnostics utility path timestamp}}
diff --git a/tests/build/parser/driver.cxx b/tests/parser/driver.cxx
index fef2f41..fef2f41 100644
--- a/tests/build/parser/driver.cxx
+++ b/tests/parser/driver.cxx
diff --git a/tests/build/semantics/include/buildfile b/tests/semantics/include/buildfile
index 361dcf4..361dcf4 120000
--- a/tests/build/semantics/include/buildfile
+++ b/tests/semantics/include/buildfile
diff --git a/tests/build/semantics/include/includee1 b/tests/semantics/include/includee1
index 70ed3fc..70ed3fc 100644
--- a/tests/build/semantics/include/includee1
+++ b/tests/semantics/include/includee1
diff --git a/tests/build/semantics/include/includee2 b/tests/semantics/include/includee2
index 762825b..762825b 100644
--- a/tests/build/semantics/include/includee2
+++ b/tests/semantics/include/includee2
diff --git a/tests/build/semantics/include/includee4 b/tests/semantics/include/includee4
index 4964d81..4964d81 100644
--- a/tests/build/semantics/include/includee4
+++ b/tests/semantics/include/includee4
diff --git a/tests/build/semantics/include/includer b/tests/semantics/include/includer
index 70527a5..70527a5 100644
--- a/tests/build/semantics/include/includer
+++ b/tests/semantics/include/includer
diff --git a/tests/build/semantics/include/nested/includee3 b/tests/semantics/include/nested/includee3
index 7196e82..7196e82 100644
--- a/tests/build/semantics/include/nested/includee3
+++ b/tests/semantics/include/nested/includee3
diff --git a/tests/build/semantics/include/nested/includee5 b/tests/semantics/include/nested/includee5
index b4c9c74..b4c9c74 100644
--- a/tests/build/semantics/include/nested/includee5
+++ b/tests/semantics/include/nested/includee5
diff --git a/tests/build/semantics/include/test.std b/tests/semantics/include/test.std
index 559584c..559584c 100644
--- a/tests/build/semantics/include/test.std
+++ b/tests/semantics/include/test.std
diff --git a/tests/build/semantics/source/buildfile b/tests/semantics/source/buildfile
index b6d1987..b6d1987 120000
--- a/tests/build/semantics/source/buildfile
+++ b/tests/semantics/source/buildfile
diff --git a/tests/build/semantics/source/nested/sourcee3 b/tests/semantics/source/nested/sourcee3
index cdf51fb..cdf51fb 100644
--- a/tests/build/semantics/source/nested/sourcee3
+++ b/tests/semantics/source/nested/sourcee3
diff --git a/tests/build/semantics/source/sourcee1 b/tests/semantics/source/sourcee1
index 683cd1f..683cd1f 100644
--- a/tests/build/semantics/source/sourcee1
+++ b/tests/semantics/source/sourcee1
diff --git a/tests/build/semantics/source/sourcee2 b/tests/semantics/source/sourcee2
index c989838..c989838 100644
--- a/tests/build/semantics/source/sourcee2
+++ b/tests/semantics/source/sourcee2
diff --git a/tests/build/semantics/source/sourcer b/tests/semantics/source/sourcer
index eb1310e..eb1310e 100644
--- a/tests/build/semantics/source/sourcer
+++ b/tests/semantics/source/sourcer
diff --git a/tests/build/semantics/source/test.std b/tests/semantics/source/test.std
index 84d94b7..84d94b7 100644
--- a/tests/build/semantics/source/test.std
+++ b/tests/semantics/source/test.std