-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
24 lines (20 loc) · 681 Bytes
/
Makefile
File metadata and controls
24 lines (20 loc) · 681 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
CHECK=✔
HR=\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#\#
all: update build
build:
@echo "${HR}"
@echo "Building UP assets..."
@echo "${HR}"
@recess --compress _assets/up.less > css/up.css
@echo "Compiling and Compressing Less and CSS files with Recess... ${CHECK} Done"
@cat _assets/bootstrap/js/{transition,dropdown}.js > js/up.js.tmp
@cat _assets/up.js >> js/up.js.tmp
@uglifyjs js/up.js.tmp > js/up.js
@rm -rf js/up.js.tmp
@echo "Compiling and Compressing JS files with uglify-js... ${CHECK} Done"
@echo "${HR}"
@echo "UP successfully built."
@echo "${HR}"
@echo "<3 @caarlos0"
update:
./script/update