Browse code

Remove unused functionality.

Nat! authored on 22-06-2016 11:56:04
Showing 3 changed files
... ...
@@ -13,6 +13,7 @@ but just into `dependencies/include`
13 13
 because that's mulle-bootstraps scope. The tag script facility has been
14 14
 eliminated.
15 15
 * new clean target "install"
16
+* removed convert-pre-0.10 and ibuild commands
16 17
 
17 18
 
18 19
 0.26
... ...
@@ -254,6 +254,7 @@ main()
254 254
          DONT_RECURSE=YES bootstrap "$@" || exit 1
255 255
          ;;
256 256
 
257
+      # experimental stuff
257 258
       project)
258 259
          mulle-bootstrap-project.sh "$@" || exit 1
259 260
          ;;
... ...
@@ -267,11 +268,6 @@ main()
267 268
          COMMAND="${command}" mulle-bootstrap-build.sh "$@" || exit 1
268 269
          ;;
269 270
 
270
-      ibuild)
271
-         COMMAND="refresh" mulle-bootstrap-refresh.sh || exit 1
272
-         COMMAND="${command}" mulle-bootstrap-build.sh "$@" || exit 1
273
-         ;;
274
-
275 271
       refresh)
276 272
          COMMAND="${command}" mulle-bootstrap-refresh.sh || exit 1
277 273
          ;;
... ...
@@ -296,10 +292,6 @@ main()
296 292
          COMMAND="${command}" mulle-bootstrap-fetch.sh "$@" || exit 1
297 293
          ;;
298 294
 
299
-      convert-pre-0.10)
300
-         mulle-bootstrap-convert-pre-0.10.sh "$@" || exit 1
301
-         ;;
302
-
303 295
       init)
304 296
          mulle-bootstrap-init.sh "$@" || exit 1
305 297
          ;;
306 298
deleted file mode 100755
... ...
@@ -1,80 +0,0 @@
1
-#! /bin/sh
2
-#
3
-#   Copyright (c) 2015 Nat! - Mulle kybernetiK
4
-#   All rights reserved.
5
-#
6
-#   Redistribution and use in source and binary forms, with or without
7
-#   modification, are permitted provided that the following conditions are met:
8
-#
9
-#   Redistributions of source code must retain the above copyright notice, this
10
-#   list of conditions and the following disclaimer.
11
-#
12
-#   Redistributions in binary form must reproduce the above copyright notice,
13
-#   this list of conditions and the following disclaimer in the documentation
14
-#   and/or other materials provided with the distribution.
15
-#
16
-#   Neither the name of Mulle kybernetiK nor the names of its contributors
17
-#   may be used to endorse or promote products derived from this software
18
-#   without specific prior written permission.
19
-#
20
-#   THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
21
-#   AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
22
-#   IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
23
-#   ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
24
-#   LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25
-#   CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26
-#   SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27
-#   INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28
-#   CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29
-#   ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30
-#   POSSIBILITY OF SUCH DAMAGE.
31
-
32
-. mulle-bootstrap-local-environment.sh
33
-
34
-
35
-move_it()
36
-{
37
-   local dir
38
-   local src
39
-   local dst
40
-
41
-   dir="$1"
42
-   src="$2"
43
-   dst="$3"
44
-
45
-   ( cd "${dir}" ; git ls-files "$src" --error-unmatch 2> /dev/null 1>&2 )
46
-
47
-   if [ $? -eq 0 ]
48
-   then
49
-       ( exekutor cd "${dir}" ;  exekutor git mv "$src" "$dst" )
50
-   else
51
-       ( exekutor cd "${dir}" ; exekutor mv "$src" "$dst" )
52
-   fi
53
-}
54
-
55
-
56
-main()
57
-{
58
-   local dir
59
-
60
-   find "$@" -name "${BOOTSTRAP_SUBDIR}" -type d -print | while read -r dir
61
-   do
62
-      if [ -f "${dir}/gits" ]
63
-      then
64
-         move_it "${dir}" gits repositories
65
-      fi
66
-
67
-      if [ -f "${dir}/subgits" ]
68
-      then
69
-         move_it "${dir}" subgits embedded_repositories
70
-      fi
71
-   done
72
-}
73
-
74
-
75
-if [ $# -eq 0 ]
76
-then
77
-   main "."
78
-else
79
-   main "$@"
80
-fi