Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
35 changes: 35 additions & 0 deletions .github/workflows/dargon2_core_docbot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: docbot (dargon2_core)

on:
push:
branches: [ main ]

defaults:
run:
working-directory: dargon2_core

jobs:
update-docs:

runs-on: ubuntu-latest
container:
image: google/dart:latest
steps:
- uses: actions/checkout@v2
- name: Install dependencies
run: pub get
- name: Generate Documentation
run: dartdoc
- name: Push Documentation
run: |
mkdir doc-src && git clone https://github.com/tmthecoder/docs doc-src
cd doc-src
echo "docs.tmthecoder.dev" > CNAME
git config user.name "Docbot"
git config user.email "docbot@github.com"
if [ -d dargon2_core/ ]; then rm -Rf dargon2_core/; fi
cp -R ../doc/api dargon2_core/
git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/docs
git add .
git commit -m "Updated documentation for dargon2_core" --allow-empty
git push secure-origin main
Original file line number Diff line number Diff line change
@@ -1,9 +1,13 @@
name: docbot
name: docbot (dargon2)

on:
push:
branches: [ main ]

defaults:
run:
working-directory: dargon2

jobs:
update-docs:

Expand Down
50 changes: 50 additions & 0 deletions .github/workflows/dargon2_flutter_docbot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,50 @@
name: docbot (dargon2_flutter)

on:
push:
branches: [ main ]

defaults:
run:
working-directory: dargon2_flutter

jobs:
update-docs:

runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- name: Cache Flutter dependencies
uses: actions/cache@v2
with:
path: /opt/hostedtoolcache/flutter
key: ${{ runner.OS }}-flutter-install-cache-${{ env.flutter_version }}
- uses: subosito/flutter-action@v1.5.1
with:
channel: 'stable' # Currently you have to use beta channel for Flutter web.
- name: Upgrade flutter
run: flutter upgrade
- name: Install dependencies
run: |
cd dargon2_flutter
flutter packages get
- name: Activate dartdoc
run: pub global activate dartdoc
- name: Generate Documentation
run: |
cd dargon2_flutter
dartdoc
- name: Push Documentation
run: |
mkdir doc-src && git clone https://github.com/tmthecoder/docs doc-src
cd doc-src
echo "docs.tmthecoder.dev" > CNAME
git config user.name "Docbot"
git config user.email "docbot@github.com"
if [ -d dargon2_flutter/ ]; then rm -Rf dargon2_flutter/; fi
cp -R ../dargon2_flutter/doc/api dargon2_flutter/
git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/docs
git add .
git commit -m "Updated documentation for dargon2_flutter" --allow-empty
git push secure-origin main
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@ name: Library Builder CI

on:
repository_dispatch:
workflow_dispatch:

defaults:
run:
working-directory: dargon2

jobs:
linux-build:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,11 @@ name: dargon2

on:
push:
branches: [ main ]
pull_request:
branches: [ main ]

defaults:
run:
working-directory: dargon2

jobs:
test:
Expand Down
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[submodule "dargon2_flutter/dargon2_flutter_mobile/android/Argon2"]
path = dargon2_flutter/dargon2_flutter_mobile/android/Argon2
url = https://github.com/P-H-C/phc-winner-argon2.git
10 changes: 10 additions & 0 deletions .idea/codeStyles/Project.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

39 changes: 39 additions & 0 deletions .idea/dargon2.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading