Skip to content

Commit

Permalink
Update makefile and lib
Browse files Browse the repository at this point in the history
  • Loading branch information
enriquetomasmb committed Nov 20, 2024
1 parent ef4b913 commit 9f7dc7a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 7 deletions.
18 changes: 12 additions & 6 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,19 @@ install: install-python ## Install core dependencies
@echo "🔧 Installing pre-commit hooks"
@$(UV) run pre-commit install
@echo ""
@echo "🐳 Building nebula-frontend docker image. Do you want to continue? (y/n)"
@read ans && [ $${ans:-N} = y ] || { echo "Build cancelled."; exit 1; }
@docker build -t nebula-frontend -f nebula/frontend/Dockerfile .
@echo "🐳 Building nebula-frontend docker image. Do you want to continue (overrides existing image)? (y/n)"
@read ans; if [ "$${ans:-N}" = y ]; then \
docker build -t nebula-frontend -f nebula/frontend/Dockerfile .; \
else \
echo "Skipping nebula-frontend docker build."; \
fi
@echo ""
@echo "🐳 Building nebula-core docker image. Do you want to continue? (y/n)"
@read ans && [ $${ans:-N} = y ] || { echo "Build cancelled."; exit 1; }
@docker build -t nebula-core .
@echo "🐳 Building nebula-core docker image. Do you want to continue? (overrides existing image)? (y/n)"
@read ans; if [ "$${ans:-N}" = y ]; then \
docker build -t nebula-core .; \
else \
echo "Skipping nebula-core docker build."; \
fi
@echo ""
@$(MAKE) shell

Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@ dependencies = [
"mypy<2.0.0,>=1.13.0",
"pre-commit<5.0.0,>=4.0.1",
"ruff<1.0.0,>=0.7.2",
"tensorboard-reducer==0.3.1",
]

classifiers = [
Expand Down Expand Up @@ -124,7 +125,6 @@ frontend = [
"setuptools==74.1.2",
"tensorboard==2.17.1",
"tensorboardx==2.6.2.2",
"tensorboard-reducer==0.3.1",
"torch==2.4.1",
"uvicorn==0.30.6",
"web3==6.20.0",
Expand Down

0 comments on commit 9f7dc7a

Please sign in to comment.