Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

added making infrastructure

  • Loading branch information...
commit cca785dbc88d97d050662cc0d9cac6c1baaff70c 1 parent 63fe6e2
@Jakobo authored
View
3  .gitmodules
@@ -0,0 +1,3 @@
+[submodule "vendor/smoosh"]
+ path = vendor/smoosh
+ url = git://github.com/Jakobo/smoosh.git
View
2  Makefile
@@ -0,0 +1,2 @@
+sslac:
+ node Makefile.js
View
12 Makefile.js
@@ -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
0  artifacts/.empty
No changes.
View
21 config/smoosh.json
@@ -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
28 src/copyright.js
@@ -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.
+*/
View
0  sslac.js → src/sslac.js
File renamed without changes
1  vendor/smoosh
@@ -0,0 +1 @@
+Subproject commit 1591d9d20edf8aca590e3d4b24ae5eaee29b5076
Please sign in to comment.
Something went wrong with that request. Please try again.