Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
24 lines (17 sloc) 517 Bytes
.PHONY: help build run package
ifdef PLATFORM
PLATFORM_ARG = --platform $(PLATFORM)
endif
build:
cd gaia && make
rm -rf gaia/profile/startupCache
rm -rf addon/data/profile && mv gaia/profile addon/data/profile
python ./build.py $(PLATFORM_ARG)
run:
cd addon-sdk && source bin/activate && cd ../addon && cfx run
package:
cd addon-sdk && source bin/activate && cd ../addon && cfx xpi
help:
@echo 'Targets:'
@echo ' build: make Gaia profile, download B2G'
@echo ' package: package the addon into a XPI'
Something went wrong with that request. Please try again.