Fix Makefile
This commit is contained in:
5
Makefile
5
Makefile
@@ -1,3 +1,4 @@
|
|||||||
|
SHELL := /bin/bash
|
||||||
PYTHON=python
|
PYTHON=python
|
||||||
SETUP_WIZARD_IMAGE=microblogpub-setup-wizard:latest
|
SETUP_WIZARD_IMAGE=microblogpub-setup-wizard:latest
|
||||||
PWD=$(shell pwd)
|
PWD=$(shell pwd)
|
||||||
@@ -38,9 +39,9 @@ microblogpub:
|
|||||||
.PHONY: css
|
.PHONY: css
|
||||||
css:
|
css:
|
||||||
# Download pure.css if needed
|
# Download pure.css if needed
|
||||||
[[ ! -f static/pure.css ]] && curl https://unpkg.com/purecss@1.0.1/build/pure-min.css > static/pure.css
|
if [[ ! -f static/pure.css ]]; then curl https://unpkg.com/purecss@1.0.1/build/pure-min.css > static/pure.css; fi
|
||||||
# Download the emojis from twemoji if needded
|
# Download the emojis from twemoji if needded
|
||||||
[[ ! -d static/twemoji ]] && wget https://github.com/twitter/twemoji/archive/v12.1.2.tar.gz && tar xvzf v12.1.2.tar.gz && mv twemoji-12.1.2/assets/svg static/twemoji && rm -rf twemoji-12.1.2 && rm -f v12.1.2.tar.gz
|
if [[ ! -d static/twemoji ]]; then wget https://github.com/twitter/twemoji/archive/v12.1.2.tar.gz && tar xvzf v12.1.2.tar.gz && mv twemoji-12.1.2/assets/svg static/twemoji && rm -rf twemoji-12.1.2 && rm -f v12.1.2.tar.gz; fi
|
||||||
|
|
||||||
# Run the docker-compose project locally (will perform a update if the project is already running)
|
# Run the docker-compose project locally (will perform a update if the project is already running)
|
||||||
.PHONY: run
|
.PHONY: run
|
||||||
|
Reference in New Issue
Block a user