summaryrefslogtreecommitdiff
path: root/intro2-tldr.orig
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2018-05-08 19:30:55 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2018-05-08 19:30:55 +0200
commitdc7f3cd85d61ca7af6a935c30b32d71026efdffe (patch)
treec6f4cee93b1fd68f47ae557b50f13e10f3ac320a /intro2-tldr.orig
parent64c272dfc5a40082b2a8f488e99bf758223f8a8a (diff)
Add intro2 scripts
Diffstat (limited to 'intro2-tldr.orig')
-rw-r--r--intro2-tldr.orig97
1 files changed, 97 insertions, 0 deletions
diff --git a/intro2-tldr.orig b/intro2-tldr.orig
new file mode 100644
index 0000000..02a2f65
--- /dev/null
+++ b/intro2-tldr.orig
@@ -0,0 +1,97 @@
+created new executable project hello in /tmp/hello.git/
+[master (root-commit) 6782952] first commit
+ 11 files changed, 99 insertions(+)
+ create mode 100644 .gitignore
+ create mode 100644 build/.gitignore
+ create mode 100644 build/bootstrap.build
+ create mode 100644 build/root.build
+ create mode 100644 buildfile
+ create mode 100644 hello/.gitignore
+ create mode 100644 hello/buildfile
+ create mode 100644 hello/hello.cxx
+ create mode 100644 hello/testscript
+ create mode 100644 manifest
+ create mode 100644 repositories.manifest
+
++ git clone file:///tmp/hello.git
+Cloning into 'hello'...
+
++ tree hello
+hello
+├── build
+│   ├── bootstrap.build
+│   └── root.build
+├── buildfile
+├── hello
+│   ├── buildfile
+│   ├── hello.cxx
+│   └── testscript
+├── manifest
+└── repositories.manifest
+
+2 directories, 8 files
+
++ cd hello
+
++ bdep init --config-create ../hello-gcc cc config.cxx=g++
+initializing project /tmp/hello/
+created configuration /tmp/hello-gcc/ (1, default, forwarded, auto-synchronized)
+synchronizing:
+ new hello/0.1.0
+
++ b
+mkdir ../hello-gcc/hello/fsdir{hello/}
+c++ hello/cxx{hello}@../hello-gcc/hello/hello/
+ld ../hello-gcc/hello/hello/exe{hello}
+ln ../hello-gcc/hello/hello/exe{hello} -> hello/
+
++ hello/hello World
+Hello, World!
+
++ b
+fetching git:build2.org/hello/libhello#v1.0.0 (prerequisite of dir:/tmp/hello)
+querying https://git.build2.org/hello/libhello.git
+fetching from https://git.build2.org/hello/libhello.git
+synchronizing /tmp/hello-gcc/:
+ new libhello/1.0.0 (required by hello)
+ upgrade hello/0.1.0#1
+distributing libhello/1.0.0
+ver ../hello-gcc/libhello-1.0.0/libhello/version.hxx.in
+c++ ../hello-gcc/libhello-1.0.0/libhello/cxx{hello}
+c++ hello/cxx{hello}@../hello-gcc/hello/hello/
+ld ../hello-gcc/libhello-1.0.0/libhello/libs{hello}
+ld ../hello-gcc/hello/hello/exe{hello}
+ln ../hello-gcc/hello/hello/exe{hello} -> hello/
+
++ bdep fetch
+fetching git:build2.org/hello/libhello (prerequisite of dir:/tmp/hello)
+querying https://git.build2.org/hello/libhello.git
+fetching from https://git.build2.org/hello/libhello.git
+fetching git:build2.org/hello/libformat##HEAD (prerequisite of git:build2.org/hello/libhello)
+querying https://git.build2.org/hello/libformat.git
+fetching from https://git.build2.org/hello/libformat.git
+fetching git:build2.org/hello/libprint##HEAD (prerequisite of git:build2.org/hello/libhello)
+querying https://git.build2.org/hello/libprint.git
+fetching from https://git.build2.org/hello/libprint.git
+
++ bdep status -i
+hello configured 0.1.0#1
+ libhello ^1.0.0 configured 1.0.0 available [1.1.0]
+
++ bdep sync libhello
+synchronizing:
+ new libformat/1.0.0 (required by libhello)
+ new libprint/1.0.0 (required by libhello)
+ upgrade libhello/1.1.0
+ reconfigure hello/0.1.0#1
+distributing libformat/1.0.0
+distributing libprint/1.0.0
+distributing libhello/1.1.0
+
++ bdep sync libhello/1.0.0
+synchronizing:
+ drop libprint/1.0.0 (unused)
+ drop libformat/1.0.0 (unused)
+ downgrade libhello/1.0.0
+ reconfigure hello/0.1.0#1
+distributing libhello/1.0.0