Skip to content

Commit

Permalink
makefile
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaelpierre committed Nov 14, 2023
1 parent 833e9ec commit 3452ed7
Show file tree
Hide file tree
Showing 11 changed files with 9 additions and 71 deletions.
11 changes: 3 additions & 8 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,8 @@ react:
cd ui && yarn install && yarn build

python:
rm -rf src/larry/www && \
mkdir src/larry/www && \
cd ui && yarn install && \
yarn build && \
cp -r build/* ../src/larry/www && \
cd ../ && \
python -m build ./src
rm -rf ./src/build && rm -rf ./src/dist && \
pip install 'build<0.10.0' && python -m build ./src/ --wheel --outdir dist/

install:
pip install ./src/dist/larry-0.0.1-py3-none-any.whl --force-reinstall
pip install ./dist/larry_ai-0.0.1-py3-none-any.whl --force-reinstall
13 changes: 0 additions & 13 deletions larry/asset-manifest.json

This file was deleted.

1 change: 0 additions & 1 deletion larry/index.html

This file was deleted.

Binary file removed larry/larry.avif
Binary file not shown.
2 changes: 0 additions & 2 deletions larry/static/css/main.05d97a40.css

This file was deleted.

1 change: 0 additions & 1 deletion larry/static/css/main.05d97a40.css.map

This file was deleted.

3 changes: 0 additions & 3 deletions larry/static/js/main.8aa8c901.js

This file was deleted.

41 changes: 0 additions & 41 deletions larry/static/js/main.8aa8c901.js.LICENSE.txt

This file was deleted.

1 change: 0 additions & 1 deletion larry/static/js/main.8aa8c901.js.map

This file was deleted.

5 changes: 5 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"dependencies": {
"react": "./ui"
}
}
2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
},
"scripts": {
"start": "PORT=8080 react-scripts start",
"build": "react-scripts build && rm -rf ../larry/www && cp -r build ../src/larry && mv ../src/larry/build ../src/larry/www",
"build": "react-scripts build && rm -rf ../src/larry/www && cp -r build ../src/larry && mv ../src/larry/build ../src/larry/www",
"test": "react-scripts test --env=jsdom",
"eject": "react-scripts eject"
},
Expand Down

0 comments on commit 3452ed7

Please sign in to comment.