File tree 4 files changed +1241
-11
lines changed
4 files changed +1241
-11
lines changed Original file line number Diff line number Diff line change
1
+ DOCS = ./less/docs.less
2
+ DOCS_COMPILED = ./css/docs-compiled.css
3
+ DATE =$(shell date +% I:% M% p)
4
+ CHECK =\033[32m✔ Done\033[39m
5
+ HR =\033[37m--------------------------------------------------\033[39m
6
+ PATH := ./node_modules/.bin:$(PATH )
7
+
8
+ #
9
+ # COMPILE CSS
10
+ #
11
+
12
+ build :
13
+ @echo " \n"
14
+ @printf " ${DATE} · \033[35mCompiling Preboot...\033[39m"
15
+ @recess --compile ${DOCS} > ${DOCS_COMPILED}
16
+ @echo " \033[32m Success!\033[39m"
17
+
18
+ #
19
+ # WATCH LESS FILES
20
+ #
21
+
22
+ watch :
23
+ echo " Watching less files..." ; \
24
+ watchr -e " watch('less/.*\.less') { system 'make' }"
Original file line number Diff line number Diff line change 1
- markdown : rdiscount
2
- permalink : pretty
3
1
pygments : true
4
- paginate : 5
2
+ ignore : [/less]
Original file line number Diff line number Diff line change 6
6
< link href ="/public/favicon.ico " rel ="shortcut icon " type ="image/x-icon ">
7
7
< link href ="http://gmpg.org/xfn/11 " rel ="profile ">
8
8
9
- <!-- // Less.js at the ready! -->
10
- < link href ='http://fonts.googleapis.com/css?family=Maven+Pro ' rel ='stylesheet ' type ='text/css '>
11
- < link rel ="stylesheet/less " type ="text/css " media ="all " href ="less/docs.less ">
12
- < script type ="text/javascript " src ="js/less-1.3.3.min.js "> </ script >
13
- < script type ="text/javascript " charset ="utf-8 ">
14
- less . env = "development" ;
15
- less . watch ( ) ;
16
- </ script >
9
+ <!-- CSS -->
10
+ < link rel ="stylesheet " href ="http://fonts.googleapis.com/css?family=Maven+Pro ">
11
+ < link rel ="stylesheet " href ="/css/docs-compiled.css ">
17
12
18
13
< title > Preboot</ title >
19
14
You can’t perform that action at this time.
0 commit comments