Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
converse.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
converse.js
Commits
2267c845
Commit
2267c845
authored
Mar 30, 2018
by
Emmanuel Gil Peyrot
Committed by
JC Brand
Mar 30, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add rules to generate PNG logos
parent
8efcbeab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
Makefile
Makefile
+23
-0
No files found.
Makefile
View file @
2267c845
...
...
@@ -10,6 +10,7 @@ CLEANCSS ?= ./node_modules/clean-css-cli/bin/cleancss --skip-rebase
ESLINT
?=
./node_modules/.bin/eslint
HTTPSERVE
?=
./node_modules/.bin/http-server
HTTPSERVE_PORT
?=
8000
INKSCAPE
?=
inkscape
PAPER
=
PO2JSON
?=
./node_modules/.bin/po2json
RJS
?=
./node_modules/.bin/r.js
...
...
@@ -17,6 +18,7 @@ SASS ?= ./.bundle/bin/sass
SPHINXBUILD
?=
./bin/sphinx-build
SED
?=
sed
SPHINXOPTS
=
OXIPNG
?=
oxipng
# In the case user wishes to use RVM
...
...
@@ -50,6 +52,7 @@ help:
@
echo
" stamp-npm Install NPM dependencies"
@
echo
" stamp-bundler Install Bundler (Ruby) dependencies"
@
echo
" watch Tells Sass to watch the .scss files for changes and then automatically update the CSS files."
@
echo
" logo Generate PNG logos of multiple sizes."
########################################################################
...
...
@@ -159,6 +162,26 @@ transpile: dev src
$(BABEL)
--source-maps
--out-dir
=
./builds ./node_modules/backbone.vdomview/backbone.vdomview.js
touch
transpile
.PHONY
:
logo
logo
:
logo/conversejs-transparent16.png
\
logo/conversejs-transparent19.png
\
logo/conversejs-transparent48.png
\
logo/conversejs-transparent128.png
\
logo/conversejs-transparent512.png
\
logo/conversejs-filled16.png
\
logo/conversejs-filled19.png
\
logo/conversejs-filled48.png
\
logo/conversejs-filled128.png
\
logo/conversejs-filled512.png
\
logo/conversejs-transparent%.png
::
logo/conversejs-transparent.svg
$(INKSCAPE)
-e
$@
-w
$*
$<
$(OXIPNG)
$@
logo/conversejs-filled%.png
::
logo/conversejs-filled.svg
$(INKSCAPE)
-e
$@
-w
$*
$<
$(OXIPNG)
$@
BUILDS
=
dist/converse.js
\
dist/converse.min.js
\
dist/converse-headless.js
\
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment