Skip to content

Commit

Permalink
switch to poetry
Browse files Browse the repository at this point in the history
  • Loading branch information
piranha committed Dec 2, 2021
1 parent db835d6 commit bc9a3c8
Show file tree
Hide file tree
Showing 8 changed files with 367 additions and 288 deletions.
7 changes: 1 addition & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,9 @@ jobs:
with:
python-version: '3.8'

- name: Setup pipenv
run: |
sudo -H pip install pipenv
pipenv install
- name: Build
run: |
make
make ci
test 6000 -lt $(cat _build/index.html | wc -l)
yarn install
yarn danger ci
Expand Down
15 changes: 0 additions & 15 deletions Dockerfile

This file was deleted.

13 changes: 10 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
PORT=80

run:
pipenv run ./render.py
poetry run ./render.py

prod:
./render.py && htmlmin _build/index.html _build/index.html
min:
poetry run htmlmin _build/index.html _build/index.html

poetry:
pip3 install -q poetry
poetry install -q

prod: poetry run min
ci: poetry run

docker-build:
docker build -t opengaming/osgameclones .
Expand Down
18 changes: 0 additions & 18 deletions Pipfile

This file was deleted.

246 changes: 0 additions & 246 deletions Pipfile.lock

This file was deleted.

Loading

0 comments on commit bc9a3c8

Please sign in to comment.