Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Makefile command for building code #201

Merged
merged 12 commits into from
Jun 11, 2024
Merged

Conversation

RonanMorgan
Copy link
Collaborator

I was a bit lost when I tried to build the code because of the separation between the lib and the app so I have added some Makefile commands in order to better reflect this architecture and I removed one Makefile file and the requirements.txt for simplification purpose

@RonanMorgan RonanMorgan self-assigned this May 27, 2024
Copy link

codecov bot commented May 27, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 88.69%. Comparing base (0da320d) to head (c112080).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #201   +/-   ##
========================================
  Coverage    88.69%   88.69%           
========================================
  Files            6        6           
  Lines          398      398           
========================================
  Hits           353      353           
  Misses          45       45           
Flag Coverage Δ
unittests 88.69% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

MateoLostanlen
MateoLostanlen previously approved these changes May 28, 2024
Copy link
Member

@MateoLostanlen MateoLostanlen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just one small question but it LGTM

Makefile Outdated
# Build the docker
build:
build-app:
docker build . -t pyronear/pyro-engine:python3.8.1-slim
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why do you build two images here ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hum build-app is building one image, with the app contained in src/ and build-lib is building the library locally.
Maybe build-image and build-lib would be a better wording ?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, maybe it's just me, but I don't understand why we need these two lines, we can't just keep :

docker build . -t pyronear/pyro-engine:latest

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member

@MateoLostanlen MateoLostanlen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All good thanks

@MateoLostanlen MateoLostanlen merged commit d8d6082 into develop Jun 11, 2024
14 checks passed
@MateoLostanlen MateoLostanlen deleted the rs/build-refactor branch June 11, 2024 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants