-
Notifications
You must be signed in to change notification settings - Fork 84
Home
Looking for a quick trial run with CFLint? Download the latest jar (CFLint-0.11.0-all.jar) from search.maven.org. It includes everything you need. Just run it as a regular jar from your command line. For many, this is all you will need.
For running it, you just need a Java JRE (1.6+)
For building from source, you will need to have:
* A JDK (not JRE) installed
* Maven (apache-maven-3.2.3.zip) from apache.org
* gpg4Win.zip [PGP software]-should you require GPG
* log4j configured on your machine
-
Ensure your Java is at a suitable version (minimum 1.6, 1.7 preferred)
-
Ensure you have a Java SDK available (Maven can't build off a JRE alone)
-
Install Win4GPG (or Mac equivalent)
-
Create a PGP Certificate (Maven finds this automatically when building CFlint and requires it) note: Newer version of CFLint may not require this
-
Install Maven (again alter the M2_HOME and/or M2 env.vars) (excellent instructions on the Maven site)
-
Download and unzip CFLint.zip (from GitHub) or use Git to install git clone https://github.com/cflint/CFLint.git
-
Run <CFLint-master folder>mvn clean install
Check build output for errors - should see BUILD SUCCESSFUL at the end
if you are using the cflint-ui.bat (or unix cflint-ui),
cflint-ui.bat -textfile
example:
cflint-ui.bat -textfile c:\temp\out.txt