Skip to content

Commit bc74fff

Browse files
committed
Moved to vite and tailwind for building
1 parent b77cdf2 commit bc74fff

File tree

13 files changed

+2054
-161
lines changed

13 files changed

+2054
-161
lines changed

.github/workflows/deploy.yaml

Lines changed: 51 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,51 @@
1+
# Simple workflow for deploying static content to GitHub Pages
2+
name: Deploy static content to Pages
3+
4+
on:
5+
# Runs on pushes targeting the default branch
6+
push:
7+
branches: [ 'main' ]
8+
9+
# Allows you to run this workflow manually from the Actions tab
10+
workflow_dispatch:
11+
12+
# Sets the GITHUB_TOKEN permissions to allow deployment to GitHub Pages
13+
permissions:
14+
contents: read
15+
pages: write
16+
id-token: write
17+
18+
# Allow one concurrent deployment
19+
concurrency:
20+
group: 'pages'
21+
cancel-in-progress: true
22+
23+
jobs:
24+
# Single deploy job since we're just deploying
25+
deploy:
26+
environment:
27+
name: github-pages
28+
url: ${{ steps.deployment.outputs.page_url }}
29+
runs-on: ubuntu-latest
30+
steps:
31+
- name: Checkout
32+
uses: actions/checkout@v4
33+
- name: Set up Node
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: lts/*
37+
cache: 'npm'
38+
- name: Install dependencies
39+
run: npm ci
40+
- name: Build
41+
run: npm run build
42+
- name: Setup Pages
43+
uses: actions/configure-pages@v4
44+
- name: Upload artifact
45+
uses: actions/upload-pages-artifact@v3
46+
with:
47+
# Upload dist folder
48+
path: './spock-website/dist'
49+
- name: Deploy to GitHub Pages
50+
id: deployment
51+
uses: actions/deploy-pages@v4

.gitignore

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,27 @@
11
.idea/
2+
node_modules/
3+
4+
# Logs
5+
logs
6+
*.log
7+
npm-debug.log*
8+
yarn-debug.log*
9+
yarn-error.log*
10+
pnpm-debug.log*
11+
lerna-debug.log*
12+
13+
node_modules
14+
dist
15+
dist-ssr
16+
*.local
17+
18+
# Editor directories and files
19+
.vscode/*
20+
!.vscode/extensions.json
21+
.idea
22+
.DS_Store
23+
*.suo
24+
*.ntvs*
25+
*.njsproj
26+
*.sln
27+
*.sw?

compositor.json

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

index.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
<head>
44
<meta charset="UTF-8">
55
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6-
<title>Spock Framework - the enterprise ready specification framework</title>
6+
<title>Spock Framework - the enterprise-ready specification framework</title>
77
<meta name="description" content="Spock is an expressive testing and specification framework for Java and Groovy applications. Write highly readable, maintainable BDD-style tests with powerful mocking.">
88
<meta name="keywords" content="Spock Framework, Groovy, Java, Kotlin, JVM, testing, specification, BDD, Behavior-Driven Development, unit testing, mocking, JUnit, JUnit 5">
99
<meta name="author" content="Spock Framework Team">
1010
<link rel="canonical" href="https://spockframework.org/">
1111
<meta name="robots" content="index, follow">
1212

1313
<meta property="og:type" content="website">
14-
<meta property="og:url" content="https://spockframework.org/"> <meta property="og:title" content="Spock Framework - the enterprise ready specification framework">
14+
<meta property="og:url" content="https://spockframework.org/"> <meta property="og:title" content="Spock Framework - the enterprise-ready specification framework">
1515
<meta property="og:description" content="Spock is a testing, specification, and mocking framework for JVM developers that emphasizes readability and clarity. By blending BDD concepts and Groovy's concise syntax, Spock helps teams write tests that are easy to understand and enjoyable to maintain.">
1616
<meta property="og:image" content="spock-main-logo.svg">
1717
<meta property="twitter:card" content="summary">
18-
<meta property="twitter:url" content="https://spockframework.org/"> <meta property="twitter:title" content="Spock Framework - the enterprise ready specification framework">
18+
<meta property="twitter:url" content="https://spockframework.org/"> <meta property="twitter:title" content="Spock Framework - the enterprise-ready specification framework">
1919
<meta property="twitter:description" content="Spock is a testing, specification, and mocking framework for JVM developers that emphasizes readability and clarity. By blending BDD concepts and Groovy's concise syntax, Spock helps teams write tests that are easy to understand and enjoyable to maintain.">
2020
<meta property="twitter:image" content="spock-main-logo.svg">
2121

@@ -190,7 +190,7 @@ <h1 class="text-4xl md:text-5xl lg:text-6xl font-bold mb-4 spock-blue-text">
190190
Spock
191191
</h1>
192192
<p class="text-xl md:text-2xl text-gray-400 mb-8">
193-
the enterprise ready specification framework
193+
the enterprise-ready specification framework
194194
</p>
195195
<p class="max-w-3xl mx-auto text-lg text-gray-300 mb-12">
196196
Spock is a testing, specification, and mocking framework for JVM developers that emphasizes readability and clarity.

0 commit comments

Comments
 (0)