7b1cb9ae2a
Implemented the Project model in the library target.
2025-02-04 23:24:35 +01:00
a515747c21
Implemented the TemplateService service in the library target.
2025-02-04 21:57:47 +01:00
1de9738e6e
Defined the "render(_: on: )" function for the TemplateServicing protocol in the library target.
2025-02-04 20:58:14 +01:00
17734dadee
Merge branch 'main' into feature/arguments-templating
2025-01-28 01:09:53 +01:00
9be8fa4a31
Basic project creation ( #3 )
...
This PR contains the work done to create a new *Hummingbird* project with very basic configuration from the _colibri_ executable, just like the project you could create with the [Hummingbird template](https://github.com/hummingbird-project/template ) project in Github.
Reviewed-on: #3
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-01-28 00:07:24 +00:00
b8c354e614
Root folder creation ( #2 )
...
This PR contains the work done to create the root folder of a new project when executing the _colibri_ executable. In addition, some other work has been done:
* added the `ArgumentParser` package dependency to the package;
* implemented the `FileService` service in the _library_ target;
* implemented the `CreateRootFolderTask` task in the _library_ target;
* removed some unnecessary comments and boilerplate code;
Reviewed-on: #2
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-01-27 23:54:50 +00:00
d0d47d280d
Package target setup ( #1 )
...
This PR contains the work done to setup the *executable*, *library*, and *test* targets for the Swift package. In addition, some boilerplate code has been removed.
Reviewed-on: #1
Co-authored-by: Javier Cicchelli <javier@rock-n-code.com>
Co-committed-by: Javier Cicchelli <javier@rock-n-code.com>
2025-01-27 23:38:34 +00:00
bc765705a8
Defined the "render(_: on: )" function for the TemplateServicing protocol in the library target.
2025-01-25 00:27:47 +01:00
8bc446ca68
Added the "resourcePath" property to the Bundleable protocol in the library target.
2025-01-24 23:52:30 +01:00
7dfddb8d4c
Added the Swift Mustache package dependency to the Package file, and attached its product to the library target.
2025-01-19 01:27:06 +01:00
36f1b8fe5c
Implemented some tests for the RunProcessTaskTests case tests in the tests target.
2025-01-18 23:21:35 +01:00
c7a1258273
Integrated the InitGitInFolderTask task into the CreateCommand command in the executable target.
2025-01-18 20:36:05 +01:00
1fcbc38253
Implemented the InitGitInFolderTask task in the library target.
2025-01-18 20:33:26 +01:00
7081f7b755
Implemented the RunProcessTask task in the library target.
2025-01-18 20:05:37 +01:00
245529f88f
Implemented the Processable protocol in the library target and conformed the Process object to it.
2025-01-18 20:04:24 +01:00
02fb6b9345
Implemented the "availableData" property for the Pipe+Properties extension in the library target and also, implemented its "append()" function that appends its data concurrently.
2025-01-18 20:03:11 +01:00
d3283c912f
Renamed the BundleServicing protocol in the library target as Bundleable.
2025-01-18 19:52:40 +01:00
c08dbe5602
Added some more cases to the File enumeration in the library target.
2025-01-18 16:04:03 +01:00
0b69973537
Moved the files under the "Resources/Files" folder in the library target to the "Resources/Files/Sources" folder.
2025-01-18 12:41:09 +01:00
3f8651ca52
Implemented the "allCasesWithRoot" static property for the Folder enumeration in the library target.
2025-01-18 12:31:13 +01:00
6fe45db4f1
Implemented the "folder" property for the File enumeration in the library target.
2025-01-18 12:19:29 +01:00
5f958c6f4c
Added the "root" case to the Folder enumeration.
2025-01-18 12:14:42 +01:00
29dad1d688
Added the "dockerFile" case to the File enumeration in the library target.
2025-01-18 12:07:57 +01:00
f558465b62
Renamed the ResourceFile enumeration in the library target as File and also, implemented its "filePath" and "resourcePath" properties.
2025-01-18 11:51:36 +01:00
720ad687fb
Implemented the "path" property for the Folder enumeration in the library target.
2025-01-18 11:40:25 +01:00
504b3be447
Fixed the package resource file in the library target.
2025-01-18 04:46:59 +01:00
4d55fadfb8
Improved the Package file from the project.
2025-01-18 04:45:58 +01:00
026251ad6d
Improved the implementation for the CreateFolderTask task in the library target.
2025-01-18 04:25:01 +01:00
9ee7592902
Refactored some test cases in the tests target.
2025-01-18 04:03:07 +01:00
1094bbb6c8
Restructured the folder structure in the library and test targets.
2025-01-18 03:50:18 +01:00
1466bff250
Implemented the CopyFilesTask task in the library module.
2025-01-18 03:06:39 +01:00
647c5bd32a
Defined the ResourceFile enumeration in the library target and also, implemented its "fileName" computed property.
2025-01-18 02:03:55 +01:00
b8d5bea7ae
Implemented the "copyFile(from: to: )" function for the FileService service in the library target.
2025-01-18 01:07:52 +01:00
af4958a5e8
Conformed the Bundle representation of the Foundation framework to the BundleServicing protocol in the library target.
2025-01-18 00:19:59 +01:00
5a3654a68f
Implemented the BundleServicing protocol in the library target.
2025-01-18 00:18:11 +01:00
6720464026
Renamed the project file assets in the library target.
2025-01-18 00:15:42 +01:00
640683063e
Restructured the folder structure of the test target.
2025-01-17 23:23:10 +01:00
04bd2a1160
Restructured the folder structure of the library target.
2025-01-17 23:21:25 +01:00
6955d816ef
Restructured the folder structure of the executable target.
2025-01-17 23:19:01 +01:00
94e28a324b
Moved the project files from the executable target to the library target.
2025-01-17 23:17:20 +01:00
02299f1cc2
Integrated the CopyFilesTask task into the "run()" function for the CreateCommand command in the executable target.
2025-01-16 01:46:42 +01:00
fbb5d2d2a4
Improved upon the implementation of the "callAsFunction(at: )" function for the CreateFoldersTask task in the library target.
2025-01-16 01:45:41 +01:00
72230c5337
Implemented the CopyFilesTask task in the library target.
2025-01-16 01:37:32 +01:00
95698a2824
Added some resource files to the executable target.
2025-01-16 00:36:56 +01:00
7cd1777735
Moved the source files under the "CLI" folder in the executable target.
2025-01-16 00:31:53 +01:00
489cf3d780
Implemented the "copyItem(from: to: )" function for the FileService service in the library target.
2025-01-14 23:52:33 +01:00
26fde119ef
Improved the naming of the functions for the FileServicing protocol in the library target.
2025-01-13 23:29:24 +01:00
df556f83ab
Added the CreateFoldersTasks task into the "run()" function for the CreateCommand command in the app target.
2025-01-13 00:36:56 +01:00
d065425c69
Implemented the CreateFoldersTask task in the library target.
2025-01-13 00:35:38 +01:00
2852f4b1bf
Improved the FileServiceMock mock in the tests target to support multiple actions.
2025-01-13 00:32:16 +01:00