-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
78 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,5 @@ | ||
## version 1.0.0 (2018-08-xx) | ||
## dev branch / next version (1.x.x) | ||
|
||
- initial release | ||
## version 1.0.0 (2018-08-20) | ||
|
||
- initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
module.exports = function(grunt) { | ||
grunt.initConfig({ | ||
pkg: grunt.file.readJSON("package.json"), | ||
shell: { | ||
libs: { | ||
command: "haxelib install haxeparser && " + | ||
"haxelib install hxparse && " + | ||
"haxelib install hxargs && " + | ||
"haxelib install compiletime && " + | ||
"haxelib install mcover && " + | ||
"haxelib install munit && " + | ||
"haxelib install tokentree && " + | ||
"haxelib install json2object " | ||
} | ||
}, | ||
haxe: haxeOptions(), | ||
zip: { | ||
release: { | ||
src: [ | ||
"src/**", | ||
"run.n", "run.js", | ||
"resources/formatter-schema.json", | ||
"haxelib.json", "README.md", "CHANGELOG.md", "LICENSE" | ||
], | ||
dest: "formatter.zip", | ||
compression: "DEFLATE" | ||
} | ||
} | ||
}); | ||
grunt.loadNpmTasks("grunt-haxe"); | ||
grunt.loadNpmTasks("grunt-zip"); | ||
grunt.loadNpmTasks("grunt-shell"); | ||
grunt.registerTask("default", ["shell", "haxe:build", "haxe:test"]); | ||
} | ||
|
||
function haxeOptions() { | ||
return { | ||
build: { | ||
hxml: "buildAll.hxml" | ||
}, | ||
test: { | ||
hxml: "buildTest.hxml" | ||
} | ||
}; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
{ | ||
"name": "haxe-formatter", | ||
"version": "1.0.0", | ||
"description": "A code formatter for Haxe", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/HaxeCheckstyle/haxe-formatter" | ||
}, | ||
"keywords": [ | ||
"haxe", | ||
"formatter" | ||
], | ||
"author": { | ||
"name": "Alexander Blum", | ||
"email": "[email protected]" | ||
}, | ||
"dependencies": { | ||
"grunt": "latest", | ||
"grunt-cli": "latest" | ||
}, | ||
"bugs": "https://github.com/HaxeCheckstyle/haxe-formatter/issues", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"grunt": "^0.4.5", | ||
"grunt-haxe": "^0.1.12", | ||
"grunt-shell": "^1.1.1", | ||
"grunt-zip": "^0.16.0" | ||
} | ||
} |