Import/upgrade basic grunt tools into 3.x skeleton.
@justinyost is already working on this.
Since Jun 15, 2016.
Assessment
This issue has not been assessed yet.
Description
Old README.md.template block:
### CSS Changes
* CSS is managed via LESS source files.
* LESS source files are located in `webroot/less/`.
* Run `grunt less` to process the `webroot/less/` files and output compiled CSS files in `webroot/css/`.
* **Commit both the .less and the .css changes** back to the repo as you work.
* (Until a CDN is set up, static assets will be served from the app server directly.)
.less files of note:
* `global.less` is included everywhere in the site.
* `public.less` is referenced in only the default (public) layout and will override anything in global.
* `admin.less` is referenced only in the admin layout and will also override global.
* LESS resources can be broken out into logical files and `@import`ed into global, public or admin collections as appropriate.
* By default, bootstrap is `<link>`ed separately in the default.ctp layout, but can be rolled into global.less if desired.
### Other grunt Commands
* _(no args)_ or `watch` - Starts the file watcher and auto-executes tests for any php file that changes (and has a test file associated with it.) Also watches .less files and compiles them into CSS on change.
* `less` - Compiles .less files into CSS.
* `test` - Executes the Mocha Javascript test suite.
These were good basic tools to have available in all projects and I lament their loss in the current Cake 3 skeleton.
The run-tests-on-save command in particular is going to need some new logic written for it, since we're engaging PHPUnit directly in Cake 3 projects instead of going through the Cake TestShell that was available in 2 but that's not insurmountable since the src/ and tests/ directories still mirror each other nicely.
- Dominant language
- PHP
- Stars
- 10
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from loadsys/CakePHP-Skeleton
-
Difficulty 3/5 1-2 days Newbie friendliness 25/100
loadsys/CakePHP-Skeleton#173 · 1 comment ·
-
3.x enhancement
Difficulty 3/5 1-2 days Newbie friendliness 42/100
loadsys/CakePHP-Skeleton#169 ·
-
Add `loadsys/cakephp-loadsys-theme` as a dev dependencyMay be free again @justinyost claimed this 3756 days ago, and no pull request is open. Open3.x enhancement
loadsys/CakePHP-Skeleton#166 · 1 assignee ·
-
Add Rule Class for Being In the Configure ListMay be free again @justinyost claimed this 3756 days ago, and no pull request is open. Open3.x enhancement
loadsys/CakePHP-Skeleton#164 · 1 assignee ·
-
Update The Script Block To Be At The BottomMay be free again @justinyost claimed this 3756 days ago, and no pull request is open. Open3.x enhancement
loadsys/CakePHP-Skeleton#162 · 1 assignee ·
All issues in loadsys/CakePHP-Skeleton
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Automattic/static-site-importer#1879 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
521xueweihan/HelloGitHub#3790 ·
-
[Bug] Feed date, title and author too long to fit inside article box on smaller screens, mobileOpenBug (unconfirmed) Good first issue 1️⃣ help wanted UI :art:
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
FreshRSS/FreshRSS#9360 · 2 comments ·
Maintainers usually reply within 1 day