Commit 3d3bbc52 authored by Romain Courteaud's avatar Romain Courteaud

Fetch dependencies with curl

parent 6efdce72
...@@ -158,50 +158,41 @@ fetch: ${EXTERNALDIR}/uritemplate.js \ ...@@ -158,50 +158,41 @@ fetch: ${EXTERNALDIR}/uritemplate.js \
${EXTERNALDIR}/sinon.js \ ${EXTERNALDIR}/sinon.js \
${EXTERNALDIR}/renderjs-latest.js ${EXTERNALDIR}/renderjs-latest.js
${EXTERNALDIR}/uritemplate.js: node_modules/uritemplate/bin/uritemplate.js ${EXTERNALDIR}/uritemplate.js:
@echo copy
@mkdir -p $(@D) @mkdir -p $(@D)
cp $< $@ curl -s -o $@ https://lab.nexedi.com/nexedi/uritemplate-js/raw/master/bin/uritemplate.js
${EXTERNALDIR}/lz-string.js: node_modules/lz-string/libs/lz-string.js ${EXTERNALDIR}/lz-string.js:
@echo copy
@mkdir -p $(@D) @mkdir -p $(@D)
cp $< $@ curl -s -o $@ https://raw.githubusercontent.com/pieroxy/lz-string/1.4.4/libs/lz-string.js
${EXTERNALDIR}/moment.js: node_modules/moment/moment.js ${EXTERNALDIR}/moment.js:
@echo copy
@mkdir -p $(@D) @mkdir -p $(@D)
cp $< $@ curl -s -o $@ https://raw.githubusercontent.com/moment/moment/2.22.1/moment.js
${EXTERNALDIR}/rusha.js: node_modules/rusha/rusha.js ${EXTERNALDIR}/rusha.js:
@echo copy
@mkdir -p $(@D) @mkdir -p $(@D)
cp $< $@ curl -s -o $@ https://raw.githubusercontent.com/srijs/rusha/v0.8.2/rusha.js
${EXTERNALDIR}/rsvp-2.0.4.js: node_modules/rsvp/dist/rsvp-2.0.4.js ${EXTERNALDIR}/rsvp-2.0.4.js:
@echo copy
@mkdir -p $(@D) @mkdir -p $(@D)
cp $< $@ curl -s -o $@ https://lab.nexedi.com/nexedi/rsvp.js/raw/master/dist/rsvp-2.0.4.js
${EXTERNALDIR}/qunit.css: node_modules/grunt-contrib-qunit/test/libs/qunit.css ${EXTERNALDIR}/qunit.css:
@echo copy
@mkdir -p $(@D) @mkdir -p $(@D)
cp $< $@ curl -s -o $@ https://code.jquery.com/qunit/qunit-1.12.0.css
${EXTERNALDIR}/qunit.js: node_modules/grunt-contrib-qunit/test/libs/qunit.js ${EXTERNALDIR}/qunit.js:
@echo copy
@mkdir -p $(@D) @mkdir -p $(@D)
cp $< $@ curl -s -o $@ https://code.jquery.com/qunit/qunit-1.12.0.js
${EXTERNALDIR}/sinon.js: node_modules/sinon/pkg/sinon.js ${EXTERNALDIR}/sinon.js:
@echo copy
@mkdir -p $(@D) @mkdir -p $(@D)
cp $< $@ curl -s -o $@ https://sinonjs.org/releases/sinon-1.7.3.js
${EXTERNALDIR}/renderjs-latest.js: node_modules/renderjs/dist/renderjs-latest.js ${EXTERNALDIR}/renderjs-latest.js:
@echo copy
@mkdir -p $(@D) @mkdir -p $(@D)
cp $< $@ curl -s -o $@ https://lab.nexedi.com/nexedi/renderjs/raw/master/dist/renderjs-latest.js
.phony: clean .phony: clean
......
This diff is collapsed.
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
/** Font Family and Sizes */ /** Font Family and Sizes */
#qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult { #qunit-tests, #qunit-header, #qunit-banner, #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult {
font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif; font-family: "Helvetica Neue Light", "HelveticaNeue-Light", "Helvetica Neue", Calibri, Helvetica, Arial, sans-serif;
} }
#qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; } #qunit-testrunner-toolbar, #qunit-userAgent, #qunit-testresult, #qunit-tests li { font-size: small; }
...@@ -21,147 +21,147 @@ ...@@ -21,147 +21,147 @@
/** Resets */ /** Resets */
#qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter { #qunit-tests, #qunit-header, #qunit-banner, #qunit-userAgent, #qunit-testresult, #qunit-modulefilter {
margin: 0; margin: 0;
padding: 0; padding: 0;
} }
/** Header */ /** Header */
#qunit-header { #qunit-header {
padding: 0.5em 0 0.5em 1em; padding: 0.5em 0 0.5em 1em;
color: #8699a4; color: #8699a4;
background-color: #0d3349; background-color: #0d3349;
font-size: 1.5em; font-size: 1.5em;
line-height: 1em; line-height: 1em;
font-weight: normal; font-weight: normal;
border-radius: 5px 5px 0 0; border-radius: 5px 5px 0 0;
-moz-border-radius: 5px 5px 0 0; -moz-border-radius: 5px 5px 0 0;
-webkit-border-top-right-radius: 5px; -webkit-border-top-right-radius: 5px;
-webkit-border-top-left-radius: 5px; -webkit-border-top-left-radius: 5px;
} }
#qunit-header a { #qunit-header a {
text-decoration: none; text-decoration: none;
color: #c2ccd1; color: #c2ccd1;
} }
#qunit-header a:hover, #qunit-header a:hover,
#qunit-header a:focus { #qunit-header a:focus {
color: #fff; color: #fff;
} }
#qunit-testrunner-toolbar label { #qunit-testrunner-toolbar label {
display: inline-block; display: inline-block;
padding: 0 .5em 0 .1em; padding: 0 .5em 0 .1em;
} }
#qunit-banner { #qunit-banner {
height: 5px; height: 5px;
} }
#qunit-testrunner-toolbar { #qunit-testrunner-toolbar {
padding: 0.5em 0 0.5em 2em; padding: 0.5em 0 0.5em 2em;
color: #5E740B; color: #5E740B;
background-color: #eee; background-color: #eee;
overflow: hidden; overflow: hidden;
} }
#qunit-userAgent { #qunit-userAgent {
padding: 0.5em 0 0.5em 2.5em; padding: 0.5em 0 0.5em 2.5em;
background-color: #2b81af; background-color: #2b81af;
color: #fff; color: #fff;
text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px; text-shadow: rgba(0, 0, 0, 0.5) 2px 2px 1px;
} }
#qunit-modulefilter-container { #qunit-modulefilter-container {
float: right; float: right;
} }
/** Tests: Pass/Fail */ /** Tests: Pass/Fail */
#qunit-tests { #qunit-tests {
list-style-position: inside; list-style-position: inside;
} }
#qunit-tests li { #qunit-tests li {
padding: 0.4em 0.5em 0.4em 2.5em; padding: 0.4em 0.5em 0.4em 2.5em;
border-bottom: 1px solid #fff; border-bottom: 1px solid #fff;
list-style-position: inside; list-style-position: inside;
} }
#qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running { #qunit-tests.hidepass li.pass, #qunit-tests.hidepass li.running {
display: none; display: none;
} }
#qunit-tests li strong { #qunit-tests li strong {
cursor: pointer; cursor: pointer;
} }
#qunit-tests li a { #qunit-tests li a {
padding: 0.5em; padding: 0.5em;
color: #c2ccd1; color: #c2ccd1;
text-decoration: none; text-decoration: none;
} }
#qunit-tests li a:hover, #qunit-tests li a:hover,
#qunit-tests li a:focus { #qunit-tests li a:focus {
color: #000; color: #000;
} }
#qunit-tests li .runtime { #qunit-tests li .runtime {
float: right; float: right;
font-size: smaller; font-size: smaller;
} }
.qunit-assert-list { .qunit-assert-list {
margin-top: 0.5em; margin-top: 0.5em;
padding: 0.5em; padding: 0.5em;
background-color: #fff; background-color: #fff;
border-radius: 5px; border-radius: 5px;
-moz-border-radius: 5px; -moz-border-radius: 5px;
-webkit-border-radius: 5px; -webkit-border-radius: 5px;
} }
.qunit-collapsed { .qunit-collapsed {
display: none; display: none;
} }
#qunit-tests table { #qunit-tests table {
border-collapse: collapse; border-collapse: collapse;
margin-top: .2em; margin-top: .2em;
} }
#qunit-tests th { #qunit-tests th {
text-align: right; text-align: right;
vertical-align: top; vertical-align: top;
padding: 0 .5em 0 0; padding: 0 .5em 0 0;
} }
#qunit-tests td { #qunit-tests td {
vertical-align: top; vertical-align: top;
} }
#qunit-tests pre { #qunit-tests pre {
margin: 0; margin: 0;
white-space: pre-wrap; white-space: pre-wrap;
word-wrap: break-word; word-wrap: break-word;
} }
#qunit-tests del { #qunit-tests del {
background-color: #e0f2be; background-color: #e0f2be;
color: #374e0c; color: #374e0c;
text-decoration: none; text-decoration: none;
} }
#qunit-tests ins { #qunit-tests ins {
background-color: #ffcaca; background-color: #ffcaca;
color: #500; color: #500;
text-decoration: none; text-decoration: none;
} }
/*** Test Counts */ /*** Test Counts */
...@@ -171,18 +171,18 @@ ...@@ -171,18 +171,18 @@
#qunit-tests b.failed { color: #710909; } #qunit-tests b.failed { color: #710909; }
#qunit-tests li li { #qunit-tests li li {
padding: 5px; padding: 5px;
background-color: #fff; background-color: #fff;
border-bottom: none; border-bottom: none;
list-style-position: inside; list-style-position: inside;
} }
/*** Passing Styles */ /*** Passing Styles */
#qunit-tests li li.pass { #qunit-tests li li.pass {
color: #3c510c; color: #3c510c;
background-color: #fff; background-color: #fff;
border-left: 10px solid #C6E746; border-left: 10px solid #C6E746;
} }
#qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; } #qunit-tests .pass { color: #528CE0; background-color: #D2E0E6; }
...@@ -196,17 +196,17 @@ ...@@ -196,17 +196,17 @@
/*** Failing Styles */ /*** Failing Styles */
#qunit-tests li li.fail { #qunit-tests li li.fail {
color: #710909; color: #710909;
background-color: #fff; background-color: #fff;
border-left: 10px solid #EE5757; border-left: 10px solid #EE5757;
white-space: pre; white-space: pre;
} }
#qunit-tests > li:last-child { #qunit-tests > li:last-child {
border-radius: 0 0 5px 5px; border-radius: 0 0 5px 5px;
-moz-border-radius: 0 0 5px 5px; -moz-border-radius: 0 0 5px 5px;
-webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-right-radius: 5px;
-webkit-border-bottom-left-radius: 5px; -webkit-border-bottom-left-radius: 5px;
} }
#qunit-tests .fail { color: #000000; background-color: #EE5757; } #qunit-tests .fail { color: #000000; background-color: #EE5757; }
...@@ -222,23 +222,23 @@ ...@@ -222,23 +222,23 @@
/** Result */ /** Result */
#qunit-testresult { #qunit-testresult {
padding: 0.5em 0.5em 0.5em 2.5em; padding: 0.5em 0.5em 0.5em 2.5em;
color: #2b81af; color: #2b81af;
background-color: #D2E0E6; background-color: #D2E0E6;
border-bottom: 1px solid white; border-bottom: 1px solid white;
} }
#qunit-testresult .module-name { #qunit-testresult .module-name {
font-weight: bold; font-weight: bold;
} }
/** Fixture */ /** Fixture */
#qunit-fixture { #qunit-fixture {
position: absolute; position: absolute;
top: -10000px; top: -10000px;
left: -10000px; left: -10000px;
width: 1000px; width: 1000px;
height: 1000px; height: 1000px;
} }
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -27,19 +27,9 @@ ...@@ -27,19 +27,9 @@
"output", "output",
"cloud" "cloud"
], ],
"dependencies": {
"rsvp": "git+https://lab.nexedi.com/romain/rsvp.js.git#wip"
},
"devDependencies": { "devDependencies": {
"renderjs": "git+https://lab.nexedi.com/romain/renderjs.git#wip",
"grunt-contrib-qunit": "~0.3.0",
"jslint": "0.9.2", "jslint": "0.9.2",
"lz-string": "^1.4.4", "jison": "0.4.16"
"sinon": "~1.7.3",
"jison": "0.4.16",
"uritemplate": "git+https://lab.nexedi.com/nexedi/uritemplate-js.git",
"moment": "2.21.0",
"rusha": "0.8.2"
}, },
"engines": { "engines": {
"npm": ">=1.3" "npm": ">=1.3"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment