https://github.com/jphp-group/dn-bundle-plugin
Plugin for creating bundles for develnext using jppm
https://github.com/jphp-group/dn-bundle-plugin
Last synced: 7 months ago
JSON representation
Plugin for creating bundles for develnext using jppm
- Host: GitHub
- URL: https://github.com/jphp-group/dn-bundle-plugin
- Owner: jphp-group
- Created: 2018-05-26T18:58:22.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2018-07-04T13:30:48.000Z (almost 8 years ago)
- Last Synced: 2025-04-09T23:44:25.349Z (about 1 year ago)
- Language: PHP
- Size: 7.81 KB
- Stars: 2
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dn-bundle-plugin
Plugin for creating bundles for DevelNext using jppm
## Usage
Edit you package.php.yml like this:
```yaml
devDeps:
dn-bundle-plugin: '*'
...
develnext-bundle:
version: 1.0.0
name: simple-bundle
author: broelik
icon: "develnext/bundle/simplebundle/icon32.png"
description: "Simple Bundle"
group: "other"
class: "develnext\\bundle\\simplebundle\\SimpleBundle"
```
After, create **src-bundle** folder in you project directory. This folder contains source files for bundle and can be used to interact with IDE.
Then use this command for create bundle:
```
jppm bundle:build
```
You can find dnbundle file at **PROJECT_DIRECTORY**/bundle/**PROJECT_NAME**-**PROJECT_VERSION**.dnbundle