HULQ - Simple framework for XSLT development
Before you start, make sure you have these things installed:
$ sudo npm install hulq -g #it needs to be available globally
$ hulq begin your_template.xslt
$ cd your_project
Now it is your turn: You can edit the xslt files (workspace/your_template.xslt and workspace/partials/*.xslt)
- begin
- smash
- prepare
- recover
- deploy
- watch
- lookup
- destroy
- help
You can see their description by using hulq help
You can change this file to configure how your output will be generated. The gulp-xslttemplate documentation is available here
replaces: {
jsmin: {
filename: "app.js",
path: jsBuildPath,
},
cssmin: {
filename: "app.css",
path: cssBuildPath,
}
}
Create the brand new xslt file with everything together:
$ hulq recover # OR
$ hulq watch # to watch the files and recover when edited
HulQ contribution system uses GitHub to manage the pull-requests. So, basically, to contribute, you'll create a fork, commit your changes and submit a pull-request based on a issue created by any GitHub user. These are more detailed steps:
- Fork the project and set-up the repository.
- Create a new branch to work on: git checkout -b new_branch
- Work on the code and commit your changes. WARNING: You must commit your files with LF line endings. Read more here
- After making sure your code is fully tested, you can push your commit(s) to the remote repo: git push origin new_branch
- Now you must create a pull-request with a good, specific title and a good description containing the issue number a small piece of documentation explaining what you did.
- The code contributors will review the changes now, keep in mind that it is very common to receive code change requests, so, try to follow them or discuss the importance of the requested change to make sure that everything is done the best possible way.
Copyright 2015 HulQ Framework
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.