Skip to content

Rakefile cleanup#83

Merged
jhawthorn merged 8 commits intomasterfrom
rakefile_cleanup
Jun 11, 2015
Merged

Rakefile cleanup#83
jhawthorn merged 8 commits intomasterfrom
rakefile_cleanup

Conversation

@jhawthorn
Copy link
Copy Markdown
Contributor

Removes the redundant per-subproject gem building tasks with an improved central task. Should avoid confusion between rake build (build just the solidus gem) vs rake gem:build (build all solidus gems).

Also prefers using the output from rake helpers (like that from sh and rm_f) to manual puts output.

@gmacdougall
Copy link
Copy Markdown
Member

Looks good. 👍

@magnusvk
Copy link
Copy Markdown
Contributor

👍

John Hawthorn added 2 commits June 11, 2015 10:31
Replaces the individual rake tasks for building, installing, and
deploying gems with a simpler system in the top level Rakefile.

Existing tasks were a mix of the PackageTask shipping with rubygems, and
the bundler supplied GemHelpers. PackageTask worked fine, but did very
little, and had a lot of output and temporary files left in pkg.
GemHelpers were installed on all projects other than sample, but
supplied a rake release, which did entirely the wrong thing for our
project (tag and push to github, but only release one of the gems).

The replacement should be simpler, always building/installing/releasing
all 6 gems, and keeping their generated gems in the same place (toplevel
pkg), and should remove confusion about whether we're building the
toplevel solidus gem, or all of the project's gems.
sh will fail when there is an exception, only difference here is that it
will print out "rspec", which I consider to be an improvement.
jhawthorn added a commit that referenced this pull request Jun 11, 2015
@jhawthorn jhawthorn merged commit e8e5b4d into master Jun 11, 2015
@jhawthorn jhawthorn deleted the rakefile_cleanup branch June 11, 2015 17:59
mamhoff added a commit to mamhoff/solidus that referenced this pull request Jun 26, 2024
Use Remix icons if Solidus' admin_updated_navbar is enabled
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants