Skip to content

Commit

Permalink
Merge pull request #12 from oAGoulart/updates
Browse files Browse the repository at this point in the history
Updates
  • Loading branch information
oAGoulart authored Mar 29, 2020
2 parents 701fb01 + 3b3bcb6 commit ee7be38
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 14 deletions.
7 changes: 2 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ before_script:
- bundle install
- gem install percy-cli
script:
- bundle exec jekyll build
# - bundle exec htmlproofer ./_site --check-html --check-sri
- bundle exec rubocop -D --cache false
- ruby ./scripts/validate.ruby
- gem build vitrina.gemspec
- sudo chmod +x ./scripts/build.sh
- ./scripts/build.sh
- percy snapshot _site/
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vitrina",
"version": "0.1.1",
"version": "0.1.2",
"description": "A general purpose, configurable, Jekyll theme",
"main": "index.html",
"author": {
Expand Down
7 changes: 0 additions & 7 deletions scripts/build

This file was deleted.

10 changes: 10 additions & 0 deletions scripts/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

# give exe permission
sudo chmod +x ./scripts/validate.rb

bundle exec jekyll build
#bundle exec htmlproofer ./_site --check-html --check-sri
bundle exec rubocop -D
./scripts/validate.rb
gem build vitrina.gemspec
File renamed without changes.
1 change: 1 addition & 0 deletions scripts/validate.ruby → scripts/validate.rb
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/ruby
# frozen_string_literal: true

require 'rubygems'
Expand Down
2 changes: 1 addition & 1 deletion vitrina.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = 'vitrina'
s.version = '0.1.1'
s.version = '0.1.2'
s.authors = ['Augusto Goulart']
s.email = ['josegoulart.aluno@unipampa.edu.br']

Expand Down

0 comments on commit ee7be38

Please sign in to comment.