Skip to content

Commit 288338b

Browse files
authored
Merge pull request #4 from tmthecoder/restructure-repo
Restructure repo
2 parents 72a0b2f + 8cbb472 commit 288338b

File tree

212 files changed

+6512
-138
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

212 files changed

+6512
-138
lines changed
+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: docbot (dargon2_core)
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
defaults:
8+
run:
9+
working-directory: dargon2_core
10+
11+
jobs:
12+
update-docs:
13+
14+
runs-on: ubuntu-latest
15+
container:
16+
image: google/dart:latest
17+
steps:
18+
- uses: actions/checkout@v2
19+
- name: Install dependencies
20+
run: pub get
21+
- name: Generate Documentation
22+
run: dartdoc
23+
- name: Push Documentation
24+
run: |
25+
mkdir doc-src && git clone https://github.com/tmthecoder/docs doc-src
26+
cd doc-src
27+
echo "docs.tmthecoder.dev" > CNAME
28+
git config user.name "Docbot"
29+
git config user.email "[email protected]"
30+
if [ -d dargon2_core/ ]; then rm -Rf dargon2_core/; fi
31+
cp -R ../doc/api dargon2_core/
32+
git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/docs
33+
git add .
34+
git commit -m "Updated documentation for dargon2_core" --allow-empty
35+
git push secure-origin main

.github/workflows/docbot.yml .github/workflows/dargon2_docbot.yml

+5-1
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,13 @@
1-
name: docbot
1+
name: docbot (dargon2)
22

33
on:
44
push:
55
branches: [ main ]
66

7+
defaults:
8+
run:
9+
working-directory: dargon2
10+
711
jobs:
812
update-docs:
913

Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
name: docbot (dargon2_flutter)
2+
3+
on:
4+
push:
5+
branches: [ main ]
6+
7+
defaults:
8+
run:
9+
working-directory: dargon2_flutter
10+
11+
jobs:
12+
update-docs:
13+
14+
runs-on: ubuntu-latest
15+
16+
steps:
17+
- uses: actions/checkout@v2
18+
- name: Cache Flutter dependencies
19+
uses: actions/cache@v2
20+
with:
21+
path: /opt/hostedtoolcache/flutter
22+
key: ${{ runner.OS }}-flutter-install-cache-${{ env.flutter_version }}
23+
- uses: subosito/[email protected]
24+
with:
25+
channel: 'stable' # Currently you have to use beta channel for Flutter web.
26+
- name: Upgrade flutter
27+
run: flutter upgrade
28+
- name: Install dependencies
29+
run: |
30+
cd dargon2_flutter
31+
flutter packages get
32+
- name: Activate dartdoc
33+
run: pub global activate dartdoc
34+
- name: Generate Documentation
35+
run: |
36+
cd dargon2_flutter
37+
dartdoc
38+
- name: Push Documentation
39+
run: |
40+
mkdir doc-src && git clone https://github.com/tmthecoder/docs doc-src
41+
cd doc-src
42+
echo "docs.tmthecoder.dev" > CNAME
43+
git config user.name "Docbot"
44+
git config user.email "[email protected]"
45+
if [ -d dargon2_flutter/ ]; then rm -Rf dargon2_flutter/; fi
46+
cp -R ../dargon2_flutter/doc/api dargon2_flutter/
47+
git remote add secure-origin https://${{ secrets.ACCESS_TOKEN }}@github.com/tmthecoder/docs
48+
git add .
49+
git commit -m "Updated documentation for dargon2_flutter" --allow-empty
50+
git push secure-origin main

.github/workflows/library-builder.yml .github/workflows/dargon2_library-builder.yml

+5
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@ name: Library Builder CI
22

33
on:
44
repository_dispatch:
5+
workflow_dispatch:
6+
7+
defaults:
8+
run:
9+
working-directory: dargon2
510

611
jobs:
712
linux-build:

.github/workflows/dart-build.yml .github/workflows/dargon2_tests.yml

+4-2
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,11 @@ name: dargon2
22

33
on:
44
push:
5-
branches: [ main ]
65
pull_request:
7-
branches: [ main ]
6+
7+
defaults:
8+
run:
9+
working-directory: dargon2
810

911
jobs:
1012
test:

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
[submodule "dargon2_flutter/dargon2_flutter_mobile/android/Argon2"]
2+
path = dargon2_flutter/dargon2_flutter_mobile/android/Argon2
3+
url = https://github.com/P-H-C/phc-winner-argon2.git

.idea/codeStyles/Project.xml

+10
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/dargon2.iml

+39
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)