mirror of
https://github.com/ful1e5/apple_cursor.git
synced 2025-05-15 07:34:44 -04:00
⚡ Suppress commands & record file
This commit is contained in:
parent
cb9eacab70
commit
8540175d61
1 changed files with 17 additions and 8 deletions
|
@ -1,15 +1,24 @@
|
||||||
|
|
||||||
all: setup build clean
|
all: clean setup build
|
||||||
|
|
||||||
.PHONY: all
|
.PHONY: all
|
||||||
|
|
||||||
clean:
|
.ONESHELL:
|
||||||
rm -rf applbuild.egg-info build dist
|
SHELL:=/bin/bash
|
||||||
find -iname "*.pyc" -delete
|
|
||||||
|
|
||||||
setup: clean setup.py
|
clean:
|
||||||
test -d venv || virtualenv venv
|
@rm -rf applbuild.egg-info build dist
|
||||||
. venv/bin/activate; python3 setup.py install
|
@find -iname "*.pyc" -delete
|
||||||
|
|
||||||
|
# Removing setup.py package files if installed
|
||||||
|
@if [ -f "files.txt" ]; then
|
||||||
|
@xargs rm -rf < files.txt
|
||||||
|
@rm -rf files.txt
|
||||||
|
@fi
|
||||||
|
|
||||||
|
setup: setup.py
|
||||||
|
@test -d venv || virtualenv venv
|
||||||
|
@. venv/bin/activate; python3 setup.py install --record files.txt
|
||||||
|
|
||||||
build: setup build.py
|
build: setup build.py
|
||||||
. venv/bin/activate; python3 build.py
|
@. venv/bin/activate; python3 build.py
|
Loading…
Add table
Add a link
Reference in a new issue