Permalink
Browse files

- updated dist.ini

  • Loading branch information...
1 parent 2e9dc70 commit fa888971dc555ef10323b108c92b9fef2272a0b0 Nickolay Platonov committed Nov 1, 2010
Showing with 44 additions and 166 deletions.
  1. +2 −0 Changes
  2. BIN bin/yuicompressor-2.4.2.jar
  3. +42 −32 dist.ini
  4. +0 −61 script/create.pl
  5. +0 −16 t/010_sanity.t.js
  6. +0 −57 t/index.html
View
2 Changes
@@ -2,6 +2,8 @@ Revision history for Task.Joose.NodeJS
{{ $NEXT }}
+ - re-release solely for `npm` platform
+
0.07 2010-10-19 18:26
- made npm version export the same symbols as `joose`
View
BIN bin/yuicompressor-2.4.2.jar
Binary file not shown.
View
74 dist.ini
@@ -2,63 +2,75 @@ name = Task-Joose-NodeJS
abstract = Joose, packaged with NodeJS flavour
author = Nickolay Platonov <nplatonov@cpan.org>
-
license = LGPL_3_0
-copyright_holder = Nickolay Platonov <nplatonov@cpan.org>
-
+copyright_holder = Nickolay Platonov
+;=========================================================================
; version provider
-[BumpVersionFromGit]
+[Git::NextVersion]
+first_version = 0.0.1
+
+
+;=========================================================================
+; include the link to git repo and web page
+
+[GithubMeta]
+
+;=========================================================================
; choose/generate files to include
[GatherDir]
[PruneCruft]
-[ManifestSkip]
[License]
-; build system
-
-; [ExecDir]
-; [ShareDir]
-
+;=========================================================================
; JSAN-specific configuration
-[JSAN] ; includes META.JSON generation
+
+[JSAN] ; generate docs
docs_markup = mmd ; default
+
+[JSAN::StaticDir]
static_dir = static ; default
-[JSAN::ReadmeFromMD] ; should be after docs generation
-[JSAN::Bundle] ; after docs generation to avoid docs for bundles
+[JSAN::ReadmeFromMD] ; should be after docs generation
+[JSAN::InstallInstructions] ; add INSTALL file, describing the installation process
+[JSAN::Bundle] ; after docs generation to avoid docs for bundles
-[JSAN::InstallInstructions]
-; manifest (after all generated files)
-[Manifest]
+;=========================================================================
+; `npm` configuration - package.json generation
[JSAN::NPM]
main = lib/Task/Joose/NodeJSNPM
-dependency = "joose" : ">=3.12.0"
-dependency = "joosex-attribute" : ">=0.6.0"
-dependency = "joosex-namespace-depended" : ">=0.10.0"
-dependency = "joosex-cps" : ">=0.12.0"
+dependency = joose >= 3.14.0
+dependency = joosex-attribute >= 0.9.0
+dependency = joosex-namespace-depended >= 0.11.0
+dependency = joosex-cps >= 0.13.0
+
+
+;=========================================================================
; before release
[Git::Check]
[CheckChangesHasContent]
-
-; [TestRelease] todo
[ConfirmRelease]
-; releaser
-[JSAN::Upload] ; just a no-op for now
-[JSAN::NPM::Publish]
+
+;=========================================================================
+; release
+
+[JSAN::NPM::Publish] ; publish in `npm`
sudo = 1
+
+;=========================================================================
; after release
+
[Git::Commit / Commit_Dirty_Files]
[Git::Tag]
@@ -71,11 +83,9 @@ format = %-9v %{yyyy-MM-dd HH:mm}d
[Git::Push]
push_to = origin
-[Twitter]
-tweet_url = http://openjsan.org/go/?l={{ my $dist = $DIST; $dist =~ s/-/./g; $dist; }}
-tweet = Released {{$DIST}}-{{$VERSION}} {{$URL}}
-hash_tags = #npm
-
-; prerequisites
+[JSAN::GitHubDocs] ; after all commits to have clean workspace
-; [JSAN::Prereq] none
+[Twitter]
+tweet_url = http://samuraijack.github.com/{{$DIST}}
+tweet = Released {{$DIST}}-{{$VERSION}} {{$URL}}
+hash_tags = #nodejs #npm
View
61 script/create.pl
@@ -1,61 +0,0 @@
-#!/usr/bin/perl
-
-use strict;
-use warnings;
-
-use FindBin;
-use lib "$FindBin::Bin/lib";
-
-use Path::Class;
-
-
-#======================================================================================================================================================================================
-# detecting JSAN root
-
-use Module::Build::JSAN::Installable;
-
-
-my $jsan_root = dir(Module::Build::JSAN::Installable::get_jsan_libroot(), 'lib');
-
-
-#======================================================================================================================================================================================
-# setting up the package content
-
-my @package = (
- 'Task.Joose.Core',
- 'Task.JooseX.Attribute.Bootstrap',
- 'Task.JooseX.Namespace.Depended.NodeJS',
- 'Task.JooseX.CPS.All'
-);
-
-
-#======================================================================================================================================================================================
-# concatenating
-
-
-my $content = '';
-
-foreach my $module (@package) {
-
- my @dirs = split /\./, $module;
- $dirs[ -1 ] .= '.js';
-
- $content .= ";\n;" . $jsan_root->file(@dirs)->slurp();
-}
-
-
-
-#======================================================================================================================================================================================
-# writing the results
-
-my $package_file = file("$FindBin::Bin/../lib/Task/Joose/NodeJS.js");
-
-
-my $fh = $package_file->openw;
-
-print $fh $content;
-
-$fh->close;
-
-
-#print `java -jar bin/yuicompressor-2.4.2.jar -o lib/Task/Joose/NodeJS.js lib/Task/Joose/NodeJS.js`;
View
16 t/010_sanity.t.js
@@ -1,16 +0,0 @@
-StartTest(function(t) {
-
- t.plan(1)
-
- var async0 = t.beginAsync()
-
- use('Task.Joose.NodeJS', function () {
-
- //======================================================================================================================================================================================================================================================
- t.diag('Sanity')
-
- t.ok(Task.Joose.NodeJS, "Task.Joose.NodeJS is here")
-
- t.endAsync(async0)
- })
-})
View
57 t/index.html
@@ -1,57 +0,0 @@
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-<html>
- <head>
- <script type="text/javascript" src="/jsan/Task/Joose/Stable.js"></script>
-
- <link rel="stylesheet" type="text/css" href="/jsan/Task/ExtJS/resources/css/ext-all.css">
-
- <!-- Ext bridge -->
-
- <script type="text/javascript" src="/jsan/Task/ExtJS/Adapter/Ext.js"></script>
-
- <script type="text/javascript" src="/jsan/JooseX/Meta/Lazy.js"></script>
- <script type="text/javascript" src="/jsan/JooseX/Bridge/Ext.js"></script>
- <script type="text/javascript" src="/jsan/JooseX/Bridge/Ext/LazyConvertor.js"></script>
-
- <script type="text/javascript" src="/jsan/Task/ExtJS/All.js"></script>
-
- <!-- eof Ext bridge -->
-
-
- <script type="text/javascript" src="/jsan/ExtX/Reference/Slot.js"></script>
-
- <link rel="stylesheet" type="text/css" href="/jsan/Test/Run/static/css/all.css">
- <script type="text/javascript" src="/jsan/Task/Test/Run/ExtJS.js"></script>
- </head>
-
-
- <body>
- <script type="text/javascript">
- var INC = []
- Joose.A.each([ '../lib', '/jsan' ], function (path) {
- INC.push(Test.Run.Harness.Browser.Multi.my.resolveUrl(path, true))
- })
-
-
- Test.Run.Harness.Browser.Multi.my.configure({
- title : 'Task.Joose.NodeJS Test Suite',
-
- passThroughEx : true,
-
- preload : [
- '/jsan/Task/Joose/Core.js',
- "/jsan/JooseX/SimpleRequest.js",
- '/jsan/Task/JooseX/Namespace/Depended/Web.js',
- {
- text : "JooseX.Namespace.Depended.Manager.my.INC = " + Ext.encode(INC)
- }
- ]
- })
-
-
- Test.Run.Harness.Browser.Multi.my.start(
- '010_sanity.t.js'
- )
- </script>
- </body>
-</html>

0 comments on commit fa88897

Please sign in to comment.