This Rug is an example of a ClojureScript based editor.
- Need to make sure that external things like Rug types are expressed in 'externs.js'. Otherwise, the google closure compiler breaks some stuff.
- Always use :advanced optimizations in project.clj to make it work in Nashorn
- Use (clj-i>js ...) for parameters to JS/Rug things
The AddGpl3LicenseFile editor adds a GPL-3.0 license file to a project. If a license file already exists in the project, it replaces it. If more than one license file exists in the project, it refuses to do anything.
Before running this Editor, you must have the following prerequisites satisfied.
- A project with zero or one license file
To editor requires no parameters
This is currently not published, so only running locally is supported:
rug -Xl edit AddGpl3LicenseFile -C <some project dir>
General support questions should be discussed in the #support
channel on our community slack team
at atomist-community.slack.com.
If you find a problem, please create an issue.
Created by Atomist. Need Help? Join our Slack team.