Skip to content

Commit 8bcd074

Browse files
committed
wip: new project dir
wip: android test with README
1 parent a8dba73 commit 8bcd074

File tree

52 files changed

+4367
-4874
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+4367
-4874
lines changed

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
/target
2+
*.dylib
3+
*.a
4+
*.so
25
.zed/
36
.venv/
47
crates/**/dist/
@@ -18,7 +21,6 @@ build/
1821
*.iml
1922
local.properties
2023
gradle-wrapper.jar
21-
*.so
2224

2325
# Insta snapshot testing
2426
*.snap.new
@@ -32,4 +34,5 @@ AGENTS.md
3234
.opencode/
3335
.references/
3436
.kiro/
37+
.kotlin/
3538

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#
2+
# https://help.github.com/articles/dealing-with-line-endings/
3+
#
4+
# Linux start script should use lf
5+
/gradlew text eol=lf
6+
7+
# These are Windows script files and should use crlf
8+
*.bat text eol=crlf
9+
10+
# Binary files should be left untouched
11+
*.jar binary
12+
Lines changed: 3 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,5 @@
1-
*.iml
1+
# Ignore Gradle project-specific cache directory
22
.gradle
3-
**/local.properties
4-
**/.idea/caches
5-
**/.idea/libraries
6-
**/.idea/misc.xml
7-
**/.idea/modules.xml
8-
**/.idea/workspace.xml
9-
**/.idea/navEditor.xml
10-
**/.idea/assetWizardSettings.xml
11-
.DS_Store
12-
**/build
13-
**/captures
14-
.externalNativeBuild
15-
.cxx
16-
local.properties
173

4+
# Ignore Gradle build output directory
5+
build
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
# algokit_transact
2+
3+
## Building
4+
5+
```sh
6+
cargo pkg transact kt
7+
```
8+
9+
## Testing
10+
11+
### Host
12+
13+
```sh
14+
./gradlew test
15+
```
16+
17+
### Android
18+
19+
First you need a connected android device. You can either use a phsyical device or start an emulator.
20+
21+
To see available emulators:
22+
23+
```sh
24+
~/Library/Android/sdk/emulator/emulator -list-avds
25+
```
26+
27+
Then start the emulator:
28+
29+
```sh
30+
~/Library/Android/sdk/emulator/emulator -avd <emulator_name>
31+
```
32+
33+
Or to start the first one:
34+
35+
```sh
36+
~/Library/Android/sdk/emulator/emulator -avd `~/Library/Android/sdk/emulator/emulator -list-avds | head -n 1`
37+
```
38+
39+
Then run the tests:
40+
41+
```sh
42+
./gradlew connectedAndroidTest
43+
```

packages/android/algokit_transact/app/.gitignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

packages/android/algokit_transact/app/build.gradle.kts

Lines changed: 0 additions & 75 deletions
This file was deleted.

packages/android/algokit_transact/app/proguard-rules.pro

Lines changed: 0 additions & 21 deletions
This file was deleted.

packages/android/algokit_transact/app/src/androidTest/kotlin/com/example/algokit_transact/ExampleInstrumentedTest.kt

Lines changed: 0 additions & 24 deletions
This file was deleted.

packages/android/algokit_transact/app/src/main/AndroidManifest.xml

Lines changed: 0 additions & 29 deletions
This file was deleted.

packages/android/algokit_transact/app/src/main/kotlin/com.example.algokit_transact/MainActivity.kt

Lines changed: 0 additions & 74 deletions
This file was deleted.

0 commit comments

Comments
 (0)