default platform + impl all functions

This commit is contained in:
Hunter 2024-09-29 11:07:13 -04:00
parent 8ff3047aec
commit f32bf63c98
10 changed files with 72 additions and 45 deletions

View file

@ -31,19 +31,19 @@ Create a new executable and add it to the build list
## [X] grbc_library(library_config: LibraryConfig) -> TargetInfo
Create a new library and add it to the build list
## grbc_pkg(package_name: String) -> Package
## [X] grbc_pkg(package_name: String) -> Package
Get a package with the given name and return its baked form
## [X] grbc_file(file_path: String) -> Path
Used when listing source files, should perform pre-checks on the file and return its path
## grbc_file_optional(file_type: OptionalFileType, file_path: String) -> Path
If file_type is true then file_path is returned, otherwise a blank string
## [X] grbc_platform_file(platform: PlatformType, file_path: String) -> String
If the current platform is equal to platform then return the file path, otherwise return an empty string
## grbc_has_ext(extension_name: String) -> Boolean
## [X] grbc_has_ext(extension_name: String) -> Boolean
Check if the given extension is supported
## grbc_ext(extension_name: String) -> Void
## [X] grbc_ext(extension_name: String) -> Void
Load the given extension into the script
## [X] grbc_exception(exception_string: String) -> Void