blob: 121f490d5f0a6d1c744e11defa17009f419f8019 [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: elements_html core_js
go install -v ./go/skdebugger
go install -v ./go/fakedebugger
go install -v ../go/buildskia/skia_build
# Build debug versions of core.js and elements.html.
.PHONY: debug
debug: clean_webtools debug_core_js debug_elements_html
.PHONY: testgo
testgo:
go test -v ./...
push: build
./build_release "`git log -n1 --format=%s`"
go install -v ../push/go/pushcli
pushcli skdebuggerd skia-debugger
run_fake_local: build
fakedebugger --source="http://localhost:9000" --port=localhost:8000 --alsologtostderr
run_server_local: build
skdebugger --port=localhost:9000 --local --alsologtostderr
include ../webtools/webtools.mk