Permalink
Browse files

Improves build, simplifies license

  • Loading branch information...
David Peek
David Peek committed Aug 24, 2012
1 parent 496a061 commit 69d389d624d178c7da661ffea78d7a45fb02ffea
Showing with 20 additions and 37 deletions.
  1. +1 −3 .gitignore
  2. +3 −1 CHANGES
  3. +1 −22 LICENSE
  4. +3 −9 build/Build.hx
  5. +1 −1 project.json
  6. +8 −0 src/haxelib.xml
  7. +2 −0 target/haxelib/haxedoc.xml.hxml
  8. +1 −1 test/targets.hxml
View
@@ -2,11 +2,9 @@
*.js.map
*.swf
*.n
-workspace.json
-*.sublime-workspace
TestSuite.hx
.mcover
/bin
+/.temp
.DS_Store
-/build/test/
View
@@ -1,4 +1,6 @@
1.0.0 Initial release
1.1.0 Improved SignalEvent implementation
1.1.1 Always set event target, not only when bubbling
- Check type filter of EventSlot -BEFORE- removing (for addOnce)
+ Check type filter of EventSlot -BEFORE- removing (for addOnce)
+1.1.2 Adds support for CPP target and value matching of non-enum types on
+ EventSignal slots.
View
23 LICENSE
@@ -1,26 +1,5 @@
Copyright (c) 2012 Massive Interactive
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of
-this software and associated documentation files (the "Software"), to deal in
-the Software without restriction, including without limitation the rights to
-use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
-of the Software, and to permit persons to whom the Software is furnished to do
-so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all
-copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
-SOFTWARE.
-
-AS3 Signals License:
-
-Copyright (c) 2009 Robert Penner
+Copyright (c) 2009 Robert Penner (https://github.com/robertpenner/as3-signals)
Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
View
@@ -35,23 +35,17 @@ class Build extends mtask.core.BuildBase
@target function haxelib(target:HaxeLib)
{
- target.name = build.project.id;
- target.version = build.project.version;
- target.versionDescription = "Always set event target, not only when bubbling, Check type filter of EventSlot before removing (for addOnce)";
-
target.url = "http://github.com/massiveinteractive/msignal";
- target.license.organization = "Massive Interactive";
- target.username = "massive";
target.description = "A Haxe port of the ActionScript 3 Signals library that leverages Haxe type parameters. Supports AVM1, AVM2, JavaScript, Neko and C++.";
+ target.versionDescription = "Adds support for CPP target and value matching of non-enum types on EventSignal slots.";
+
target.addTag("cross");
target.addTag("utility");
target.addTag("massive");
+
target.afterCompile = function()
{
cp("src/*", target.path);
- cmd("haxe", ["-cp", "src", "-js", target.path + "/haxedoc.js",
- "-xml", target.path + "/haxedoc.xml", "msignal.Signal", "msignal.EventSignal"]);
- rm(target.path + "/haxedoc.js");
}
}
View
@@ -1,5 +1,5 @@
{
"name":"MassiveSignal",
- "version":"1.1.1",
+ "version":"1.1.2",
"id":"msignal"
}
View
@@ -0,0 +1,8 @@
+<project name="msignal" url="http://github.com/massiveinteractive/msignal" license="MIT">
+ <user name="massive"/>
+ <description>A Haxe port of the ActionScript 3 Signals library that leverages Haxe type parameters. Supports AVM1, AVM2, JavaScript, Neko and C++.</description>
+ <version name="1.1.2">Adds support for CPP target and value matching of non-enum types on EventSignal slots.</version>
+ <tag v="cross"/>
+ <tag v="utility"/>
+ <tag v="massive"/>
+</project>
@@ -0,0 +1,2 @@
+-cp src
+--macro include('msignal')
View
@@ -46,7 +46,7 @@
## cpp
-main TestMain
--cpp build/test/cpp_test
+-cpp bin/test/cpp_test
-lib hamcrest
-lib munit

0 comments on commit 69d389d

Please sign in to comment.