File tree 2 files changed +27
-2
lines changed
2 files changed +27
-2
lines changed Original file line number Diff line number Diff line change
1
+ PROJECT_NAME =jquery-qrcode
2
+
3
+ all :
4
+
5
+
6
+ build : minify homepage_build
7
+
8
+ minify :
9
+ closurec --js src/jquery.qrcode.js --js_output_file jquery.qrcode.min.js
10
+
11
+ homepage_build :
12
+ pandoc -A ~ /.pandoc.header.html -s README.md -o index.html
13
+ sed -i " s/github.com\/you/github.com\/jeromeetienne\/$( PROJECT_NAME) /g" index.html
14
+
15
+ # ################################################################################
16
+ # deploy #
17
+ # ################################################################################
18
+
19
+ deploy : build deployGhPage
20
+
21
+ deployGhPage :
22
+ rm -rf /tmp/$(PROJECT_NAME ) GhPages
23
+ (cd /tmp && git clone git@github.com:jeromeetienne/$( PROJECT_NAME) .git $( PROJECT_NAME) GhPages)
24
+ (cd /tmp/$( PROJECT_NAME) GhPages && git checkout gh-pages)
25
+ cp -a examples src Makefile README.md /tmp/$(PROJECT_NAME ) GhPages
26
+ (cd /tmp/$( PROJECT_NAME) GhPages && git add . && git commit -a -m " Another deployement" && git push origin gh-pages)
27
+ # rm -rf /tmp/$(PROJECT_NAME)GhPages
Original file line number Diff line number Diff line change 1
1
( function ( $ ) {
2
2
$ . fn . qrcode = function ( options ) {
3
3
4
- // <% console.log(""); %>
5
-
6
4
// if options is string,
7
5
if ( typeof options === 'string' ) {
8
6
options = { text : options } ;
You can’t perform that action at this time.
0 commit comments