Skip to content

Commit 99c8a1c

Browse files
committed
~leftovers
1 parent f1ddfa5 commit 99c8a1c

5 files changed

Lines changed: 0 additions & 49 deletions

File tree

.github/workflows/publish_artifacts_on_release.yaml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -82,35 +82,3 @@ jobs:
8282
core/build/libs/ktfmt-*.jar
8383
env:
8484
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
85-
86-
deploy_website:
87-
runs-on: ubuntu-latest
88-
steps:
89-
- uses: actions/checkout@v4
90-
with:
91-
ref: ${{ github.event.release.tag_name || inputs.release_tag || github.ref }}
92-
93-
- uses: actions/setup-node@v4
94-
95-
- name: Deploy website
96-
run: |
97-
KTFMT_TMP_DIR=$(mktemp -d)
98-
99-
pushd website
100-
npm install .
101-
KTFMT_WEBSITE_OUTPUT_DIR="$KTFMT_TMP_DIR" gulp build-website
102-
popd
103-
104-
git fetch
105-
git checkout gh-pages
106-
git config user.email ktfmt@facebook.com
107-
git config user.name ktfmt
108-
109-
rm -rf *
110-
cp -R "$KTFMT_TMP_DIR"/* .
111-
112-
git add .
113-
git commit -m "Publish website"
114-
git push --force
115-
116-
rm -rf "$KTFMT_TMP_DIR"

.gitignore

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,13 +13,8 @@ out/
1313
.DS_Store
1414
classes/
1515

16-
online_formatter/out.yml
17-
1816
.intellijPlatform/
1917

20-
website/node_modules
21-
release-ktfmt-website/
22-
2318
### Gradle ###
2419
.gradle
2520
**/build/

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,11 +18,6 @@ IntelliJ:
1818
| ------ | --------|
1919
| ![ktlint](docs/images/ktlint.png) | ![IntelliJ](docs/images/intellij.png) |
2020

21-
## Playground
22-
23-
We have a [live playground](https://kotlin.github.io/ktfmt/) where you can easily see how ktfmt
24-
would format your code.
25-
Give it a try! https://kotlin.github.io/ktfmt/
2621

2722
## Using the formatter
2823

RELEASING.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,3 @@
44
2. Create a new Release in GitHub. A GitHub Action is automatically triggered and builds and publishes the artifacts to
55
1. Maven
66
2. IntelliJ Plugin marketplace
7-
3. TODO: also automate website generation (https://facebook.github.io/ktfmt/) and the AWS Lambda that powers it. For now, you must clone the repo locally, and manually run some steps.
8-
1. pushd online_formatter; ./build_and_deploy.sh; popd
9-
1. Credentials should be configured using https://docs.aws.amazon.com/cli/latest/topic/config-vars.html#credentials
10-
2. Follow instructions in website/README.md

gradle/libs.versions.toml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
[versions]
22
java = "17"
33
kotlin = "2.3.20"
4-
com-amazonaws-aws-lambda-java-core = "1.2.1"
5-
com-amazonaws-aws-lambda-java-events = "2.2.9"
6-
com-google-code-gson-gson = "2.10.1"
74
com-google-googlejavaformat-google-java-format = "1.23.0"
85
com-google-guava-guava = "33.5.0-jre"
96
com-google-truth-truth = "1.0"

0 commit comments

Comments
 (0)