mirror of
https://github.com/alexhopeoconnor/default.git
synced 2026-10-16 07:51:37 +10:00
Remove makefile
This commit is contained in:
+2
-2
@@ -1,7 +1,7 @@
|
||||
{
|
||||
"name": "hacs/default",
|
||||
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.10-bullseye",
|
||||
"postCreateCommand": "python3 -m pip install -r requirements.txt",
|
||||
"image": "mcr.microsoft.com/vscode/devcontainers/python:0-3.10",
|
||||
"postCreateCommand": "scripts/setup",
|
||||
"context": ".",
|
||||
"extensions": [
|
||||
"ms-python.python",
|
||||
|
||||
@@ -83,7 +83,7 @@ jobs:
|
||||
path: /tmp/repositories
|
||||
|
||||
- name: Install dependencies if needed
|
||||
run: make init
|
||||
run: scripts/setup
|
||||
|
||||
- name: Run the check
|
||||
run: python3 -m scripts.check.owner
|
||||
@@ -98,7 +98,7 @@ jobs:
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Install dependencies if needed
|
||||
run: make init
|
||||
run: scripts/setup
|
||||
|
||||
- name: Run the check
|
||||
run: python3 -m scripts.check.edits
|
||||
|
||||
@@ -1,22 +0,0 @@
|
||||
.DEFAULT_GOAL := help
|
||||
|
||||
help: ## Shows help message.
|
||||
@printf "\033[1m%s\033[36m %s\033[32m %s\033[0m \n\n" "Development environment for" "HACS" "Default";
|
||||
@awk 'BEGIN {FS = ":.*##";} /^[a-zA-Z_-]+:.*?##/ { printf " \033[36m make %-15s\033[0m %s\n", $$1, $$2 } /^##@/ { printf "\n\033[1m%s\033[0m\n", substr($$0, 5) } ' $(MAKEFILE_LIST);
|
||||
@echo
|
||||
|
||||
init:
|
||||
python3 -m pip install setuptools wheel
|
||||
python3 -m pip install -r requirements.txt
|
||||
|
||||
add: ## Add a new repository to the default HACS list
|
||||
@bash scripts/add;
|
||||
|
||||
remove: ## Remove a repository to the default HACS list
|
||||
@bash scripts/remove;
|
||||
|
||||
update: ## Pull master from hacs/default
|
||||
@ git pull upstream master;
|
||||
|
||||
sort: ## Sort all files
|
||||
python3 scripts/sort.py;
|
||||
@@ -10,4 +10,4 @@ echo $reason
|
||||
echo $removal_type
|
||||
echo $link
|
||||
|
||||
python3 scripts/remove_repo.py "$repository" "$removal_type" "$reason" "$link" || exit 0
|
||||
python3 $(dirname "$0")/remove_repo.py "$repository" "$removal_type" "$reason" "$link" || exit 0
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
python3 -m pip install -r requirements.txt
|
||||
Executable
+3
@@ -0,0 +1,3 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
python3 $(dirname "$0")/sort.py
|
||||
Reference in New Issue
Block a user