Skip to content

Commit

Permalink
Add make install into Mailer's Makefile
Browse files Browse the repository at this point in the history
It runs all commands required after new code is pulled:

- composer install,
- make js (runs yarn install & builds assets),
- database migrations & seed.
  • Loading branch information
markoph committed Jun 2, 2023
1 parent 006612f commit fab11b2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
- Added support for horizontal scroll in DataTable (parameter `scrollX` in table settings). remp/remp#1270
- Fixed mail click tracker to not modify URL in any way other than adding required query parameter. remp/remp#1270
- Changed `url` column type in `mail_template_links` table from `string` to `text` to support longer URLs. remp/remp#1270
- Added Makefile target `make install` to run all commands required after new code is pulled.

## Archive

Expand Down
6 changes: 6 additions & 0 deletions Mailer/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

PHP_FOLDERS=app bin extensions tests

install:
composer install
make js
php bin/command.php migrate:migrate
php bin/command.php db:seed

js-link-remp:
cd ../Package/remp && yarn link
yarn link "@remp/js-commons"
Expand Down

0 comments on commit fab11b2

Please sign in to comment.