-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/main'
- Loading branch information
Showing
14 changed files
with
894 additions
and
93 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
# CPack config | ||
set(CPACK_PACKAGE_INSTALL_DIRECTORY "Swirl") | ||
set(CPACK_PACKAGE_VENDOR "Swirl Lang") | ||
set(CPACK_PACKAGE_VERSION "${CMAKE_PROJECT_VERSION}") | ||
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "Swirl compiler") | ||
set(CPACK_RESOURCE_FILE_LICENSE "${CMAKE_CURRENT_SOURCE_DIR}/resources/LICENSE") | ||
|
||
# RPM config | ||
set(CPACK_RPM_PACKAGE_DESCRIPTION "Swirl is a modern, general-purpose programming language designed to meet the evolving needs of today's developers. It is a high-level, statically typed, compiled, and object-oriented language that emphasizes both readability and performance.") | ||
set(CPACK_RPM_PACKAGE_VERSION "${CMAKE_PROJECT_VERSION}") | ||
set(CPACK_RPM_PACKAGE_RELEASE "1") | ||
set(CPACK_RPM_PACKAGE_LICENSE "GPLv3") | ||
set(CPACK_RPM_PACKAGE_GROUP "Development/Tools") | ||
set(CPACK_RPM_PACKAGE_URL "https://swirl-lang.vercel.app") | ||
|
||
# DEB config | ||
set(CPACK_DEBIAN_PACKAGE_MAINTAINER "Swirl Lang") | ||
|
||
# NSIS config | ||
set(CPACK_NSIS_DISPLAY_NAME "Swirl") | ||
set(CPACK_NSIS_CONTACT "Swirl Lang") | ||
set(CPACK_NSIS_BRANDING_TEXT "Swirl Lang") | ||
set(CPACK_NSIS_URL_INFO_ABOUT "https://swirl-lang.vercel.app") | ||
set(CPACK_NSIS_MODIFY_PATH ON) | ||
set(CPACK_NSIS_MENU_LINKS "https://swirl-lang.vercel.app" "Swirl website" "https://github.com/SwirlLang/Swirl" "Swirl GitHub repo") | ||
|
||
include(CPack) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// Configured options for Swirl | ||
#define Swirl_VERSION_MAJOR @Swirl_VERSION_MAJOR@ | ||
#define Swirl_VERSION_MINOR @Swirl_VERSION_MINOR@ | ||
#define Swirl_VERSION_PATCH @Swirl_VERSION_PATCH@ | ||
#define swirl_VERSION_MAJOR @swirl_VERSION_MAJOR@ | ||
#define swirl_VERSION_MINOR @swirl_VERSION_MINOR@ | ||
#define swirl_VERSION_PATCH @swirl_VERSION_PATCH@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.49.3. | ||
.TH SWIRL "1" "March 2023" "Swirl" "User Commands" | ||
.SH NAME | ||
Swirl \- manual page for Swirl | ||
.SH SYNOPSIS | ||
.B Swirl | ||
\fI\,<input-file> \/\fR[\fI\,flags\/\fR] | ||
.SH DESCRIPTION | ||
The Swirl compiler | ||
.SS "Flags:" | ||
.TP | ||
\fB\-h\fR, \fB\-\-help\fR | ||
Shows this help message | ||
.TP | ||
\fB\-r\fR, \fB\-\-run\fR | ||
Run the compiled file | ||
.TP | ||
\fB\-o\fR, \fB\-\-output\fR | ||
Output file name | ||
.TP | ||
\fB\-c\fR, \fB\-\-compiler\fR | ||
C++ compiler to use | ||
.TP | ||
\fB\-d\fR, \fB\-\-debug\fR | ||
Log the steps of compilation | ||
.TP | ||
\fB\-v\fR, \fB\-\-version\fR | ||
Shows the version of Swirl |
Oops, something went wrong.