You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I downloaded and unzipped to get a folder containing c3c.exe.
I navigated cmd.exe to the folder.
I ran: c3c init project.
I ran: c3c compile project.
main.exe was created in the same folder level as c3c.exe, whereas I expected main.exe to be created within the build folder belonging to the project.
The text was updated successfully, but these errors were encountered:
I misunderstood the purpose of the build folder because I skimmed https://c3-lang.org/guide/my-first-project/ and assumed the build folder is not only where intermediate build artifacts go but all artifacts.
As a first-time user, I think it's confusing that there are two commands compile and build. If I were to suggest a change, it would be to have just one command compile. The compile command would build all source files in a folder unless it recognizes that the folder is a project, in which case it builds the project. That being said, maybe this is another case of my lack of understanding for why there are two commands.
They act quite differently. build takes a single "target" argument, which is what target in the project.json file one wishes to compile for, e.g. c3c build mygame-testversion, whereas compile is to just straight go and compile individual files, without a project, e.g. c3c compile foo.c3 bar.c3 baz.c3
I downloaded and unzipped to get a folder containing c3c.exe.
I navigated cmd.exe to the folder.
I ran:
c3c init project
.I ran:
c3c compile project
.main.exe was created in the same folder level as c3c.exe, whereas I expected main.exe to be created within the
build
folder belonging to the project.The text was updated successfully, but these errors were encountered: