[tor-commits] [metrics-web/master] Begin creation of standard build environment.
karsten at torproject.org
karsten at torproject.org
Wed Dec 20 08:41:23 UTC 2017
commit c350ba41caaf910d345e130de89aec25af90312a
Author: iwakeh <iwakeh at torproject.org>
Date: Mon Dec 4 11:14:12 2017 +0000
Begin creation of standard build environment.
Add bootstrap script, metrics-base submodule, move metrics-lib submodule.
---
.gitmodules | 7 +++++--
src/build | 1 +
src/main/resources/bootstrap-development.sh | 10 ++++++++++
{submods => src/submods}/metrics-lib | 0
4 files changed, 16 insertions(+), 2 deletions(-)
diff --git a/.gitmodules b/.gitmodules
index 7e4601a..99bca1b 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
-[submodule "submods/metrics-lib"]
- path = submods/metrics-lib
+[submodule "src/build"]
+ path = src/build
+ url = https://git.torproject.org/metrics-base.git
+[submodule "src/submods/metrics-lib"]
+ path = src/submods/metrics-lib
url = https://git.torproject.org/metrics-lib.git
diff --git a/src/build b/src/build
new file mode 160000
index 0000000..23c6e0b
--- /dev/null
+++ b/src/build
@@ -0,0 +1 @@
+Subproject commit 23c6e0be5fab9463f137615053ef412e4da2315e
diff --git a/src/main/resources/bootstrap-development.sh b/src/main/resources/bootstrap-development.sh
new file mode 100755
index 0000000..28fb975
--- /dev/null
+++ b/src/main/resources/bootstrap-development.sh
@@ -0,0 +1,10 @@
+#!/bin/sh
+#
+# Copyright 2016--2017 The Tor Project
+# See LICENSE for licensing information
+#
+# Use for submodule initialization and checkout.
+# Only necessary after very first checkout without recursion.
+#
+git submodule update --init --remote
+
diff --git a/submods/metrics-lib b/src/submods/metrics-lib
similarity index 100%
rename from submods/metrics-lib
rename to src/submods/metrics-lib
More information about the tor-commits
mailing list