[ 
https://issues.apache.org/jira/browse/NETBEANS-1462?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16662446#comment-16662446
 ] 

Cyril VERLOOP commented on NETBEANS-1462:
-----------------------------------------

I have attached a [^gulp-conf.zip] file. It contains the directories that i 
have placed in my user's home.

The "www" directory contains the 2 projects :
1. "gulp-conf-root" has the "nbproject" folder at the root of the project with 
"gulpfile.js".
2. "gulp-conf" has the "nbproject" folder in the "../nbprojects" and the 
"gulpfile.js" is in the "build" sub-folder of the project.

Installation :
1. extract directories to your user's home.
I have replaced my user name by "user" in the file 
"www/gulp-conf-root/nbproject/private/private.xml". You may need to change that 
accordingly.
2. run "composer install" on the root of each project (unecessary unless you 
want to add php folders to the whole structure)
3. run "npm i --save-dev" on the root of each project

In NetBeans, you can right click on the project's name and use gulp's tasks 
only on project #1.
I would like to do the same on project #2.

The task "build-css" is the same as running :
1. on "gulp-conf-root" : ~/www/gulp-conf-root/node_modules/.bin/gulp -f 
./gulpfile.js build-css
2. on "gulp-conf" : ~/www/gulp-conf/node_modules/.bin/gulp -f 
./build/gulpfile.js build-css


> Select gulp configuration file
> ------------------------------
>
>                 Key: NETBEANS-1462
>                 URL: https://issues.apache.org/jira/browse/NETBEANS-1462
>             Project: NetBeans
>          Issue Type: Improvement
>    Affects Versions: 10.0
>            Reporter: Cyril VERLOOP
>            Priority: Minor
>         Attachments: gulp-conf.zip
>
>
> Being able to choose where the gulp configuration file is (e.g. gulpfile.js) 
> for each project.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@netbeans.apache.org
For additional commands, e-mail: commits-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to