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

Commit

Permalink
refactor: remove generator script (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
alestiago authored Nov 28, 2023
1 parent ba8a00f commit 5dc1389
Show file tree
Hide file tree
Showing 47 changed files with 79 additions and 15,174 deletions.
43 changes: 0 additions & 43 deletions .github/workflows/generate_template.yaml

This file was deleted.

44 changes: 0 additions & 44 deletions .github/workflows/main.yaml

This file was deleted.

63 changes: 63 additions & 0 deletions .github/workflows/very_good_docs_site.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
name: very_good_docs_site

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

on:
push:
paths:
- .github/workflows/very_good_docs_site.yaml
- "brick/**"
branches:
- main
pull_request:
paths:
- .github/workflows/very_good_docs_site.yaml
- "brick/**"
branches:
- main

jobs:
brick:
runs-on: ubuntu-latest

steps:
- name: 📚 Git Checkout
uses: actions/checkout@v4

- name: 🎯 Setup Dart
uses: dart-lang/setup-dart@v1
with:
sdk: stable

- name: 🧱 Mason Make
run: |
dart pub global activate mason_cli
mason get
mason make very_good_docs_site -c brick/config.json -o output --on-conflict overwrite
- name: ⚙️ Setup Node
uses: actions/setup-node@v4
with:
node-version: 18.x

- name: 📦 Install Dependencies
run: |
cd output/test_docs_site
npm i
- name: ✨ Check Format
run: |
cd output/test_docs_site
npm run format:check
- name: 🧹 Lint
run: |
cd output/test_docs_site
npm run lint
- name: 👷 Build website
run: |
cd output/test_docs_site
npm run build
7 changes: 7 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Files and directories created by mason
.mason/
mason-lock.json
output/

# Files and directories created by MacOS
.DS_Store
6 changes: 6 additions & 0 deletions brick/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"project_name": "test_docs_site",
"org_name": "very_good_ventures",
"description": "A Very Good Documentation Site",
"publishable": false
}
3 changes: 3 additions & 0 deletions mason.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
bricks:
very_good_docs_site:
path: brick
12 changes: 0 additions & 12 deletions src/very_good_docs_site/.eslintrc.js

This file was deleted.

29 changes: 0 additions & 29 deletions src/very_good_docs_site/.github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

14 changes: 0 additions & 14 deletions src/very_good_docs_site/.github/ISSUE_TEMPLATE/build.md

This file was deleted.

14 changes: 0 additions & 14 deletions src/very_good_docs_site/.github/ISSUE_TEMPLATE/chore.md

This file was deleted.

14 changes: 0 additions & 14 deletions src/very_good_docs_site/.github/ISSUE_TEMPLATE/ci.md

This file was deleted.

1 change: 0 additions & 1 deletion src/very_good_docs_site/.github/ISSUE_TEMPLATE/config.yml

This file was deleted.

14 changes: 0 additions & 14 deletions src/very_good_docs_site/.github/ISSUE_TEMPLATE/documentation.md

This file was deleted.

18 changes: 0 additions & 18 deletions src/very_good_docs_site/.github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

14 changes: 0 additions & 14 deletions src/very_good_docs_site/.github/ISSUE_TEMPLATE/performance.md

This file was deleted.

14 changes: 0 additions & 14 deletions src/very_good_docs_site/.github/ISSUE_TEMPLATE/refactor.md

This file was deleted.

16 changes: 0 additions & 16 deletions src/very_good_docs_site/.github/ISSUE_TEMPLATE/revert.md

This file was deleted.

14 changes: 0 additions & 14 deletions src/very_good_docs_site/.github/ISSUE_TEMPLATE/style.md

This file was deleted.

14 changes: 0 additions & 14 deletions src/very_good_docs_site/.github/ISSUE_TEMPLATE/test.md

This file was deleted.

Loading

0 comments on commit 5dc1389

Please sign in to comment.