Closed
Bug 1282629
Opened 9 years ago
Closed 8 years ago
An enhancement to make it easier to do windows build via task scheduler
Categories
(Firefox Build System :: MozillaBuild, task)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: wgianopoulos, Assigned: wgianopoulos)
References
Details
Attachments
(1 file, 1 obsolete file)
|
1.04 KB,
patch
|
Details | Diff | Splinter Review |
I have been doing Windows builds via the task scheduler for a while now. to make this work I am making a trivial mod to mozilla build start-msvc scripts. It is kind of a pain to do this at each update to Mozilla build it would be nice if this (or something better) could be incorporated into the real builds.
| Assignee | ||
Comment 1•9 years ago
|
||
The changes I made are in start-shell.bat to change the part at the end to:
cd "%USERPROFILE%"
IF "%USE_MINTTY%" == "1" (
START %MOZILLABUILD%msys\bin\mintty -e %MOZILLABUILD%msys\bin\console %MOZILLABUILD%msys\bin\bash --login
) ELSE (
IF "%*%" == "" (
%MOZILLABUILD%msys\bin\bash --login -i
) ELSE (
%MOZILLABUILD%msys\bin\bash --login -i -c "%*"
)
)
EXIT /B
:_QUIT
ECHO MozillaBuild Install Directory: %MOZILLABUILD%
IF DEFINED VCDIR (ECHO Visual C++ %MOZ_MSVCYEAR% Directory: !VCDIR!)
IF DEFINED SDKDIR (ECHO Windows SDK Directory: !SDKDIR!)
IF DEFINED TOOLCHAIN (ECHO Trying to use the MSVC %MOZ_MSVCYEAR% !TOOLCHAIN! toolchain.)
ECHO.
ECHO %ERROR%
ECHO.
PAUSE
EXIT /B
and then to change each of the start-shell msvcxxx.bat to alter the:
CALL start-shell.bat
to be:
CALL start-shell.bat %*
This allows me to run things under the start-shell-msvcxxx.bat scripts to run a shell script. Thus permitting me to run automated builds under the windows task scheduler.
Comment 3•8 years ago
|
||
Sure, why not. Given that start-shell-msvc*.bat no longer exist, can you confirm that the start-shell.bat changes by themselves are sufficient?
Flags: needinfo?(wgianopoulos)
Comment 4•8 years ago
|
||
Bill's proposal in patch form.
Updated•8 years ago
|
Assignee: nobody → wgianopoulos
Comment 5•8 years ago
|
||
Accidentally removed a line I didn't mean to there.
Attachment #8870656 -
Attachment is obsolete: true
Updated•8 years ago
|
Blocks: MozillaBuild3.0
| Assignee | ||
Comment 6•8 years ago
|
||
The patch looks great to me!
| Assignee | ||
Updated•8 years ago
|
Flags: needinfo?(wgianopoulos)
Pushed by ryanvm@gmail.com:
https://hg.mozilla.org/mozilla-build/rev/4267e6be09d3
Allow start-shell.bat to send additional args to bash on startup. r=RyanVM
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Updated•2 years ago
|
Product: mozilla.org → Firefox Build System
You need to log in
before you can comment on or make changes to this bug.
Description
•