Mach Commands for Android

117 views
Skip to first unread message

Aaditya Dhingra

unread,
Oct 30, 2024, 1:44:41 PM10/30/24
to firef...@mozilla.org
Hey,

Just wanted to share some new mach commands for android!

mach install --app=fenix to install fenix debug
mach run --app=fenix to install and run fenix debug

mach install --app=focus to install focus debug
mach run --app=focus to install and run focus debug

mach install --app=org.mozilla.fenix.release  to install and run fenix release

mach test <file-name> to run all tests in the file
mach test <directory-name> to run all tests in the directory
mach test <fenix/focus/geckoview/ac/android-components> to run all tests in the specific project

mach lint -l android-fenix to lint changes made in fenix directory
mach lint -l android-focus to lint changes made in focus directory
mach lint -l android-ac to lint changes made in android-components directory

These are also included in the docs here: https://firefox-source-docs.mozilla.org/mobile/android/fenix.html

These commands are not perfect and we will continue improving them so if you find any issues please let me know directly or post in #android-monorepo! 

Thanks!
Reply all
Reply to author
Forward
0 new messages