Skip to content

[Woking in Progress] Standarize code #627

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .standard.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
fix: true
parallel: true
format: progress
6 changes: 4 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@ before_install: ./travis.sh before_install

install: ./travis.sh install

script: ./travis.sh script
script:
- ./travis.sh script
- bundle exec rake standard

# Define extra configurations to add to the build matrix.
# The idea here is that the USE_ATLAS=1 option should exercise all the ruby
Expand All @@ -48,7 +50,7 @@ matrix:
- rvm: jruby-9.0.5.0
env: USE_OPENBLAS=1
- rvm: jruby-9.0.5.0
env: USE_REF=1
env: USE_REF=1
# NOTE: The following two ruby versions on OSX are currently unavailable
- os: osx
rvm: 2.0.0-p648
Expand Down
12 changes: 6 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
source 'https://rubygems.org'
source "https://rubygems.org"

#main gemspec
gemspec :name => 'nmatrix'
# main gemspec
gemspec name: "nmatrix"

#plugin gemspecs
Dir['nmatrix-*.gemspec'].each do |gemspec_file|
# plugin gemspecs
Dir["nmatrix-*.gemspec"].each do |gemspec_file|
plugin_name = gemspec_file.match(/(nmatrix-.*)\.gemspec/)[1]
gemspec(:name => plugin_name, :development_group => :plugin)
gemspec(name: plugin_name, development_group: :plugin)
end
Loading