blob: 1f742b15b8ea10495266fd5ba50a5eeb92ec988c [file] [log] [blame]
# The list of files we want to go into core.js, which is concat'd and
# minified. These files should be either present in the project, brought
# into third_party/bower_components via bower, or in node_modules.
CORE_SOURCE_FILES = node_modules/native-promise-only/npo.js \
third_party/bower_components/webcomponentsjs/webcomponents-lite.min.js \
../res/js/common.js
BOWER_DIR=third_party/bower_components
VULCANIZE1=true
.PHONY: build
build: androidingest query_buildapi web
.PHONY: query_buildapi
query_buildapi:
go install -v ./go/query_buildapi
.PHONY: androidingest
androidingest:
go install -v ./go/androidingest
.PHONY: web
web: clean_webtools elements_html core_js
.PHONY: release
release: build
echo
.PHONY: test
test: testgo
echo
.PHONY: testgo
testgo:
go test ./go/...
.PHONY: buildk
buildk:
CGO_ENABLED=0 GOOS=linux go install -a ./go/androidingest
./build_docker_release
.PHONY: pushk
pushk: buildk skia-public
pushk androidingest
# Build debug versions of core.js and elements.html.
.PHONY: debug
debug: clean_webtools debug_core_js debug_elements_html
.PHONY: all
all: build
.PHONY: tags
tags:
-rm tags
find . -name "*.go" -print -or -name "*.js" -or -name "*.html" | xargs ctags --append
include ../webtools/webtools.mk
include ../make/clusters.mk