-
Notifications
You must be signed in to change notification settings - Fork 100
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
make reset - avoid "rm *.cpp"? #212
Comments
I'm not a huge fan of the "make reset" method. Maybe we can explore a setup where project folders containing the .cpp files are retained, and the main makefile calls the project-specific makefile within each folder, handling paths appropriately? I've encountered issues with "make reset," leading to the loss of a few hours of work. It could be more productive to collaborate and compile directly from the same .cpp file rather than relying on a copied version. |
Make reset returns you to a blank slate.
Those existing CPP files are not a blank slate.
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Paul Macklin, Ph.D.
Associate Professor of Intelligent Systems Engineering
Associate Dean for Undergraduate Education
Luddy School of Informatics, Computing and Engineering
Indiana University
Founder and Lead of PhysiCell<http://physicell.org/>
mobile: 626-372-1203
email: ***@***.*** / ***@***.***
web: MathCancer.org<http://mathcancer.org/>
Twitter: @MathCancer<https://twitter.com/MathCancer>
…________________________________
From: Heber Lima da Rocha ***@***.***>
Sent: Thursday, February 22, 2024 8:46:58 AM
To: MathCancer/PhysiCell ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [MathCancer/PhysiCell] make reset - avoid "rm *.cpp"? (Issue #212)
I'm not a huge fan of the "make reset" method. Maybe we can explore a setup where project folders containing the .cpp files are retained, and the main makefile calls the project-specific makefile within each folder, handling paths appropriately? I've encountered issues with "make reset," leading to the loss of a few hours of work. It could be more productive to collaborate and compile directly from the same .cpp file rather than relying on a copied version.
—
Reply to this email directly, view it on GitHub<#212 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/ACVZW4HIB5QHSK32DAUHLI3YU5D5FAVCNFSM6AAAAABDTD3HCKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJZGQ4DINRVHA>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
i agree with Paul. i need |
In my PhysiCell user_projects i added a line at the top of the |
I would advocate for not changing the functionality of these common commands. I and others have come to rely on them and what they do. I don't see any of them as inherently broken. If we want, we can either extend any existing commands by introducing new |
@drbergman i don't think it is a good idea to add more commands. the point that i made is, that when you do a |
Could we possibly not have
make reset
do arm *.cpp
? Just wondering what the danger is in having them? I've been bitten by this on multiple occasions. I make my own personal backup copy of a main.cpp, due to testing edits I've made, then it's removed on a make reset.The text was updated successfully, but these errors were encountered: