mathiasvatter / cksp-compiler-issues

Issues-only repository of the ksp-compiler
0 stars 0 forks source link

pragma output_path does only work with pre existing files #9

Closed mathiasvatter closed 2 months ago

mathiasvatter commented 7 months ago

Describe the bug When using #pragma output_path("") it seems, has to already exist, otherwise it throws error.

To Reproduce

#pragma output_path("Samples/Resources/scripts/the_score_cksp.txt")

Actual Behavior Could not resolve paths. Expected: 'valid path', got: '/Users/Mathias/Scripting/the-score, Samples/Resources/scripts/the_score_cksp.txt' In line 11: //#pragma output_path("Samples/Resources/scripts/the_score_cksp.txt")

Expected behavior Should not throw an error but create .txt file at path, if it is a .txt file

CKSP Version v0.0.4

Environment (please complete the following information):

mathiasvatter commented 2 months ago

fixed in v0.0.5