aboutsummaryrefslogtreecommitdiff
path: root/cmd/web/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/web/Makefile')
-rw-r--r--cmd/web/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/cmd/web/Makefile b/cmd/web/Makefile
index 7315d5e..cb83f56 100644
--- a/cmd/web/Makefile
+++ b/cmd/web/Makefile
@@ -4,10 +4,10 @@ export PATH := $(PATH):./node_modules/.bin
4 4
5SRC_DIR=js 5SRC_DIR=js
6BUILD_DIR=build/js 6BUILD_DIR=build/js
7JSX_SRC= header_footer.jsx main.jsx signup.jsx signin.jsx otp.jsx poloniex.jsx password_reset.jsx change_password.jsx account.jsx balance.jsx 7JSX_SRC= header_footer.jsx main.jsx signup.jsx signin.jsx otp.jsx poloniex.jsx password_reset.jsx change_password.jsx account.jsx balance.jsx admin.jsx panel.jsx
8JS_SRC= cookies.js app.js api.js 8JS_SRC= cookies.js app.js api.js
9STATIC_FILES= index.html style.css fontello.css 9STATIC_FILES= index.html style.css fontello.css
10STATIC_FILES+=$(addprefix fonts/, fontello.eot fontello.svg fontello.ttf fontello.woff fontello.woff2) 10STATIC_FILES+=$(addprefix fonts/, fontello.eot fontello.svg fontello.ttf fontello.woff fontello.woff2 cryptocoins.css cryptocoins.ttf cryptocoins.woff cryptocoins.woff2)
11JSX_OBJS=$(addprefix $(BUILD_DIR)/,$(JSX_SRC:.jsx=.js)) 11JSX_OBJS=$(addprefix $(BUILD_DIR)/,$(JSX_SRC:.jsx=.js))
12JS_OBJS=$(addprefix $(BUILD_DIR)/,$(JS_SRC)) 12JS_OBJS=$(addprefix $(BUILD_DIR)/,$(JS_SRC))
13ICONS=$(addprefix $(STATIC_BUILD_DIR)/icons/black/, $(notdir $(wildcard static/icons/black/*.svg))) 13ICONS=$(addprefix $(STATIC_BUILD_DIR)/icons/black/, $(notdir $(wildcard static/icons/black/*.svg)))
@@ -66,6 +66,12 @@ clean:
66FONT_DIR = ./static/fontello 66FONT_DIR = ./static/fontello
67FONTELLO_HOST ?= http://fontello.com 67FONTELLO_HOST ?= http://fontello.com
68 68
69crypto-icons:
70 curl "https://raw.githubusercontent.com/AllienWorks/cryptocoins/master/webfont/cryptocoins.css" > ./static/fonts/cryptocoins.css
71 curl "https://raw.githubusercontent.com/AllienWorks/cryptocoins/master/webfont/cryptocoins.ttf" > ./static/fonts/cryptocoins.ttf
72 curl "https://raw.githubusercontent.com/AllienWorks/cryptocoins/master/webfont/cryptocoins.woff" > ./static/fonts/cryptocoins.woff
73 curl "https://raw.githubusercontent.com/AllienWorks/cryptocoins/master/webfont/cryptocoins.woff2" > ./static/fonts/cryptocoins.woff2
74
69fontopen: 75fontopen:
70 @if test ! `which curl` ; then \ 76 @if test ! `which curl` ; then \
71 echo 'Install curl first.' >&2 ; \ 77 echo 'Install curl first.' >&2 ; \