forked from astorm/pestle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into astorm#476-Crud_Improvements
- Loading branch information
Showing
4 changed files
with
120 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
#!/bin/bash | ||
|
||
## Our travis CI/CD will run this script from the root of a Magento | ||
## folder. Put pestle commands here to generate code in the | ||
## Pulsestorm_Travis module. At the end of the CI we'll run phpcs | ||
## against this folder to ensure generate code | ||
|
||
|
||
## putting some basic files in place so we can merge and tackle | ||
## the "phpcs-ification" of things in stages | ||
mkdir -p app/code/Pulsestorm/Travis | ||
printf "<?php\nnamespace Pulsestorm\\Travis;\n\nclass Foo\n{\n}\n" > app/code/Pulsestorm/Travis/Test.php | ||
|
||
# pestle.phar magento2:generate:crud-model Pulsestorm_Travis Thing |