blob: 2e5d7a5703dcd71985201a1b4a2292951b508b6a [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/fiddle_build
go install -v ./go/fiddle_run
go install -v ./go/webtry_extract
go install -v ./go/fiddle
c++ fiddle_secwrap.cpp -o fiddle_secwrap
.PHONY: testgo
testgo:
go test -v ./...
.PHONY: push
push: build
./build_release "`git log -n1 --format=%s`"
go install -v ../push/go/pushcli
pushcli fiddle skia-fiddle
# Build debug versions of core.js and elements.html.
.PHONY: debug
debug: clean_webtools debug_core_js debug_elements_html
include ../webtools/webtools.mk