Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gulp Scripts Included in Release Build #54

Closed
SkyeHoefling opened this issue Aug 28, 2018 · 5 comments
Closed

Gulp Scripts Included in Release Build #54

SkyeHoefling opened this issue Aug 28, 2018 · 5 comments
Milestone

Comments

@SkyeHoefling
Copy link
Contributor

Describe the bug

When you create the installer package the gulp scripts are included and are installed onto DNN. I believe this is in error since the scripts are just designed for building the module not running the module.

This was tested with just MVC but may be occurring in the other module patterns as well

To Reproduce

Steps to reproduce the behavior:

  1. Create a new DNN MVC module
  2. Package the module up for install
  3. Install the module into DNN

Expected Behavior

  • The module installs without issue
  • Build scripts are omitted from the release build

Actual Behavior

  1. Open up the folder DesktopModules/MVC/MyCompany/MyModule (where MyCompany and MyModule are the names you supplied to yo dnn.
  2. You will see the _BuildScripts folder with the gulp scripts

Screenshots

This is the directory output of an installed module using the DNN MVC template

image

@david-poindexter
Copy link
Contributor

Good catch!

@mtrutledge
Copy link
Owner

mtrutledge commented Aug 28, 2018 via email

@mtrutledge
Copy link
Owner

This is fixed in the development branch now and will be released with version 1.0.8

@SkyeHoefling
Copy link
Contributor Author

@mtrutledge I noticed there are a lot of unnecessary artifacts being copied to release as well. For example one of my projects contains a README.txt file in a code folder. That folder structure is being copied over during release packaing. Should I open another issue about this so we can determine the best course of action on handling stuff like this

@mtrutledge
Copy link
Owner

mtrutledge commented Aug 29, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants