<commit_before>.PHONY: types

.SUFFIXES:

GULP = $(shell npm bin)/gulp

all: node_modules bower_components public/hello.js public/index.html public/vendor.js public/hello.css public/angular-material.min.css public/font-awesome.min.css public/fonts

run: go_hello_web all
	./go_hello_web

run\:dev: go_hello_web_bare all
	./go_hello_web_bare

go_hello_web_bare: $(shell find . -name "*.go")
	go build -o go_hello_web_bare

go_hello_web: go_hello_web_bare
	rm -f go_hello_web
	cp go_hello_web_bare go_hello_web
	rice append --exec go_hello_web

node_modules:
	npm -q update

bower_components:
	bower -q update

public/hello.js: app/hello.ls
	$(GULP)

public/index.html: app/index.jade
	$(GULP)

public/vendor.js: bower.json
	$(GULP)

public/hello.css: app/hello.styl
	$(GULP)

public/angular-material.min.css:
	$(GULP)

public/font-awesome.min.css:
	$(GULP)

public/fonts:
	$(GULP)

types:
	java -jar bower_components/closure-compiler/compiler.jar \
		--warning_level=VERBOSE \
		--externs support/externs/angular-1.2.js \
		--externs support/externs/externs.js \
		--angular_pass \
		tmp/hello.js

public.rice-box.go: all
	rice embed-go

hello_embedded: public.rice-box.go
	go build

setup:
	# For rice
	sudo apt-get install zip
	npm install -q -g bower gulp<commit_msg>Add make target for mac cross-build<commit_after>.PHONY: types

.SUFFIXES:

GULP = $(shell npm bin)/gulp

all: node_modules bower_components public/hello.js public/index.html public/vendor.js public/hello.css public/angular-material.min.css public/font-awesome.min.css public/fonts

run: go_hello_web all
	./go_hello_web

run\:dev: go_hello_web_bare all
	./go_hello_web_bare

go_hello_web_bare: $(shell find . -name "*.go")
	go build -o go_hello_web_bare

go_hello_web: go_hello_web_bare
	rm -f go_hello_web
	cp go_hello_web_bare go_hello_web
	rice append --exec go_hello_web

node_modules:
	npm -q update

bower_components:
	bower -q update

public/hello.js: app/hello.ls
	$(GULP)

public/index.html: app/index.jade
	$(GULP)

public/vendor.js: bower.json
	$(GULP)

public/hello.css: app/hello.styl
	$(GULP)

public/angular-material.min.css:
	$(GULP)

public/font-awesome.min.css:
	$(GULP)

public/fonts:
	$(GULP)

types:
	java -jar bower_components/closure-compiler/compiler.jar \
		--warning_level=VERBOSE \
		--externs support/externs/angular-1.2.js \
		--externs support/externs/externs.js \
		--angular_pass \
		tmp/hello.js

public.rice-box.go: all
	rice embed-go

hello_embedded: public.rice-box.go
	go build

setup:
	# For rice
	sudo apt-get install zip
	npm install -q -g bower gulp

hdmi-remote-darwin-amd64:
	rm -rf hdmi-remote-darwin-amd64
	rice embed-go
	go-darwin-amd64 build -o hdmi-remote-darwin-amd64
{'fraction_non_alphanumeric': 0.11988086373790022, 'fraction_numerical': 0.004467609828741623, 'mean_word_length': 3.876588021778584, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6995000', 'n_tokens_mistral': 1148, 'n_tokens_neox': 1097, 'n_words': 222}