aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-05-11 16:25:55 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-05-11 17:05:35 +0300
commit49cce16baa7ec26af089a50c9bcb6d2eebbcaf2a (patch)
treeb3a4650c4861618cf1584a508993b503dd4b2143
parent1e85919e1c3af7424a4d5bc6aef6c97b8f55c957 (diff)
Establish build2 project
-rw-r--r--.gitignore4
-rw-r--r--INSTALL0
-rw-r--r--LICENSE5
-rw-r--r--NEWS0
-rw-r--r--build/.gitignore1
-rw-r--r--build/bootstrap.build10
-rw-r--r--build/root.build3
-rw-r--r--buildfile18
-rw-r--r--doc/buildfile18
-rw-r--r--manifest13
10 files changed, 72 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index 79f07d1..d3db73e 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,3 +2,7 @@
buildos-buildid
buildos-initrd
buildos-image
+
+# Generated version.
+#
+version
diff --git a/INSTALL b/INSTALL
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/INSTALL
diff --git a/LICENSE b/LICENSE
new file mode 100644
index 0000000..4ff5629
--- /dev/null
+++ b/LICENSE
@@ -0,0 +1,5 @@
+Copyright (c) 2014-2017 Code Synthesis Ltd
+
+TBC; All rights reserved
+
+@@ Keep manual under MIT?
diff --git a/NEWS b/NEWS
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/NEWS
diff --git a/build/.gitignore b/build/.gitignore
new file mode 100644
index 0000000..225c27f
--- /dev/null
+++ b/build/.gitignore
@@ -0,0 +1 @@
+config.build
diff --git a/build/bootstrap.build b/build/bootstrap.build
new file mode 100644
index 0000000..3b8a543
--- /dev/null
+++ b/build/bootstrap.build
@@ -0,0 +1,10 @@
+# file : build/bootstrap.build
+# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+# license : TBC; see accompanying LICENSE file
+
+project = buildos
+
+using version
+using config
+using dist
+using install
diff --git a/build/root.build b/build/root.build
new file mode 100644
index 0000000..0561e4e
--- /dev/null
+++ b/build/root.build
@@ -0,0 +1,3 @@
+# file : build/root.build
+# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+# license : TBC; see accompanying LICENSE file
diff --git a/buildfile b/buildfile
new file mode 100644
index 0000000..40aef6a
--- /dev/null
+++ b/buildfile
@@ -0,0 +1,18 @@
+# file : buildfile
+# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+# license : TBC; see accompanying LICENSE file
+
+define sh: file
+sh{*}: extension =
+
+./: sh{bootstrap buildos genmacaddr init qemu-ifup} \
+ doc/ doc{INSTALL LICENSE NEWS README version} \
+ file{buildos.service manifest}
+
+doc{version}: file{manifest} # Generated by the version module.
+doc{version}: dist = true
+
+# Don't install INSTALL file. Scripts and buildos.service are installed by the
+# bootstrap script.
+#
+doc{INSTALL}@./: install = false
diff --git a/doc/buildfile b/doc/buildfile
new file mode 100644
index 0000000..aa27936
--- /dev/null
+++ b/doc/buildfile
@@ -0,0 +1,18 @@
+# file : doc/buildfile
+# copyright : Copyright (c) 2014-2017 Code Synthesis Ltd
+# license : TBC; see accompanying LICENSE file
+
+define css: file
+css{*}: extension = css
+
+./: doc{build2-buildos-manual.xhtml \
+ build2-buildos-manual-a4.pdf \
+ build2-buildos-manual-a4.ps \
+ build2-buildos-manual-letter.pdf \
+ build2-buildos-manual-letter.ps} \
+ css{code-box common doc pre-box toc} \
+ file{a4.html2ps letter.html2ps doc.html2ps} \
+ file{doc-prologue.xhtml doc-epilogue.xhtml \
+ manual.cli}
+
+./: file{cli.sh}
diff --git a/manifest b/manifest
new file mode 100644
index 0000000..06c0dd6
--- /dev/null
+++ b/manifest
@@ -0,0 +1,13 @@
+: 1
+name: buildos
+version: 0.6.0-a.0.z
+summary: build2 build OS
+license: TBC ; All rights reserved
+tags: build2, build, OS, ci, continuous, integration, testing
+description-file: README
+changes-file: NEWS
+url: https://build2.org # @@ Use the proper url and email.
+email: users@build2.org
+build-email: builds@build2.org
+depends: * build2 >= 0.5.0-
+depends: * bpkg >= 0.5.0-