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

Command for compiling single file #173

Open
MasloMaslane opened this issue Jan 9, 2024 · 5 comments
Open

Command for compiling single file #173

MasloMaslane opened this issue Jan 9, 2024 · 5 comments

Comments

@MasloMaslane
Copy link
Member

No description provided.

@kezsulap
Copy link

Ideally it would be possible to run it in some more convenient way than .cache/executables/kod.cpp.e, like sinol-make exec kod.cpp (and compiling the solution only if its source was indeed changed). WDYT?

@MasloMaslane
Copy link
Member Author

That's a good idea, thanks for the suggestion

@adespawn
Copy link
Contributor

adespawn commented Mar 1, 2024

Maybe creating directory ./bin linking to .cache/executables will be a better idea, than doing it through sobol-make?

@kezsulap
Copy link

kezsulap commented Mar 1, 2024

As long as I'm not working on multiple contests which may have some problem ID overlap, probably yeah, it would be more convenient, but what if there is any overlap? (and that bin shouldn't contain .cache directly, but some commands that would check timestamps of last edit, recompile if necessary and only once the code compiles successfully or doesn't need to be recompiled run it in current shell)

@adespawn
Copy link
Contributor

adespawn commented Mar 1, 2024

I was thinking about local folder bin (inside package directory). In that case there wouldn't be any overlaps.

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

No branches or pull requests

3 participants