Skip to content

vsoch/spec-diff

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

spec-diff

Testing Python's difflib to look at html output for a spec, both with json and text.

Generation

spack spec --json python@2.7 > spec1.json
spack spec --json python@3.9 > spec2.json

spack spec python@2.7 > spec1.txt
spack spec python@3.9 > spec2.txt

Html Output

python diff.py -m spec1.txt spec2.txt > index.html 
python diff.py -m spec1.json spec2.json > json.html 

View

The json is nice!

About

A quick repo to display a spec diff

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published