Supported browsers:
- chrome
- safari
- firefox
- opera
- msedge
npm install
./node_modules/.bin/gulp watch --browser chrome --env development
- watch + LiveReload./node_modules/.bin/gulp build --browser chrome --env development
- build once- etc
UPD: see Makefile for short commands
Chrome / Firefox / Opera works well with LiveReload, MS Edge / Safari requires manual reload.
./node_modules/.bin/gulp dist --browser chrome --env staging
./node_modules/.bin/gulp dist --browser chrome --env production
- etc
NOTE: Safari extension must be signed in browser, so it's distributed as file
cd dist
../node_modules/.bin/manifoldjs -l debug -p edgeextension -f edgeextension -m ../build/production/msedge/manifest.json
../node_modules/.bin/manifoldjs -l debug -p edgeextension -f edgeextension -m ../build/staging/msedge/manifest.json
Use this command to sync built files with XCode application:
- rsync -avr --delete build/development/safari_native/{fonts,icons,images,scripts} ../dev-safari/gold\ Extension/
UPD: this rsync command executed automatically