Skip to content

Commit

Permalink
adds editorconfig for code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
rishabhpoddar committed Jul 8, 2024
1 parent 3172593 commit f85c943
Show file tree
Hide file tree
Showing 6 changed files with 1,180 additions and 14 deletions.
1,165 changes: 1,165 additions & 0 deletions .editorconfig

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions .gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ tasks:


ports:
- port: 3306
onOpen: ignore
- port: 5432
onOpen: ignore
- port: 3306
onOpen: ignore
- port: 5432
onOpen: ignore



1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
Expand Down
8 changes: 6 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,22 @@

![SuperTokens banner](https://raw.githubusercontent.com/supertokens/supertokens-logo/master/images/Artboard%20%E2%80%93%2027%402x.png)

<a href="https://supertokens.io/discord">
<img src="https://img.shields.io/discord/603466164219281420.svg?logo=discord"
alt="chat on Discord"></a>

## About

This module is for development purposes of SuperTokens Community version.

## Contact us
For any queries, or support requests, please email us at team@supertokens.io, or join our [Discord](supertokens.io/discord) server.

For any queries, or support requests, please email us at team@supertokens.io, or join
our [Discord](supertokens.io/discord) server.

# Authors

Created with :heart: by the folks at SuperTokens.io.

# Contribute

[![Open in Gitpod](https://gitpod.io/button/open-in-gitpod.svg)](https://gitpod.io/from-referrer/)
7 changes: 1 addition & 6 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,7 @@ spotless {
}
java {
// Inferring targets won't work here
target 'supertokens-*/src/**/*.java'
target 'supertokens-*/ee/src/**/*.java'
target 'supertokens-*/downloader/src/**/*.java'
target 'supertokens-*/cli/src/**/*.java'

eclipse().configFile("${project.rootDir}/.idea/codeStyles/spotless.eclipseformat.xml")
target '**/*.java'
// apply a specific flavor of google-java-format
// googleJavaFormat('1.8').aosp().reflowLongStrings()
// make sure every file has the following copyright header.
Expand Down
5 changes: 3 additions & 2 deletions docker/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@

- the script `createPostgresqlImage.sh` here is used to create docker image with postgresql plugin.
- Before the user runs this script, they need to start the testing env (i.e. `./startTestEnv --wait`).
- This script can only be used for postgresql plugin. No other plugin is supported. So before running the script, make sure to switch to postgresql-plugin in the `modules.txt`.

- This script can only be used for postgresql plugin. No other plugin is supported. So before running the script, make
sure to switch to postgresql-plugin in the `modules.txt`.

### What the script is doing?

- it fetches the required **jre** (based on your system architecture) and **docker-entrypoint.sh** from github.
- copies the required cli, core, plugin, etc. from the parent directory into this folder
- creates docker image with tag `supertokens-postgresql-testing`
Expand Down

0 comments on commit f85c943

Please sign in to comment.