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
38919a35
Commit
38919a35
authored
Sep 04, 2019
by
JC Brand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove traces of bourbon from Makefile and use tabs
parent
3f0d88e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
32 additions
and
33 deletions
+32
-33
Makefile
Makefile
+32
-33
No files found.
Makefile
View file @
38919a35
# You can set these variables from the command line.
BABEL
?=
node_modules/.bin/babel
BOOTSTRAP
=
./node_modules/
BOURBON
=
./node_modules/bourbon/app/assets/stylesheets/
BUILDDIR
=
./docs
CHROMIUM
?=
./node_modules/.bin/run-headless-chromium
CLEANCSS
?=
./node_modules/clean-css-cli/bin/cleancss
--skip-rebase
ESLINT
?=
./node_modules/.bin/eslint
HTTPSERVE
?=
./node_modules/.bin/http-server
ESLINT
?=
./node_modules/.bin/eslint
HTTPSERVE
?=
./node_modules/.bin/http-server
HTTPSERVE_PORT
?=
8000
INKSCAPE
?=
inkscape
INSTALL
?=
install
JSDOC
?=
./node_modules/.bin/jsdoc
INSTALL
?=
install
JSDOC
?=
./node_modules/.bin/jsdoc
LERNA
?=
./node_modules/.bin/lerna
OXIPNG
?=
oxipng
PAPER
=
PAPER
=
RJS
?=
./node_modules/.bin/r.js
NPX
?=
./node_modules/.bin/npx
SASS
?=
./node_modules/.bin/node-sass
SED
?=
sed
SPHINXBUILD
?=
./bin/sphinx-build
SPHINXOPTS
=
SPHINXOPTS
=
UGLIFYJS
?=
node_modules/.bin/uglifyjs
XGETTEXT
=
xgettext
# Internal variables.
ALLSPHINXOPTS
=
-d
$(BUILDDIR)
/doctrees
$
(
PAPEROPT_
$(PAPER)
)
$(SPHINXOPTS)
./docs/source
ALLSPHINXOPTS
=
-d
$(BUILDDIR)
/doctrees
$
(
PAPEROPT_
$(PAPER)
)
$(SPHINXOPTS)
./docs/source
VERSION_FORMAT
=
[
0-9]+
\.
[
0-9]+
\.
[
0-9]+
.PHONY
:
all
...
...
@@ -35,21 +34,21 @@ all: dev dist
help
:
@
echo
"Please use
\`
make <target>' where <target> is one of the following:"
@
echo
""
@
echo
" all
Set up dev environment and create all builds"
@
echo
" build
Create minified builds of converse.js and all its dependencies."
@
echo
" clean
Remove all NPM packages."
@
echo
" check
Run all tests."
@
echo
" css
Generate CSS from the Sass files."
@
echo
" dev
Set up the development environment. To force a fresh start, run 'make clean' first."
@
echo
" html
Make standalone HTML files of the documentation."
@
echo
" po
Generate gettext PO files for each i18n language."
@
echo
" pot
Generate a gettext POT file to be used for translations."
@
echo
" release
Prepare a new release of converse.js. E.g. make release VERSION=0.9.5"
@
echo
" serve
Serve this directory via a webserver on port 8000."
@
echo
" serve_bg
Same as
\"
serve
\"
, but do it in the background"
@
echo
" stamp-npm
Install NPM dependencies"
@
echo
" watch
Watch for changes on JS and scss files and automatically update the generated files."
@
echo
" logo
Generate PNG logos of multiple sizes."
@
echo
" all
Set up dev environment and create all builds"
@
echo
" build
Create minified builds of converse.js and all its dependencies."
@
echo
" clean
Remove all NPM packages."
@
echo
" check
Run all tests."
@
echo
" css
Generate CSS from the Sass files."
@
echo
" dev
Set up the development environment. To force a fresh start, run 'make clean' first."
@
echo
" html
Make standalone HTML files of the documentation."
@
echo
" po
Generate gettext PO files for each i18n language."
@
echo
" pot
Generate a gettext POT file to be used for translations."
@
echo
" release
Prepare a new release of converse.js. E.g. make release VERSION=0.9.5"
@
echo
" serve
Serve this directory via a webserver on port 8000."
@
echo
" serve_bg
Same as
\"
serve
\"
, but do it in the background"
@
echo
" stamp-npm
Install NPM dependencies"
@
echo
" watch
Watch for changes on JS and scss files and automatically update the generated files."
@
echo
" logo
Generate PNG logos of multiple sizes."
########################################################################
...
...
@@ -129,7 +128,7 @@ dev: stamp-npm
css
:
sass/*.scss dist/website.css dist/website.min.css
dist/website.css
::
stamp-npm sass
$(SASS)
--source-map
true
--include-path
$(BO
URBON)
--include-path
$(BO
OTSTRAP)
sass/website.scss
$@
$(SASS)
--source-map
true
--include-path
$(BOOTSTRAP)
sass/website.scss
$@
dist/website.min.css
::
stamp-npm dist/website.css
$(CLEANCSS)
dist/website.css
>
$@
...
...
@@ -140,15 +139,15 @@ watch: stamp-npm
.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-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
$*
$<
...
...
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