Skip to content

Commit

Permalink
Link local package into dummy app
Browse files Browse the repository at this point in the history
We need the current js packaghe to run specs,
because it might be that we have changed them in the same branch.
  • Loading branch information
tvdeyen committed Mar 9, 2022
1 parent 4b3f898 commit 3e1b43b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,15 @@ namespace :alchemy do
task :prepare do
system(
<<~BASH
yarn install && \
yarn link && \
cd spec/dummy && \
export RAILS_ENV=test && \
bin/rake db:create && \
bin/rake db:environment:set && \
bin/rake db:migrate:reset && \
bin/rails g alchemy:install --skip --skip-demo-files --auto-accept && \
yarn link @alchemy_cms/admin && \
RAILS_ENV=test bin/webpack && \
cd -
BASH
Expand Down

0 comments on commit 3e1b43b

Please sign in to comment.