Skip to content

Commit

Permalink
tbb-diff target
Browse files Browse the repository at this point in the history
  • Loading branch information
pyllyukko committed Oct 7, 2017
1 parent ffe6e5f commit d0b7859
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
SHELL=/bin/bash

.PHONY: all
all: whatdoesitdo tests

Expand Down Expand Up @@ -42,6 +44,10 @@ TBBBRANCH=tor-browser-52.1.0esr-7.0-2
000-tor-browser.js:
wget -nv "https://gitweb.torproject.org/tor-browser.git/plain/browser/app/profile/000-tor-browser.js?h=$(TBBBRANCH)" -O $@

.PHONY: tbb-diff
tbb-diff: 000-tor-browser.js
diff <(sed -n '/^\(user_\)\?pref/s/^.*pref("\([^"]\+\)",\s*\([^)]\+\).*$$/\1 = \2/p' user.js | sort) <(sed -n '/^\(user_\)\?pref/s/^.*pref("\([^"]\+\)",\s*\([^)]\+\).*$$/\1 = \2/p' 000-tor-browser.js | sort)

######################

.PHONY: checknotcovered
Expand Down

2 comments on commit d0b7859

@pyllyukko
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Relates to #316

@nodiscc
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

N͇̩̹̞̪̞̖i̲͚͚͚̙c̴̷͇̜̻͙̥ͅe͏̩̤̯͈̲ ̶͚͔̳̭̝͙̀͟r̪̻͓̟͠ḛ͈̕͝g͈̰̀̕ȩ̯͙͎̬̙̟̩̩͡x̶̙̟̺̣̖̻p̧̼͚̙̖̗̝͘͞ ̧̜̻͕̼͓͙̫ ͇̪͈̟͔̘̠̜ ̼͉͓̖̘̱͚͖̕͜

Please sign in to comment.