Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Rewrite scripts to Kotlin #1246

Merged
merged 99 commits into from
Nov 2, 2020
Merged
Changes from 1 commit
Commits
Show all changes
99 commits
Select commit Hold shift + click to select a range
a9061d0
feat: Change updateFlank script to Kotlin
Oct 7, 2020
42a6370
create PathHelper
Oct 7, 2020
fb5b260
added buildGo script
Oct 7, 2020
54e3a77
GradleCommand, updateFlank - windows compability
adamfilipow92 Oct 7, 2020
45e0a32
fix GradleCommand.kt
Oct 7, 2020
8146ca4
added buildFlankScripts.main.kts
Oct 7, 2020
b4f9081
fixed buildGo script
Oct 7, 2020
0ccd254
added testFilters helpers
Oct 7, 2020
089e338
Add android paths, initial work of android build command
adamfilipow92 Oct 7, 2020
3907e38
Add build of base android apk and tests with copy to directory
adamfilipow92 Oct 8, 2020
6819e5a
added update library kotlin script
Oct 9, 2020
2f1473b
WIP added first iteration of windows file downloads
Sloox Oct 9, 2020
1dcdfa6
Add duplicated apk names build and doc
adamfilipow92 Oct 9, 2020
b873e0a
Update android.ops.main.kts
adamfilipow92 Oct 9, 2020
8aa867c
Added build of multiModule app and cucumber App
adamfilipow92 Oct 9, 2020
8e699d2
Update android.ops.main.kts
adamfilipow92 Oct 9, 2020
61bf5a2
adding updatingJson and generatingJavaClient
Oct 9, 2020
58c85c3
initial ios
adamfilipow92 Oct 9, 2020
e3495b2
Update ios.ops.main.kts
adamfilipow92 Oct 12, 2020
3dd546a
Update ios.ops.main.kts
adamfilipow92 Oct 12, 2020
5354945
Update ios.ops.main.kts
adamfilipow92 Oct 12, 2020
7643a2c
run pod install working
adamfilipow92 Oct 12, 2020
72f30ca
Build and copy ios artifacts
adamfilipow92 Oct 13, 2020
7485a8f
added ios scripts
Oct 13, 2020
ba806ea
added iosScripts
Oct 13, 2020
cc3fcd0
directories reorganization
Oct 13, 2020
2814cf7
refactor utils
Oct 13, 2020
a8762cd
Update ios.ops.main.kts
adamfilipow92 Oct 13, 2020
391f633
Ios Command in separated file
adamfilipow92 Oct 13, 2020
a0d974c
ios example change to createCommand
adamfilipow92 Oct 13, 2020
a3eecf8
Move some functions of ios to downloadSoftware main
adamfilipow92 Oct 13, 2020
39d1929
refactor utils
Oct 13, 2020
dd3986a
Update ios.ops.main.kts
adamfilipow92 Oct 14, 2020
f22a5ff
Add go build execution to ops
adamfilipow92 Oct 14, 2020
6a2169c
added shell and bat script for firebase api
Oct 14, 2020
1415eeb
added shell for generate java client
Oct 14, 2020
0cf94a6
refactor gradle helper
Oct 14, 2020
801163f
Update buildGo.main.kts
adamfilipow92 Oct 14, 2020
3737a4a
Update buildGo.main.kts
adamfilipow92 Oct 14, 2020
cde29b8
add scripts for update flank and build flank scripts
Oct 14, 2020
feb2125
refractor
adamfilipow92 Oct 15, 2020
4f32ae5
added scripts for go
Oct 15, 2020
38972fb
added directory to scripts
Oct 15, 2020
b9fe939
added script fo unversal framework
Oct 15, 2020
f268981
clean up
Oct 15, 2020
eca5b7f
Gradle compability with windows
adamfilipow92 Oct 15, 2020
b4b68cd
fix execution
Oct 15, 2020
88ad0b7
Update android script
adamfilipow92 Oct 15, 2020
b5ff48f
Update updateFlank.main.kts
adamfilipow92 Oct 15, 2020
d84990b
Windows compability for build/update flank
adamfilipow92 Oct 15, 2020
27a3fa5
Update formating
adamfilipow92 Oct 15, 2020
3b18d5c
fast fail on mac only scripts
Oct 15, 2020
8fd0d9c
Added section to web page
Oct 16, 2020
b447e8b
fix windows scripts
Oct 16, 2020
9e0994a
Add build option for standalone run
adamfilipow92 Oct 19, 2020
67f28b9
remove unused environment declaration
piotradamczyk5 Oct 19, 2020
3eb7a88
Update flank-bash/scripts/android.ops.main.kts
adamfilipow92 Oct 19, 2020
7cca63f
code formating
adamfilipow92 Oct 19, 2020
307ef1c
code style changes
Oct 19, 2020
51ecdaa
Add check and install command
adamfilipow92 Oct 20, 2020
060756b
Add download software
adamfilipow92 Oct 20, 2020
af9f4c0
rewrite updateBinaries to flankScripts
Oct 20, 2020
dd12e15
rewrite updateBinaries to flankScripts
Oct 20, 2020
d7dc97a
rewrite updateBinaries to flankScripts
Oct 20, 2020
0706fa4
Move firebase to shell
adamfilipow92 Oct 20, 2020
3d3555f
Add custom error on generate java client
adamfilipow92 Oct 20, 2020
4474e0b
rewrite ios to flankScripts
Oct 20, 2020
e5a79db
Add UpdateApiJsonCommand
adamfilipow92 Oct 20, 2020
ea7b482
Ops commands initial
adamfilipow92 Oct 20, 2020
9b44397
Add android build
adamfilipow92 Oct 20, 2020
ad98549
rewrite buildFlank, testFilter and goops to flankScripts
Oct 20, 2020
9f4f17a
Change classes to objects
adamfilipow92 Oct 20, 2020
21ffcd1
added ios ops and make some code and documentation changes
Oct 20, 2020
1e8bb9b
added shell command
Oct 20, 2020
ba350d1
fixed scripts for building flankScripts
Oct 20, 2020
e087491
remove standalon flank bash
Oct 20, 2020
17e1e4c
fixed native scripts
Oct 20, 2020
5fbfc22
fix native scripts and descriptions
Oct 21, 2020
0b57eb9
update documentation
Oct 21, 2020
4cabf5a
fix scripts
Oct 21, 2020
9fad9d2
Add --copy --generate --artifacts options
adamfilipow92 Oct 21, 2020
615edce
update documentation for ops
Oct 21, 2020
a6f7a66
Update ops.sh
adamfilipow92 Oct 21, 2020
fec6817
Add ios commands
adamfilipow92 Oct 22, 2020
b85308a
Add windows batch script
adamfilipow92 Oct 22, 2020
541e84c
Add batch script to build android
adamfilipow92 Oct 22, 2020
c065c0b
Fix build on windows
adamfilipow92 Oct 22, 2020
0f2b328
Merge branch 'master' into #1178-rewrite_scripts_to_kotlin
adamfilipow92 Oct 27, 2020
d2db108
Update EarlGrey ops
adamfilipow92 Oct 27, 2020
8bece90
Merge branch 'master' into #1178-rewrite_scripts_to_kotlin
adamfilipow92 Oct 29, 2020
7bd1a07
Update simple-ios-flank.yml
adamfilipow92 Oct 29, 2020
32ac866
fix ops.sh script
Oct 26, 2020
c6cd1f2
fixed pipe
Oct 29, 2020
485ed3f
Add support for FlankExample build
adamfilipow92 Oct 29, 2020
cac8b2c
Add commands for biuld flankExample and earlGreyExample
adamfilipow92 Oct 30, 2020
44ae1d4
Update README.md
adamfilipow92 Oct 30, 2020
623f2d8
Merge branch 'master' into #1178-rewrite_scripts_to_kotlin
adamfilipow92 Oct 30, 2020
2680656
Update buildFlankScripts.bat
piotradamczyk5 Oct 30, 2020
60e5f4a
Merge branch 'master' into #1178-rewrite_scripts_to_kotlin
piotradamczyk5 Nov 2, 2020
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
added shell command
Piotr Adamczyk authored and mergify-bot committed Oct 26, 2020
commit 1e8bb9bbf3e591ff85c60064717ef215dfdac610
2 changes: 2 additions & 0 deletions flank-scripts/src/main/kotlin/flank/scripts/Main.kt
Original file line number Diff line number Diff line change
@@ -5,6 +5,7 @@ import com.github.ajalt.clikt.core.subcommands
import flank.scripts.ci.CiCommand
import flank.scripts.dependencies.DependenciesCommand
import flank.scripts.release.ReleaseCommand
import flank.scripts.shell.ShellCommand
import flank.scripts.testartifacts.TestArtifactsCommand

