1 Star 0 Fork 0

leixiaochen/ucenter-open

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Makefile 985 Bytes
一键复制 编辑 原始数据 按行查看 历史
iat 提交于 2016-03-22 14:38 . init
UGLIFY := ./node_modules/.bin/uglifyjs --comments "/^!/"
STYLUS := ./node_modules/.bin/stylus -U -u nib
DOX := ./node_modules/.bin/dox
all: \
legacy.js \
theme-white/style.css \
theme-white/script.js \
Reference.md
watch:
while true; do make all | grep -v "Nothing"; sleep 1; done
# Legacy shims for IE
legacy.js: \
support/legacy-header.js \
support/vendor/html5shiv.js \
support/vendor/respond.js
cat $^ > $@
%.css: %.styl
(echo "/*\n\nPlease don't edit this file directly.\nInstead, edit the stylus (.styl) files and compile it to CSS on your machine.\n\n*/" ; $(STYLUS) < $<) > $@
Reference.md: flatdoc.js
$(DOX) -r < $< | node support/dox2md.js --default-level 3 > $@
# $ make v/0.1.0
# Makes a distribution.
#
v/%: all
mkdir -p $@
$(UGLIFY) < flatdoc.js > $@/flatdoc.js
$(UGLIFY) < legacy.js > $@/legacy.js
cp -R templates $@/templates
mkdir -p $@/theme-white
cp theme-white/style.css $@/theme-white
cp theme-white/script.js $@/theme-white
.PHONY: watch
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/leixiaochen/ucenter-open.git
git@gitee.com:leixiaochen/ucenter-open.git
leixiaochen
ucenter-open
ucenter-open
dev

搜索帮助

0d507c66 1850385 C8b1a773 1850385