Sha256: 8e4ce9cc25fcb76f2fba05c9147c046f0f7c69fef92c7c82ec816724778e1155

Contents?: true

Size: 546 Bytes

Versions: 1

Compression:

Stored size: 546 Bytes

Contents

VERSION=9.12.0

default: build
	@cp -f build/highlight.* .
	@cp -f highlight/src/styles/* styles
	@du -hs highlight.*

build: highlight
	@cd highlight && git fetch && git checkout $(VERSION)
	@cd highlight && npm install
	@mkdir -p build
	@cd highlight && node tools/build.js && cp build/highlight.pack.js ../build/highlight.pack.min.js
	@cd highlight && node tools/build.js -n && cp build/highlight.pack.js ../build/highlight.pack.js

highlight:
	@git clone git://github.com/isagalaev/highlight.js.git $@

clean:
	@rm -rf build

.PHONY: default

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
tui_editor-rails-1.0.2.0 vendor/assets/components/highlightjs/Makefile