diff --git a/.github/workflows/update-website.yml b/.github/workflows/update-website.yml new file mode 100644 index 0000000..9c653ff --- /dev/null +++ b/.github/workflows/update-website.yml @@ -0,0 +1,54 @@ +name: Update website +on: + push: + branches: + - main +permissions: + contents: write +jobs: + update-website: + concurrency: ci-${{ github.ref }} + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v3 + + - name: Checkout snowball + uses: actions/checkout@v3 + with: + repository: snowballstem/snowball + path: snowball + + - name: Checkout snowball-data + uses: actions/checkout@v3 + with: + repository: snowballstem/snowball-data + path: snowball-data + + - name: Install dependencies + run: | + sudo apt-get update + sudo apt-get install libipc-run-perl libtemplate-perl graphviz pngcrush python3-pygments + npm i -g google-closure-compiler + perl -pi -e '/--accept_const_keyword/ and $_="";s/closure-compiler/google-closure-compiler/;s/ADVANCED_OPTIMIZATIONS/ADVANCED/' generate + + - name: Build snowball + run: | + mv snowball ../snowball + mv snowball-data ../snowball-data + cd ../snowball + make -sj2 + + - name: Generate + run: | + mkdir ../snowballstem.github.io + ./generate + mv dist ../snowballstem.github.io + cd ../snowballstem.github.io + find . -name '*.tt' -delete + rm js/demo.js js/*-stemmer.js + + - name: Deploy + uses: JamesIves/github-pages-deploy-action@v4 + with: + folder: ../snowballstem.github.io diff --git a/dist/jsstemmer-2.1.0.tar.gz b/dist/jsstemmer-2.1.0.tar.gz new file mode 100644 index 0000000..ecbce53 Binary files /dev/null and b/dist/jsstemmer-2.1.0.tar.gz differ diff --git a/dist/jsstemmer-2.2.0.tar.gz b/dist/jsstemmer-2.2.0.tar.gz new file mode 100644 index 0000000..f134c4f Binary files /dev/null and b/dist/jsstemmer-2.2.0.tar.gz differ diff --git a/dist/jsstemmer.tgz b/dist/jsstemmer.tgz new file mode 100644 index 0000000..a7a565c Binary files /dev/null and b/dist/jsstemmer.tgz differ diff --git a/dist/libstemmer_c-2.1.0.tar.gz b/dist/libstemmer_c-2.1.0.tar.gz new file mode 100644 index 0000000..d220564 Binary files /dev/null and b/dist/libstemmer_c-2.1.0.tar.gz differ diff --git a/dist/libstemmer_c-2.2.0.tar.gz b/dist/libstemmer_c-2.2.0.tar.gz new file mode 100644 index 0000000..a2c7ba2 Binary files /dev/null and b/dist/libstemmer_c-2.2.0.tar.gz differ diff --git a/dist/libstemmer_c.tgz b/dist/libstemmer_c.tgz new file mode 100644 index 0000000..188dcd2 Binary files /dev/null and b/dist/libstemmer_c.tgz differ diff --git a/dist/libstemmer_csharp-2.1.0.tar.gz b/dist/libstemmer_csharp-2.1.0.tar.gz new file mode 100644 index 0000000..fa49b6a Binary files /dev/null and b/dist/libstemmer_csharp-2.1.0.tar.gz differ diff --git a/dist/libstemmer_csharp-2.2.0.tar.gz b/dist/libstemmer_csharp-2.2.0.tar.gz new file mode 100644 index 0000000..f9b6d30 Binary files /dev/null and b/dist/libstemmer_csharp-2.2.0.tar.gz differ diff --git a/dist/libstemmer_csharp.tgz b/dist/libstemmer_csharp.tgz new file mode 100644 index 0000000..b490376 Binary files /dev/null and b/dist/libstemmer_csharp.tgz differ diff --git a/dist/libstemmer_java-2.1.0.tar.gz b/dist/libstemmer_java-2.1.0.tar.gz new file mode 100644 index 0000000..6b1e4e0 Binary files /dev/null and b/dist/libstemmer_java-2.1.0.tar.gz differ diff --git a/dist/libstemmer_java-2.2.0.tar.gz b/dist/libstemmer_java-2.2.0.tar.gz new file mode 100644 index 0000000..d110d30 Binary files /dev/null and b/dist/libstemmer_java-2.2.0.tar.gz differ diff --git a/dist/libstemmer_java.tgz b/dist/libstemmer_java.tgz new file mode 100644 index 0000000..cfd9e17 Binary files /dev/null and b/dist/libstemmer_java.tgz differ diff --git a/dist/snowball-2.1.0.tar.gz b/dist/snowball-2.1.0.tar.gz new file mode 100644 index 0000000..4d0e044 Binary files /dev/null and b/dist/snowball-2.1.0.tar.gz differ diff --git a/dist/snowball-2.2.0.tar.gz b/dist/snowball-2.2.0.tar.gz new file mode 100644 index 0000000..7acdd3d Binary files /dev/null and b/dist/snowball-2.2.0.tar.gz differ diff --git a/dist/snowball_code.tgz b/dist/snowball_code.tgz new file mode 100644 index 0000000..6bf5845 Binary files /dev/null and b/dist/snowball_code.tgz differ diff --git a/dist/snowballstemmer-2.0.0-py2.py3-none-any.whl b/dist/snowballstemmer-2.0.0-py2.py3-none-any.whl new file mode 100644 index 0000000..c26bad0 Binary files /dev/null and b/dist/snowballstemmer-2.0.0-py2.py3-none-any.whl differ diff --git a/dist/snowballstemmer-2.0.0.tar.gz b/dist/snowballstemmer-2.0.0.tar.gz new file mode 100644 index 0000000..3a2c681 Binary files /dev/null and b/dist/snowballstemmer-2.0.0.tar.gz differ diff --git a/dist/snowballstemmer-2.1.0-py2.py3-none-any.whl b/dist/snowballstemmer-2.1.0-py2.py3-none-any.whl new file mode 100644 index 0000000..d92fca6 Binary files /dev/null and b/dist/snowballstemmer-2.1.0-py2.py3-none-any.whl differ diff --git a/dist/snowballstemmer-2.1.0.tar.gz b/dist/snowballstemmer-2.1.0.tar.gz new file mode 100644 index 0000000..32794fd Binary files /dev/null and b/dist/snowballstemmer-2.1.0.tar.gz differ diff --git a/dist/snowballstemmer-2.2.0-py2.py3-none-any.whl b/dist/snowballstemmer-2.2.0-py2.py3-none-any.whl new file mode 100644 index 0000000..cc46069 Binary files /dev/null and b/dist/snowballstemmer-2.2.0-py2.py3-none-any.whl differ diff --git a/dist/snowballstemmer-2.2.0.tar.gz b/dist/snowballstemmer-2.2.0.tar.gz new file mode 100644 index 0000000..42715a7 Binary files /dev/null and b/dist/snowballstemmer-2.2.0.tar.gz differ