Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit fff3358

Browse filesBrowse files
committed
adjusted deployment config
1 parent b124cee commit fff3358
Copy full SHA for fff3358

2 files changed

+5-6Lines changed: 5 additions & 6 deletions

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎buildUserscript.cfg‎

Copy file name to clipboardExpand all lines: buildUserscript.cfg
+2-3Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,11 @@ fnc=remove_skip_blocks
1212
open_tag=/*<SKIP>*/
1313
close_tag=/*</SKIP>*/
1414

15-
# This will remove all line comments starting with //
15+
# This will remove all line comments starting with // # FIXME Parameters not used
1616
[lineComments]
1717
enabled=false
1818
fnc=remove_line_comments
19-
open_tag=//
20-
close_tag=$
19+
open_tag=\/\/[^*]
2120
start_at_line=22
2221

2322
# This will remove all multiline comments starting with /* and ending with */
Collapse file

‎buildUserscript.sh‎

Copy file name to clipboardExpand all lines: buildUserscript.sh
+3-3Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,9 @@ remove_skip_blocks() {
152152

153153
## Function to process operation 'lineComments'
154154
remove_line_comments() {
155-
# FIXME: remove_line_comments does not work yet
156-
local result="$(perl -0777 -pe "s{\R?${open_tag}.*?${close_tag}}{}sg" "${output_file}")"
157-
echo "${result}" > "${output_file}"
155+
# FIXME: insert configured arguments
156+
#open_tag="$(str_escape "${open_tag}")"
157+
sed -i '22,$s/\/\/[^*].*/ /' "${output_file}"
158158
return 0
159159
}
160160

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.