Skip to content

Choose compile directory as command line argument instead of header in file. #17

Open

Description

@AdoHTQ

It would probably be better to choose the compile directory as a command line argument instead of as a header so that you can easily open source a CBScript project without having to remove the header. This could be implemented so if a file does have a header, it would take priority over the argument path to keep backwards compatibility.

Activity

  1. ckohen commented on Mar 17, 2024

    @ckohen

    It's still backwards compatible if the cli arg takes precedence. If you provide the arg, it's because you want it to go there, if you don't, try to find it in the file, otherwise error.

  2. AdoHTQ commented on Mar 17, 2024

    @AdoHTQ
    Author

    Yeah, either would work. Also, the command being longer by having 2 paths in it doesn't really matter because you only have to run the command once, even for multiple compiles.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions