Skip to content

Commit

Permalink
replaced cactus.yaml which matchs the template
Browse files Browse the repository at this point in the history
  • Loading branch information
petronny committed Feb 15, 2023
1 parent 16a8b3a commit de592c8
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 34 deletions.
7 changes: 0 additions & 7 deletions any/python-property-cached/cactus.yaml

This file was deleted.

1 change: 1 addition & 0 deletions any/python-property-cached/cactus.yaml
7 changes: 0 additions & 7 deletions any/python-pytest-arraydiff/cactus.yaml

This file was deleted.

1 change: 1 addition & 0 deletions any/python-pytest-arraydiff/cactus.yaml
12 changes: 12 additions & 0 deletions match-template.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
#!/bin/sh
[ -z "$1" ] && path='.' || path=$1

files=$(find $path -type f -name cactus.yaml)

for file in $files
do
for template in template/*
do
cmp --silent $file $template && rm $file && ln -s $(realpath --relative-to=$(dirname $file) $template) $file && echo "$template -> $file"
done
done
6 changes: 0 additions & 6 deletions x86_64/python-mkl-service/cactus.yaml

This file was deleted.

1 change: 1 addition & 0 deletions x86_64/python-mkl-service/cactus.yaml
7 changes: 0 additions & 7 deletions x86_64/python-synphot/cactus.yaml

This file was deleted.

1 change: 1 addition & 0 deletions x86_64/python-synphot/cactus.yaml
7 changes: 0 additions & 7 deletions x86_64/scotch/cactus.yaml

This file was deleted.

1 change: 1 addition & 0 deletions x86_64/scotch/cactus.yaml

0 comments on commit de592c8

Please # to comment.