mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-24 03:49:45 +00:00
aliases now work globally. Just type "&make" and it runs build.ps1 Last Problem: build.ps1 does not even think about starting those biig lines to start the compiler + log generator + other stuff...
svn path=/trunk/tools/RosBE/; revision=716
This commit is contained in:
parent
b1dda2ca0d
commit
0a9139ac07
@ -1,11 +1,9 @@
|
||||
#
|
||||
# PROJECT: RosBE - ReactOS Build Environment for Windows
|
||||
# LICENSE: GNU General Public License v2. (see LICENSE.txt)
|
||||
# FILE: Root/Build.cmd
|
||||
# FILE: Root/Build.ps1
|
||||
# PURPOSE: Perform the build of ReactOS.
|
||||
# COPYRIGHT: Copyright 2007 Daniel Reimer <reimer.daniel@freenet.de>
|
||||
# Colin Finck <mail@colinfinck.de>
|
||||
# Peter Ward <dralnix@gmail.com>
|
||||
# COPYRIGHT: Copyright 2008 Daniel Reimer <reimer.daniel@freenet.de>
|
||||
#
|
||||
#
|
||||
|
||||
|
@ -4,8 +4,7 @@
|
||||
# FILE: Root/RosBE.ps1
|
||||
# PURPOSE: This script provides/sets up various build environments for
|
||||
# ReactOS. Currently it provides a GCC 4.1.3 build environment.
|
||||
# COPYRIGHT: Copyright 2007 Daniel Reimer <reimer.daniel@freenet.de>
|
||||
# Peter Ward <dralnix@gmail.com>
|
||||
# COPYRIGHT: Copyright 2008 Daniel Reimer <reimer.daniel@freenet.de>
|
||||
#
|
||||
#
|
||||
|
||||
@ -60,42 +59,42 @@ function RosBE4
|
||||
function LOADDOSKEYMACROS
|
||||
{
|
||||
if (Test-Path "$_ROSBE_BASEDIR\chdefdir.ps1") {
|
||||
set-alias CHDEFDIR "& $_ROSBE_BASEDIR\chdefdir.ps1"
|
||||
set-alias CHDEFDIR "$_ROSBE_BASEDIR\chdefdir.ps1" -scope Global
|
||||
}
|
||||
|
||||
if (Test-Path "$_ROSBE_BASEDIR\chdefgcc.ps1") {
|
||||
set-alias CHDEFGCC "& $_ROSBE_BASEDIR\chdefgcc.ps1"
|
||||
set-alias CHDEFGCC "$_ROSBE_BASEDIR\chdefgcc.ps1" -scope Global
|
||||
}
|
||||
|
||||
if (Test-Path "$_ROSBE_BASEDIR\charch.ps1") {
|
||||
set-alias CHARCH "& $_ROSBE_BASEDIR\charch.ps1"
|
||||
set-alias CHARCH "$_ROSBE_BASEDIR\charch.ps1" -scope Global
|
||||
}
|
||||
|
||||
set-alias CLEAN "& $_ROSBE_BASEDIR\Clean.ps1"
|
||||
set-alias CLEAN "$_ROSBE_BASEDIR\Clean.ps1" -scope Global
|
||||
|
||||
if (Test-Path "$_ROSBE_BASEDIR\Config.ps1") {
|
||||
set-alias CONFIG "& $_ROSBE_BASEDIR\Config.ps1"
|
||||
set-alias CONFIG "$_ROSBE_BASEDIR\Config.ps1" -scope Global
|
||||
}
|
||||
|
||||
set-alias HELP "& $_ROSBE_BASEDIR\Help.ps1"
|
||||
set-alias MAKE "& $_ROSBE_BASEDIR\Build.ps1"
|
||||
set-alias MAKEX "& $_ROSBE_BASEDIR\Build.ps1 multi"
|
||||
set-alias HELP "$_ROSBE_BASEDIR\Help.ps1" -scope Global
|
||||
set-alias MAKE "$_ROSBE_BASEDIR\Build.ps1" -scope Global
|
||||
set-alias MAKEX "$_ROSBE_BASEDIR\Build.ps1 multi" -scope Global
|
||||
|
||||
if (Test-Path "$_ROSBE_BASEDIR\reladdr2line.ps1") {
|
||||
set-alias RADDR2LINE "& $_ROSBE_BASEDIR\reladdr2line.ps1"
|
||||
set-alias RADDR2LINE "$_ROSBE_BASEDIR\reladdr2line.ps1" -scope Global
|
||||
}
|
||||
|
||||
if (Test-Path "$_ROSBE_BASEDIR\scut.ps1") {
|
||||
set-alias SCUT "& $_ROSBE_BASEDIR\scut.ps1"
|
||||
set-alias SCUT "$_ROSBE_BASEDIR\scut.ps1" -scope Global
|
||||
}
|
||||
|
||||
if (Test-Path "$_ROSBE_BASEDIR\sSVN.ps1") {
|
||||
set-alias SSVN "& $_ROSBE_BASEDIR\sSVN.ps1"
|
||||
set-alias SVN "& $_ROSBE_BASEDIR\Tools\svn.exe"
|
||||
set-alias SSVN "$_ROSBE_BASEDIR\sSVN.ps1" -scope Global
|
||||
set-alias SVN "$_ROSBE_BASEDIR\Tools\svn.exe" -scope Global
|
||||
}
|
||||
|
||||
if (Test-Path "$_ROSBE_BASEDIR\options.ps1") {
|
||||
set-alias OPTIONS "& $_ROSBE_BASEDIR\options.ps1"
|
||||
set-alias OPTIONS "$_ROSBE_BASEDIR\options.ps1" -scope Global
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -1,10 +1,9 @@
|
||||
#
|
||||
# PROJECT: RosBE - ReactOS Build Environment for Windows
|
||||
# LICENSE: GNU General Public License v2. (see LICENSE.txt)
|
||||
# FILE: Root/rosbe-gcc-env.cmd
|
||||
# FILE: Root/rosbe-gcc-env.ps1
|
||||
# PURPOSE: Set up the GCC 4.x.x build environment.
|
||||
# COPYRIGHT: Copyright 2007 Daniel Reimer <reimer.daniel@freenet.de>
|
||||
# Peter Ward <dralnix@gmail.com>
|
||||
# COPYRIGHT: Copyright 2008 Daniel Reimer <reimer.daniel@freenet.de>
|
||||
#
|
||||
#
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user