1 Star 0 Fork 1

mlnt / jquery-qrcode

forked from zhh2100 / jquery-qrcode 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 1.13 KB
一键复制 编辑 原始数据 按行查看 历史
PROJECT_NAME=jquery-qrcode
all:
server:
python -m SimpleHTTPServer
build: minify
minify:
echo > /tmp/jquery.qrcode.tmp.js
head -2 src/jquery.qrcode.js >> /tmp/jquery.qrcode.tmp.js
cat src/qrcode.js >> /tmp/jquery.qrcode.tmp.js
tail -n +3 src/jquery.qrcode.js >> /tmp/jquery.qrcode.tmp.js
curl --data-urlencode "js_code@/tmp/jquery.qrcode.tmp.js" \
-d "output_format=text&output_info=compiled_code&compilation_level=SIMPLE_OPTIMIZATIONS" \
http://closure-compiler.appspot.com/compile \
> jquery.qrcode.min.js
homepage_build:
pandoc -A ~/.pandoc.header.html -s README.md -o index.html
sed -i "s/github.com\/you/github.com\/jeromeetienne\/$(PROJECT_NAME)/g" index.html
#################################################################################
# deploy #
#################################################################################
deploy: build
# assume there is something to commit
# use "git diff --exit-code HEAD" to know if there is something to commit
# so two lines: one if no commit, one if something to commit
git commit -a -m "New deploy" && git push -f origin HEAD:gh-pages && git reset HEAD~
JavaScript
1
https://gitee.com/mlnt/jquery-qrcode.git
git@gitee.com:mlnt/jquery-qrcode.git
mlnt
jquery-qrcode
jquery-qrcode
master

搜索帮助

53164aa7 5694891 3bd8fe86 5694891