Permalink
Browse files

added making infrastructure

  • Loading branch information...
1 parent 63fe6e2 commit cca785dbc88d97d050662cc0d9cac6c1baaff70c @Jakobo committed Mar 30, 2011
Showing with 67 additions and 0 deletions.
  1. +3 −0 .gitmodules
  2. +2 −0 Makefile
  3. +12 −0 Makefile.js
  4. 0 artifacts/.empty
  5. +21 −0 config/smoosh.json
  6. +28 −0 src/copyright.js
  7. 0 { → src}/sslac.js
  8. +1 −0 vendor/smoosh
View
@@ -0,0 +1,3 @@
+[submodule "vendor/smoosh"]
+ path = vendor/smoosh
+ url = git://github.com/Jakobo/smoosh.git
View
@@ -0,0 +1,2 @@
+sslac:
+ node Makefile.js
View
@@ -0,0 +1,12 @@
+var VERSION = "0.0.1",
+ smoosh = require('smoosh'),
+ fs = require('fs');
+
+smoosh.make('config/smoosh.json');
+
+var copyright = fs.readFileSync('./src/copyright.js', 'utf8'),
+ sslac = fs.readFileSync('./tmp/sslac.js', 'utf8'),
+ sslacMin = fs.readFileSync('./tmp/sslac.min.js', 'utf8');
+
+fs.writeFileSync('./artifacts/sslac-'+VERSION+'.js', [copyright, sslac].join(''), 'utf8');
+fs.writeFileSync('./artifacts/sslac-'+VERSION+'.min.js', [copyright, sslacMin].join(''), 'utf8');
View
No changes.
View
@@ -0,0 +1,21 @@
+{
+ "JSHINT_OPTS": {
+ "boss": true,
+ "forin": true,
+ "curly": true,
+ "debug": false,
+ "devel": false,
+ "evil": false,
+ "regexp": false,
+ "undef": false,
+ "sub": false,
+ "white": true,
+ "indent": 2,
+ "whitespace": true,
+ "asi": false
+ },
+ "JAVASCRIPT": {
+ "DIST_DIR": "tmp",
+ "qwery": [ "./src/sslac.js" ]
+ }
+}
View
@@ -0,0 +1,28 @@
+/*
+Library: Sslac
+Homepage: https://github.com/jakobo/sslac
+
+---
+
+The MIT License
+
+Copyright (c) 2008 Jakob Heuser <jakob@felocity.org>
+
+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.
+*/
File renamed without changes.
Submodule smoosh added at 1591d9

0 comments on commit cca785d

Please sign in to comment.