Skip to content

Commit 81f8e65

Browse files
committed
Add --no-comp option
1 parent 3ff7484 commit 81f8e65

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

tree/rebol/Siskin/siskin.reb

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,7 @@ all-options: [
8585
- "--no-upx" - "Ignore default project's UPX compression setting"
8686
- "--script" "path" "Evaluate Rebol script"
8787
- "--gzip" - "Compress the result with GZIP"
88+
- "--no-comp" - "Don't invoke compilation/linking step"
8889
]
8990

9091
; mapping of commands used in the interactive input into command line arguments
@@ -198,6 +199,7 @@ nest-context: object [
198199
no-eval?: false
199200
no-upx?: false
200201
clang?: false
202+
no-comp?: false
201203
run-result?: false
202204
update?: false
203205
gzip?: false
@@ -309,6 +311,7 @@ do-args: closure/with [
309311
find args "--help" [ print banner print help-options-cli quit]
310312
find args "--git-ssh" [ git-ssh?: on]
311313
find args "--update" [ git-update?: on]
314+
find args "--no-comp" [ no-comp?: on]
312315
]
313316
]
314317

@@ -834,6 +837,9 @@ parse-nest: closure/with [
834837
)
835838
]]
836839

840+
; Disable compiler assignment when "--no-comp" option is used
841+
if no-comp? [dest/compiler: none]
842+
837843
dest/files: unique dest/files
838844
new-line/all dest/files true
839845

@@ -2725,4 +2731,4 @@ move-file: function/with [src [file!] dst [file!]][
27252731
rename src dst
27262732
]
27272733
dst
2728-
] :nest-context
2734+
] :nest-context

0 commit comments

Comments
 (0)