Skip to content
This repository was archived by the owner on Apr 14, 2025. It is now read-only.

Turn your contracts into executable specifications. Contract Driven Development - Collaboratively Design & Independently Deploy MicroServices & MicroFrontends.

Notifications You must be signed in to change notification settings

znsio/archived-specmatic-documentation

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This repository is now archived.

This repository and the backing website have been split into two:

Repository Website
https://github.com/znsio/specmatic.io https://specmatic.io
https://github.com/znsio/docs.specmatic.io https://docs.specmatic.io

This repository is purely for retaining the history and contributions from the community.

Inside scoop

The following rake task was used to strip the website out of this repository, and checked into docs.specmatic.io repository. This is here purely for reference.

task :cleanup do
  folders=%w(
    fonts
    2-day-cdd-workshop
    2-week-signup
    404
    appearance
    appearances
    article
    articles
    author
    blog
    case-studies
    case-study-cdd-cut-api-cycle-time-by-75-percent
    category
    cdn-cgi
    comments
    comparisons
    conference
    contact-us
    demonstration
    eula
    features
    feed
    how-tmforum-automated-their-api-factory
    jobs-at-specmatic
    live-stream
    podcast
    podcast
    presentation
    presentations
    pricing
    resources
    roadmap
    security-policy
    sitemaps.xml
    specmatic-updates
    spotlight
    tag
    updates
    updates
    vendor
    workshop
    wp-content
    wp-includes
    wp-json
    wp-tag
  )

  folders.each do |folder|
    puts "Deleting folder: #{folder}"
    puts "Commits before deleting: #{`git rev-list --count HEAD`.strip}"
    puts "Git size before deleting: #{`git count-objects -vH | grep size`.strip}"
    puts "Git dir size before deleting: #{`du -sh .git`.strip}"

    sh("java -jar ~/Downloads/bfg-1.15.0.jar --delete-folders '#{folder}' --no-blob-protection .")

    puts "Commits after deleting: #{`git rev-list --count HEAD`.strip}"
    puts "Git size after deleting: #{`git count-objects -vH | grep size`.strip}"
    puts "Git dir size after deleting: #{`du -sh .git`.strip}"
  end

  files = %w(
    apple-touch-icon.png
    xmlrpc.php
    sitemap.xml
    site.webmanifest
    favicon-32x32.png
    favicon-16x16.png
    android-chrome-192x192.png
    android-chrome-512x512.png
    index.html
    Extension-GIF1.gif
    Extension-GIF2.gif
    code-window.png
    code-window-1.png
    code-window.psd
    GitHub.png
    ide_setup.jpg
    insights_dashboard_1.png
    logical_architecture.jpg
    specmatic-cdd.pdf
    specmatic-grpc-architecture.gif
    specmatic-intellij-plugin-demo.gif
    specmatic-proxy.svg
    test_food_pyramid_with_contract_testing.jpg
    test_food_pyramid.jpg
    specmatic-sample-architecture.svg
  )

  files.each do |file|
    puts "Deleting file: #{file}"
    puts "Commits before deleting: #{`git rev-list --count HEAD`.strip}"
    puts "Git size before deleting: #{`git count-objects -vH | grep size`.strip}"
    puts "Git dir size before deleting: #{`du -sh .git`.strip}"

    sh("java -jar ~/Downloads/bfg-1.15.0.jar --delete-files '#{file}' --no-blob-protection .")

    puts "Commits after deleting: #{`git rev-list --count HEAD`.strip}"
    puts "Git size after deleting: #{`git count-objects -vH | grep size`.strip}"
    puts "Git dir size after deleting: #{`du -sh .git`.strip}"
  end


  sh("git reflog expire --expire=now --all && git gc --prune=now --aggressive")
end

About

Turn your contracts into executable specifications. Contract Driven Development - Collaboratively Design & Independently Deploy MicroServices & MicroFrontends.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 34