mirror of
https://github.com/boostorg/build.git
synced 2026-02-15 13:02:11 +00:00
new initialization code + tests
[SVN r13688]
This commit is contained in:
@@ -19,15 +19,7 @@ import modules ;
|
||||
# process if they are asking for help.
|
||||
#
|
||||
import doc ;
|
||||
if [ doc.help ]
|
||||
{
|
||||
# Do nothing, the doc system will generate the appropriate
|
||||
# targets that prints out the documentation.
|
||||
# To do this we need to fake the build system loading so the
|
||||
# Jambase doesn't error.
|
||||
module build-system { rule __placeholder__ ( ) { } }
|
||||
}
|
||||
else
|
||||
if ! [ doc.help ]
|
||||
{
|
||||
# No help requested, go ahead and load and build the users
|
||||
# project.
|
||||
|
||||
@@ -3,14 +3,4 @@
|
||||
# all copies. This software is provided "as is" without express or implied
|
||||
# warranty, and with no claim as to its suitability for any purpose.
|
||||
import project ;
|
||||
|
||||
# This rule is just here to suppress a warning generated by Jambase
|
||||
# when the build system fails to be found. Using the presence of rules
|
||||
# in build-system.jam to check for this is probably ill-advised; we
|
||||
# should use GLOB instead. When that happens, __dummy can go away.
|
||||
rule __dummy
|
||||
{
|
||||
EXIT "don't call this rule" ;
|
||||
}
|
||||
|
||||
project.load "." ;
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
|
||||
module build-system { rule __dummy { } } # Keep the bogus assertion in Jambase happy
|
||||
|
||||
import string ;
|
||||
import numbers ;
|
||||
import sequence ;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
module build-system { rule __dummy { } } # Keep the bogus assertion in Jambase happy
|
||||
|
||||
import project ;
|
||||
import targets ;
|
||||
import assert ;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
module build-system { rule __dummy { } } # Keep the bogus assertion in Jambase happy
|
||||
|
||||
import project ;
|
||||
import targets ;
|
||||
import assert ;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
module build-system { rule __dummy { } } # Keep the bogus assertion in Jambase happy
|
||||
|
||||
import project ;
|
||||
import targets ;
|
||||
import assert ;
|
||||
|
||||
@@ -19,15 +19,7 @@ import modules ;
|
||||
# process if they are asking for help.
|
||||
#
|
||||
import doc ;
|
||||
if [ doc.help ]
|
||||
{
|
||||
# Do nothing, the doc system will generate the appropriate
|
||||
# targets that prints out the documentation.
|
||||
# To do this we need to fake the build system loading so the
|
||||
# Jambase doesn't error.
|
||||
module build-system { rule __placeholder__ ( ) { } }
|
||||
}
|
||||
else
|
||||
if ! [ doc.help ]
|
||||
{
|
||||
# No help requested, go ahead and load and build the users
|
||||
# project.
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
module build-system { rule __dummy { } } # Keep the bogus assertion in Jambase happy
|
||||
|
||||
import project ;
|
||||
import targets ;
|
||||
import assert ;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
module build-system { rule __dummy { } } # Keep the bogus assertion in Jambase happy
|
||||
|
||||
import project ;
|
||||
import targets ;
|
||||
import assert ;
|
||||
|
||||
@@ -1,5 +1,3 @@
|
||||
module build-system { rule __dummy { } } # Keep the bogus assertion in Jambase happy
|
||||
|
||||
import project ;
|
||||
import targets ;
|
||||
import assert ;
|
||||
|
||||
@@ -1,6 +1,3 @@
|
||||
|
||||
module build-system { rule __dummy { } } # Keep the bogus assertion in Jambase happy
|
||||
|
||||
import string ;
|
||||
import numbers ;
|
||||
import sequence ;
|
||||
|
||||
Reference in New Issue
Block a user