mirror of
https://git.sr.ht/~tsileo/microblog.pub
synced 2024-12-22 05:04:27 +00:00
Fix Makefile
This commit is contained in:
parent
a348a40aae
commit
480fc890de
1 changed files with 3 additions and 2 deletions
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
|
||||||
|
|
Loading…
Reference in a new issue