Skip to content

Commit 2537cf9

Browse files
committed
updated but still not working
1 parent de74774 commit 2537cf9

21 files changed

+1282
-720
lines changed

gruntfile.js

+33
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
module.exports = function (grunt) {
2+
3+
grunt.initConfig({
4+
pkg: grunt.file.readJSON("package.json"),
5+
6+
clean : {
7+
dir: {
8+
files: [{src:"haxe-checkstyle/"}]
9+
}
10+
},
11+
12+
shell: {
13+
dir: {
14+
command: "mkdir haxe-checkstyle || true && mkdir haxe-checkstyle/classes || true && mkdir haxe-checkstyle/META-INF || true"
15+
},
16+
files: {
17+
command: "cp out/production/haxe-checkstyle-intellij-plugin/META-INF/plugin.xml haxe-checkstyle/META-INF/" +
18+
" && cp -r out/production/haxe-checkstyle-intellij-plugin/haxe/ haxe-checkstyle/classes/haxe" +
19+
" && cp -r out/production/haxe-checkstyle-intellij-plugin/checkstyle.json haxe-checkstyle/classes/" +
20+
" && cp -r out/production/haxe-checkstyle-intellij-plugin/run haxe-checkstyle/classes/"
21+
}
22+
},
23+
24+
zip: {
25+
"haxe-checkstyle.zip": ["haxe-checkstyle/**"]
26+
}
27+
});
28+
29+
grunt.loadNpmTasks("grunt-contrib-clean");
30+
grunt.loadNpmTasks("grunt-zip");
31+
grunt.loadNpmTasks("grunt-shell");
32+
grunt.registerTask("default", ["clean", "shell", "zip"]);
33+
};

haxe-checkstyle-intellij-plugin.jar

-15.6 KB
Binary file not shown.

haxe-checkstyle.zip

511 KB
Binary file not shown.

haxe-checkstyle/META-INF/plugin.xml

+35
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<idea-plugin version="2">
2+
<id>haxe.checkstyle</id>
3+
<name>Haxe Checkstyle</name>
4+
<version>1.1</version>
5+
<vendor email="[email protected]" url="https://github.com/HaxeCheckstyle/haxe-checkstyle">HaxeCheckstyle</vendor>
6+
<category>Haxe Development</category>
7+
<depends>com.intellij.modules.lang</depends>
8+
9+
<description><![CDATA[
10+
<b>Haxe Checkstyle</b> is a static analysis tool to help developers write Haxe code that adheres to a coding standard.<br><br>
11+
Code conventions improve readability, allowing team members to understand each other's code better.<br><br>
12+
Ideal for any project that wants to enforce coding conventions.<br><br>
13+
Static analysis is usually performed as part of a code review.<br><br>
14+
It automates the process of checking Haxe code to spare developers of this boring (but important) task.<br>
15+
]]></description>
16+
17+
<change-notes><![CDATA[
18+
initial release
19+
]]>
20+
</change-notes>
21+
22+
<idea-version since-build="143.0"/>
23+
24+
<actions>
25+
<group id="haxe.checkstyle" text="_Haxe Checkstyle" description="Haxe Checkstyle" popup="true">
26+
<separator/>
27+
<add-to-group group-id="AnalyzeMenu" anchor="first"/>
28+
<action id="haxe.checkstyle.Run" class="haxe.checkstyle.Run" text="_Run" description="Run" icon="icons/haxelib.png">
29+
<keyboard-shortcut first-keystroke="control shift H" second-keystroke="C" keymap="$default"/>
30+
</action>
31+
<action id="haxe.checkstyle.Config" class="haxe.checkstyle.Config" text="Generate _Default Config" description="Generate Default Config" icon="icons/config.png" />
32+
</group>
33+
</actions>
34+
35+
</idea-plugin>

0 commit comments

Comments
 (0)