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)

enhancement

Tracking

(Not tracked)

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.
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]
I'd say mach build storage:check or mach build storage check
maybe the latter, with the possibility to give several. (mach build storage foo bar baz)
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?
(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.
(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?)
I also like mach check target1 target2 ... (if possible)
Component: Build Config → mach
Product: Core → Firefox Build System
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.