class Main : CliktCommand(name = "flankScripts") {
@@ -18,5 +19,6 @@ fun main(args: Array<String>) {
CiCommand(),
DependenciesCommand,
TestArtifactsCommand(),
ShellCommand
).main(args)
}
29 changes: 29 additions & 0 deletions flank-scripts/src/main/kotlin/flank/scripts/shell/ShellCommand.kt
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package flank.scripts.shell

import com.github.ajalt.clikt.core.CliktCommand
import com.github.ajalt.clikt.core.subcommands
import flank.scripts.shell.firebase.FirebaseCommand
import flank.scripts.shell.ios.BuildExampleCommand
import flank.scripts.shell.ios.BuildFtlCommand
import flank.scripts.shell.ios.RunFtlLocalCommand
import flank.scripts.shell.ios.UniversalFrameworkCommand
import flank.scripts.shell.ops.OpsCommand
import flank.scripts.shell.updatebinaries.UpdateBinariesCommand

object ShellCommand : CliktCommand(name = "shell", help = "Task for shell commands") {
init {
subcommands(
FirebaseCommand,
BuildExampleCommand,
BuildFtlCommand,
RunFtlLocalCommand,
UniversalFrameworkCommand,
OpsCommand,
UpdateBinariesCommand,
BuildFlankCommand
)
}

@Suppress("EmptyFunctionBlock")
override fun run() {}
}