mirror of
https://github.com/Febbweiss/febbweiss.github.io.git
synced 2026-03-05 06:35:50 +00:00
Fix: add dependencies
This commit is contained in:
18
demo/filebrowser-durandal-widget/lib/highlightjs/Makefile
Normal file
18
demo/filebrowser-durandal-widget/lib/highlightjs/Makefile
Normal file
@@ -0,0 +1,18 @@
|
||||
VERSION=8.4
|
||||
|
||||
default: highlight/build
|
||||
@cp -f highlight/build/highlight.* .
|
||||
@cp -f highlight/src/styles/* styles
|
||||
@du -hs highlight.*
|
||||
|
||||
highlight/build: highlight
|
||||
@cd highlight && git fetch && git checkout $(VERSION)
|
||||
@cd highlight && npm install && node tools/build.js
|
||||
|
||||
highlight:
|
||||
@git clone git://github.com/isagalaev/highlight.js.git $@
|
||||
|
||||
clean:
|
||||
@rm -rf highlight/build
|
||||
|
||||
.PHONY: default
|
||||
Reference in New Issue
Block a user