Open
Bug 837824
Opened 12 years ago
Updated 2 years ago
Add a way to run an explicit make target in a directory
Categories
(Firefox Build System :: Mach Core, enhancement)
Firefox Build System
Mach Core
Tracking
(Not tracked)
NEW
People
(Reporter: mak, Unassigned)
References
Details
(Whiteboard: [mach])
I was trying to make check in the storage/ folder, and figured out mach doesn't support that yet.
Comment 1•12 years ago
|
||
This is really a request to "run make target X in directory Y."
How do people think we should handle this? Here are some options:
./mach build -t check storage
./mach build storage:check
./mach build -d storage check
Component: mach → Build Config
Summary: Add a way to make check in specific folders → Add a way to run an explicit make target in a directory
Whiteboard: [mach]
Comment 2•12 years ago
|
||
I'd say mach build storage:check or mach build storage check
Comment 3•12 years ago
|
||
maybe the latter, with the possibility to give several. (mach build storage foo bar baz)
Comment 4•12 years ago
|
||
I have to admit I know little about make check, but wouldn't it make sense to treat it like, say, make reftest and give it a dedicated mach command?
Comment 5•12 years ago
|
||
(In reply to Mike Hommey [:glandium] from comment #3)
> maybe the latter, with the possibility to give several. (mach build storage
> foo bar baz)
The problem with |mach build storage targetA targetB| is that as currently implemented you can give multiple directories/targets with |mach build|. e.g. |mach build services toolkit browser|. This is *extremely* handy. We need some way to distinguish positional arguments. Using a delimiter or named argument are how we do that, I think.
Comment 6•12 years ago
|
||
(In reply to :Ms2ger from comment #4)
> I have to admit I know little about make check, but wouldn't it make sense
> to treat it like, say, make reftest and give it a dedicated mach command?
+1 for mach check (mach chech? mach czech?)
Reporter | ||
Comment 7•12 years ago
|
||
I also like mach check target1 target2 ... (if possible)
Updated•12 years ago
|
Component: Build Config → mach
Updated•7 years ago
|
Product: Core → Firefox Build System
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•