Skip to content
This repository was archived by the owner on Feb 21, 2024. It is now read-only.

Commit 5dc1389

Browse files
authored
refactor: remove generator script (#162)
1 parent ba8a00f commit 5dc1389

Some content is hidden

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

47 files changed

+79
-15174
lines changed

.github/workflows/generate_template.yaml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/main.yaml

Lines changed: 0 additions & 44 deletions
This file was deleted.
Lines changed: 63 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
name: very_good_docs_site
2+
3+
concurrency:
4+
group: ${{ github.workflow }}-${{ github.ref }}
5+
cancel-in-progress: true
6+
7+
on:
8+
push:
9+
paths:
10+
- .github/workflows/very_good_docs_site.yaml
11+
- "brick/**"
12+
branches:
13+
- main
14+
pull_request:
15+
paths:
16+
- .github/workflows/very_good_docs_site.yaml
17+
- "brick/**"
18+
branches:
19+
- main
20+
21+
jobs:
22+
brick:
23+
runs-on: ubuntu-latest
24+
25+
steps:
26+
- name: 📚 Git Checkout
27+
uses: actions/checkout@v4
28+
29+
- name: 🎯 Setup Dart
30+
uses: dart-lang/setup-dart@v1
31+
with:
32+
sdk: stable
33+
34+
- name: 🧱 Mason Make
35+
run: |
36+
dart pub global activate mason_cli
37+
mason get
38+
mason make very_good_docs_site -c brick/config.json -o output --on-conflict overwrite
39+
40+
- name: ⚙️ Setup Node
41+
uses: actions/setup-node@v4
42+
with:
43+
node-version: 18.x
44+
45+
- name: 📦 Install Dependencies
46+
run: |
47+
cd output/test_docs_site
48+
npm i
49+
50+
- name: ✨ Check Format
51+
run: |
52+
cd output/test_docs_site
53+
npm run format:check
54+
55+
- name: 🧹 Lint
56+
run: |
57+
cd output/test_docs_site
58+
npm run lint
59+
60+
- name: 👷 Build website
61+
run: |
62+
cd output/test_docs_site
63+
npm run build

.gitignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
# Files and directories created by mason
2+
.mason/
3+
mason-lock.json
4+
output/
5+
6+
# Files and directories created by MacOS
7+
.DS_Store

brick/config.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"project_name": "test_docs_site",
3+
"org_name": "very_good_ventures",
4+
"description": "A Very Good Documentation Site",
5+
"publishable": false
6+
}

mason.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
bricks:
2+
very_good_docs_site:
3+
path: brick

src/very_good_docs_site/.eslintrc.js

Lines changed: 0 additions & 12 deletions
This file was deleted.

src/very_good_docs_site/.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 0 additions & 29 deletions
This file was deleted.

src/very_good_docs_site/.github/ISSUE_TEMPLATE/build.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

src/very_good_docs_site/.github/ISSUE_TEMPLATE/chore.md

Lines changed: 0 additions & 14 deletions
This file was deleted.

0 commit comments

Comments
 (0)