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

Fetch dependencies with curl

parent 6efdce72
......@@ -158,50 +158,41 @@ fetch: ${EXTERNALDIR}/uritemplate.js \
${EXTERNALDIR}/sinon.js \
${EXTERNALDIR}/renderjs-latest.js
${EXTERNALDIR}/uritemplate.js: node_modules/uritemplate/bin/uritemplate.js
@echo copy
${EXTERNALDIR}/uritemplate.js:
@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
@echo copy
${EXTERNALDIR}/lz-string.js:
@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
@echo copy
${EXTERNALDIR}/moment.js:
@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
@echo copy
${EXTERNALDIR}/rusha.js:
@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
@echo copy
${EXTERNALDIR}/rsvp-2.0.4.js:
@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
@echo copy
${EXTERNALDIR}/qunit.css:
@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
@echo copy
${EXTERNALDIR}/qunit.js:
@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
@echo copy
${EXTERNALDIR}/sinon.js:
@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
@echo copy
${EXTERNALDIR}/renderjs-latest.js:
@mkdir -p $(@D)
cp $< $@
curl -s -o $@ https://lab.nexedi.com/nexedi/renderjs/raw/master/dist/renderjs-latest.js
.phony: clean
......
This source diff could not be displayed because it is too large. You can view the blob instead.
......@@ -27,19 +27,9 @@
"output",
"cloud"
],
"dependencies": {
"rsvp": "git+https://lab.nexedi.com/romain/rsvp.js.git#wip"
},
"devDependencies": {
"renderjs": "git+https://lab.nexedi.com/romain/renderjs.git#wip",
"grunt-contrib-qunit": "~0.3.0",
"jslint": "0.9.2",
"lz-string": "^1.4.4",
"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"
"jison": "0.4.16"
},
"engines": {
"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