-
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
119 additions
and
85 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
name: Publish | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'kotlin-v*.*.*' | ||
|
||
env: | ||
GRADLE_OPTS: "-Dorg.gradle.jvmargs=-Xmx4g -Dorg.gradle.daemon=false -Dkotlin.incremental=false" | ||
|
||
jobs: | ||
publish: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- uses: actions/setup-java@v4 | ||
with: | ||
distribution: 'zulu' | ||
java-version: 21 | ||
|
||
- uses: gradle/actions/setup-gradle@v4 | ||
|
||
- name: Upload Artifacts | ||
run: ./gradlew publishAndReleaseToMavenCentral --no-configuration-cache | ||
env: | ||
ORG_GRADLE_PROJECT_mavenCentralUsername: ${{ secrets.SONATYPE_CENTRAL_USERNAME }} | ||
ORG_GRADLE_PROJECT_mavenCentralPassword: ${{ secrets.SONATYPE_CENTRAL_PASSWORD }} | ||
ORG_GRADLE_PROJECT_signingInMemoryKey: ${{ secrets.ARTIFACT_SIGNING_PRIVATE_KEY }} | ||
ORG_GRADLE_PROJECT_signingInMemoryKeyPassword: ${{ secrets.ARTIFACT_SIGNING_PASSPHRASE }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ authors: | |
email: [email protected] | ||
repository-code: 'https://github.com/LiterateInk/Turbawself' | ||
url: 'https://docs.literate.ink/turbawself' | ||
repository-artifact: 'https://central.sonatype.com/artifact/ink.literate/turbawself' | ||
abstract: >- | ||
An awmazing API wrapper for Turboself. | ||
keywords: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,12 @@ | ||
# Contributing to Turbawself | ||
|
||
You might refer to our [global contribution guidelines](https://github.com/LiterateInk/.github/blob/main/CONTRIBUTING.md) first. | ||
|
||
If you want to contribute to the development, please see the section below. | ||
# Contributing | ||
|
||
## Development | ||
|
||
Please refer to the `CONTRIBUTING.md` of the implementation you want to work on for more information. | ||
To start developing, clone the repository and install the dependencies. | ||
|
||
| [JS/TS](https://github.com/LiterateInk/Turbawself/blob/js/CONTRIBUTING.md) | Rust | Python | Swift | | ||
| :---: | :---: | :---: | :---: | | ||
| [Kotlin](https://github.com/LiterateInk/Turbawself/tree/kotlin) | C# | | | | ||
```bash | ||
# Clone the repository. | ||
git clone https://github.com/LiterateInk/Turbawself && cd Turbawself | ||
# Switch to the Kotlin implementation branch. | ||
git checkout kotlin | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,33 @@ | ||
<img alt="Turbawself: An awmazing API wrapper for Turboself" src=".github/assets/banner.svg" width="100%" /> | ||
<img alt="Turbawself: An awmazing API wrapper for Turboself" src="https://raw.githubusercontent.com/LiterateInk/Turbawself/index/.github/assets/banner.svg" width="100%" /> | ||
|
||
*This library **is not** affiliated with [Turboself](https://www.turboself.fr/) in any way.* | ||
|
||
## What is "Turboself" ? | ||
## Installation | ||
|
||
[Turboself](https://www.turboself.fr/) is an application mainly used in schools to manage school catering. It enables students and parents to reserve and pay for meals, consult menus and track consumption. Turboself facilitates canteen organization and ensures efficient management of school meals. | ||
### Maven | ||
|
||
## Implementations | ||
```xml | ||
<dependency> | ||
<groupId>ink.literate</groupId> | ||
<artifactId>turbawself</artifactId> | ||
<version>0.0.0</version> | ||
</dependency> | ||
``` | ||
|
||
You're currently on the `index` branch. | ||
### Gradle (Kotlin) | ||
|
||
Since we're implementing this library in different programming languages, we have a branch for each of them. | ||
```kotlin | ||
implementation("ink.literate:turbawself:0.0.0") | ||
``` | ||
|
||
| [JS/TS](https://github.com/LiterateInk/Turbawself/tree/js) | Rust | Python | Swift | | ||
|:---------------------------------------------------------------:| :---: | :---: | :---: | | ||
| [Kotlin](https://github.com/LiterateInk/Turbawself/tree/kotlin) | C# | | | | ||
### Gradle | ||
|
||
## Acknowledgements | ||
```groovy | ||
implementation 'ink.literate:turbawself:0.0.0' | ||
``` | ||
|
||
- [`turboself-api`](https://github.com/raphckrman/turboself-api) | ||
- [Tom THERET](https://github.com/tom-theret) for helping in our experiments against Turboself's API | ||
## Documentation | ||
|
||
## License | ||
You can find documentation with guides at [docs.literate.ink/turbawself](https://docs.literate.ink/turbawself). | ||
|
||
This project is licensed under the GPL-3.0 License - see the [LICENSE.md](LICENSE.md) file for details. | ||
If that's not helpful, you can always [open an issue](https://github.com/LiterateInk/Turbawself/issues) to ask for help or join the [LiterateInk Discord server](https://literate.ink/discord). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
plugins { | ||
alias(libs.plugins.androidLibrary) apply false | ||
alias(libs.plugins.kotlinMultiplatform) apply false | ||
alias(libs.plugins.vanniktech.mavenPublish) apply false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,5 +14,4 @@ dependencyResolutionManagement { | |
} | ||
|
||
rootProject.name = "turbawself" | ||
|
||
include(":library") |