Skip to content
This repository has been archived by the owner on Jun 23, 2018. It is now read-only.

Add syntax check #80

Open
nilxam opened this issue Mar 24, 2017 · 0 comments
Open

Add syntax check #80

nilxam opened this issue Mar 24, 2017 · 0 comments

Comments

@nilxam
Copy link
Collaborator

nilxam commented Mar 24, 2017

Need an approach for syntax check in source.
Eg. #76 introduced a wrong addition bracket and it does broken OBS.

A simple check below was added in the package.obs-factory-engine.

%check
find %{buildroot} -name \*.rb | while read i; do
  ruby.ruby2.4 -cv "$i" || exit 1
done
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant