test: Edit test
Some checks failed
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit
Some checks failed
gitea-openium/resgen.swift/pipeline/head There was a failure building this commit
This commit is contained in:
@ -127,7 +127,7 @@ class AnalyticsManager {
|
||||
|
||||
// MARK: - Methods
|
||||
|
||||
func setAnalyticsEnabled(_ enable: Bool) {
|
||||
func setAnalyticsEnabled(_ enable: Bool) {
|
||||
isEnabled = enable
|
||||
}
|
||||
|
||||
@ -167,24 +167,30 @@ class AnalyticsManager {
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - Introduction
|
||||
// MARK: - section_one
|
||||
|
||||
func logScreenIntroductionScreen(title: String) {
|
||||
func logScreenS1DefOne() {
|
||||
logScreen(
|
||||
name: "Bienvenue \(title)",
|
||||
path: "introduction/"
|
||||
name: "s1 def one",
|
||||
path: "s1_def_one/"
|
||||
)
|
||||
}
|
||||
|
||||
func logEventIntroductionScreen(test: String, data: Int) {
|
||||
func logEventS1DefTwo() {
|
||||
logEvent(
|
||||
name: "Bienvenue",
|
||||
action: "action",
|
||||
category: "category",
|
||||
params: [
|
||||
"test": test,
|
||||
"data": data
|
||||
]
|
||||
name: "s1 def two",
|
||||
action: "test",
|
||||
category: "test",
|
||||
params: []
|
||||
)
|
||||
}
|
||||
|
||||
// MARK: - section_two
|
||||
|
||||
func logScreenS2DefOne() {
|
||||
logScreen(
|
||||
name: "s2 def one",
|
||||
path: "s2_def_one/"
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@ -1,24 +1,43 @@
|
||||
---
|
||||
categories:
|
||||
- id: Introduction
|
||||
- id: section_one
|
||||
screens:
|
||||
- id: introduction_screen
|
||||
name: Bienvenue _TITLE_
|
||||
path: introduction/
|
||||
tags: droid,ios
|
||||
parameters:
|
||||
- name: title
|
||||
type: String
|
||||
replaceIn: name
|
||||
- id: s1_def_one
|
||||
name: s1 def one
|
||||
path: s1_def_one/
|
||||
tags: ios
|
||||
|
||||
events:
|
||||
- id: introduction_screen
|
||||
name: Bienvenue
|
||||
category: category
|
||||
action: action
|
||||
tags: droid,ios
|
||||
parameters:
|
||||
- name: test
|
||||
type: String
|
||||
- name: data
|
||||
type: Int
|
||||
- id: s1_def_two
|
||||
name: s1 def two
|
||||
action: test
|
||||
category: test
|
||||
tags: ios
|
||||
|
||||
- id: section_two
|
||||
screens:
|
||||
- id: s2_def_one
|
||||
name: s2 def one
|
||||
path: s2_def_one/
|
||||
tags: ios
|
||||
|
||||
events:
|
||||
- id: s2_def_two
|
||||
name: s2 def two
|
||||
action: test
|
||||
category: test
|
||||
tags: droid
|
||||
|
||||
- id: section_three
|
||||
screens:
|
||||
- id: s3_def_one
|
||||
name: s3 def one
|
||||
path: s3_def_one/
|
||||
tags: droid
|
||||
|
||||
events:
|
||||
- id: s3_def_two
|
||||
name: s3 def two
|
||||
action: test
|
||||
category: test
|
||||
tags: droid
|
||||
|
@ -32,7 +32,7 @@ FORCE_FLAG="$1"
|
||||
|
||||
#echo "\n-------------------------\n"
|
||||
|
||||
# Strings
|
||||
## Strings
|
||||
#swift run -c release ResgenSwift strings stringium $FORCE_FLAG "./Strings/sampleStrings.txt" \
|
||||
# --output-path "./Strings/Generated" \
|
||||
# --langs "fr en en-us" \
|
||||
@ -41,23 +41,23 @@ FORCE_FLAG="$1"
|
||||
# --extension-name "String" \
|
||||
# --extension-suffix "GenAllScript"
|
||||
|
||||
echo "\n-------------------------\n"
|
||||
|
||||
## Tags
|
||||
swift run -c release ResgenSwift strings tags $FORCE_FLAG "./Tags/sampleTags.txt" \
|
||||
--lang "ium" \
|
||||
--extension-output-path "./Tags/Generated" \
|
||||
--extension-name "Tags" \
|
||||
--extension-suffix "GenAllScript"
|
||||
#
|
||||
#echo "\n-------------------------\n"
|
||||
|
||||
## Analytics
|
||||
#swift run -c release ResgenSwift analytics $FORCE_FLAG "./Tags/sampleTags.yml" \
|
||||
# --target "matomo firebase" \
|
||||
## Tags
|
||||
#swift run -c release ResgenSwift strings tags $FORCE_FLAG "./Tags/sampleTags.txt" \
|
||||
# --lang "ium" \
|
||||
# --extension-output-path "./Tags/Generated" \
|
||||
# --extension-name "Analytics" \
|
||||
# --extension-name "Tags" \
|
||||
# --extension-suffix "GenAllScript"
|
||||
#
|
||||
echo "\n-------------------------\n"
|
||||
|
||||
# Analytics
|
||||
swift run -c release ResgenSwift analytics $FORCE_FLAG "./Tags/sampleTags.yml" \
|
||||
--target "matomo firebase" \
|
||||
--extension-output-path "./Tags/Generated" \
|
||||
--extension-name "Analytics" \
|
||||
--extension-suffix "GenAllScript"
|
||||
|
||||
echo "\n-------------------------\n"
|
||||
#
|
||||
|
Reference in New Issue
Block a user