diff options
Diffstat (limited to 'cmd/web/Makefile')
-rw-r--r-- | cmd/web/Makefile | 10 |
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 | ||
5 | SRC_DIR=js | 5 | SRC_DIR=js |
6 | BUILD_DIR=build/js | 6 | BUILD_DIR=build/js |
7 | JSX_SRC= header_footer.jsx main.jsx signup.jsx signin.jsx otp.jsx poloniex.jsx password_reset.jsx change_password.jsx account.jsx balance.jsx | 7 | JSX_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 |
8 | JS_SRC= cookies.js app.js api.js | 8 | JS_SRC= cookies.js app.js api.js |
9 | STATIC_FILES= index.html style.css fontello.css | 9 | STATIC_FILES= index.html style.css fontello.css |
10 | STATIC_FILES+=$(addprefix fonts/, fontello.eot fontello.svg fontello.ttf fontello.woff fontello.woff2) | 10 | STATIC_FILES+=$(addprefix fonts/, fontello.eot fontello.svg fontello.ttf fontello.woff fontello.woff2 cryptocoins.css cryptocoins.ttf cryptocoins.woff cryptocoins.woff2) |
11 | JSX_OBJS=$(addprefix $(BUILD_DIR)/,$(JSX_SRC:.jsx=.js)) | 11 | JSX_OBJS=$(addprefix $(BUILD_DIR)/,$(JSX_SRC:.jsx=.js)) |
12 | JS_OBJS=$(addprefix $(BUILD_DIR)/,$(JS_SRC)) | 12 | JS_OBJS=$(addprefix $(BUILD_DIR)/,$(JS_SRC)) |
13 | ICONS=$(addprefix $(STATIC_BUILD_DIR)/icons/black/, $(notdir $(wildcard static/icons/black/*.svg))) | 13 | ICONS=$(addprefix $(STATIC_BUILD_DIR)/icons/black/, $(notdir $(wildcard static/icons/black/*.svg))) |
@@ -66,6 +66,12 @@ clean: | |||
66 | FONT_DIR = ./static/fontello | 66 | FONT_DIR = ./static/fontello |
67 | FONTELLO_HOST ?= http://fontello.com | 67 | FONTELLO_HOST ?= http://fontello.com |
68 | 68 | ||
69 | crypto-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 | |||
69 | fontopen: | 75 | fontopen: |
70 | @if test ! `which curl` ; then \ | 76 | @if test ! `which curl` ; then \ |
71 | echo 'Install curl first.' >&2 ; \ | 77 | echo 'Install curl first.' >&2 ; \ |