Skip to content

Commit

Permalink
Merge branch release-0-13-3
Browse files Browse the repository at this point in the history
  • Loading branch information
delasy committed Aug 21, 2023
2 parents a430b13 + b94076d commit 5badf02
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: CLI
description: CLI for The programming language
version: 0.13.1
description: CLI for The Programming Language
version: 0.13.3
main: src/main

packages:
Expand Down
6 changes: 4 additions & 2 deletions src/main
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Licensed under the MIT License
*/

const VERSION_NUM := "0.13.1"
const VERSION_NUM := "0.13.3"
const VERSION_NAME := "Enidora"

main {
Expand All @@ -29,6 +29,7 @@ main {
hasValue: false
)

.option("arch", "Target arch, one of: arm64, x86_64")
.option(
"arch",
"Target arch, one of: arm64, x86_64",
Expand Down Expand Up @@ -75,6 +76,7 @@ main {
mut compiler := ""
mut excludePaths := [".git", ".svn", "thumbs.db", ".DS_Store"]
mut outputPath := ""
mut arch := ""
mut platform := ""
mut runArgs := ""
mut version := ""
Expand Down Expand Up @@ -134,7 +136,7 @@ main {
process_exit(0)
}

qs := "?v=" + version + "&a=" + arch + "&p=" + platform
qs := "?v=" + version + "&p=" + platform + (arch.empty ? arch : "&a=" + arch)

if action == "compile" || action == "lex" || action == "parse" {
command(compiler, action, actionArgument, outputPath, qs)
Expand Down

0 comments on commit 5badf02

Please sign in to comment.