hrszpuk / rectx

The powerful little project manager for the ReCT programming language!
GNU General Public License v3.0
6 stars 1 forks source link

Target profiles, directory generation, and automatically moving dependencies when needed #16

Closed hrszpuk closed 2 years ago

hrszpuk commented 2 years ago

Issue

Each build profile should have their own target folder as each build profile can have different settings. Furthermore, the application being build may require files/folders at runtime, these can be moved from /deps (default) to the build profile target directory so the application has direct access to them when it is being ran.

Solution

The implementation currently is not very flexible, although this should change when the compilation profile code is refactored in the near future. Below is a list of the features implemented.

  1. build/run can be built into /target/{build|run} (default)
  2. Dependencies in /deps (default) are copied into /target/{build|run}

Notes about the implementation

Currently the entire /deps folder is copied. This should be changed to only copy files/folders inside the /deps.

hrszpuk commented 2 years ago

Yeah this isn't going to build on Windows because the file handling currently uses Unix / which won't work on Windows. I need to fix that (#14)