blob: 57bec3b024d7666eedd2271d1b32b0d125feb79f [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/debugger-assets
# 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 ./...
.PHONY: run_server_local
run_server_local: build
debugger-assets --port=localhost:9000 --local --logtostderr
.PHONY: release
release: build
CGO_ENABLED=0 GOOS=linux go install -a ./go/debugger-assets
./build_docker_release
.PHONY: push
push: release skia-public
go install ../kube/go/pushk
pushk debugger-assets
.PHONY: run
run:
docker run -p8000:8000 -ti debugger-assets
include ../webtools/webtools.mk
include ../make/clusters.mk