Skip to content
This repository has been archived by the owner on Oct 4, 2020. It is now read-only.

Commit

Permalink
Update build
Browse files Browse the repository at this point in the history
  • Loading branch information
garyb committed May 16, 2016
1 parent 3e3f5ae commit 3460fde
Show file tree
Hide file tree
Showing 75 changed files with 111 additions and 154 deletions.
26 changes: 9 additions & 17 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,23 +1,15 @@
language: node_js
sudo: false
node_js:
- 4
env:
- PATH=$HOME/purescript:$PATH
dist: trusty
sudo: required
node_js: 5
install:
- TAG=$(wget -q -O - https://github.com/purescript/purescript/releases/latest --server-response --max-redirect 0 2>&1 | sed -n -e 's/.*Location:.*tag\///p')
- wget -O $HOME/purescript.tar.gz https://github.com/purescript/purescript/releases/download/$TAG/linux64.tar.gz
- tar -xvf $HOME/purescript.tar.gz -C $HOME/
- chmod a+x $HOME/purescript
- npm install bower gulp -g
- npm install && bower install
- npm install
- npm install -g bower
- bower install
script:
- gulp
- npm run build
after_success:
- >-
test $TRAVIS_TAG &&
psc-publish > .pursuit.json &&
curl -X POST http://pursuit.purescript.org/packages \
-d @.pursuit.json \
-H 'Accept: application/json' \
-H "Authorization: token ${GITHUB_TOKEN}"
echo $GITHUB_TOKEN | pulp login &&
echo y | pulp publish --no-push
31 changes: 0 additions & 31 deletions gulpfile.js

This file was deleted.

47 changes: 47 additions & 0 deletions npm-debug.log
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'build' ]
2 info using [email protected]
3 info using [email protected]
4 verbose run-script [ 'prebuild', 'build', 'postbuild' ]
5 info lifecycle @~prebuild: @
6 silly lifecycle @~prebuild: no script for prebuild, continuing
7 info lifecycle @~build: @
8 verbose lifecycle @~build: unsafe-perm in lifecycle true
9 verbose lifecycle @~build: PATH: C:\Program Files\nodejs\node_modules\npm\bin\node-gyp-bin;D:\Home\GitHub\purescript-dom\node_modules\.bin;C:\Program Files\ImageMagick-6.9.2-Q16;D:\Home\GitHub\purescript\dist\build\psc;C:\ProgramData\Oracle\Java\javapath;C:\Program Files (x86)\Intel\iCLS Client\;C:\Program Files\Intel\iCLS Client\;C:\Program Files\Haskell\bin;C:\Program Files\Haskell Platform\7.10.2-a\lib\extralibs\bin;C:\Program Files\Haskell Platform\7.10.2-a\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Git\cmd;C:\Program Files\Haskell Platform\7.10.2-a\mingw\bin;D:\Home\GitHub\purescript\.cabal-sandbox\bin;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Windows Kits\8.1\Windows Performance Toolkit\;C:\Program Files\MongoDB\Server\3.0\bin;C:\Program Files (x86)\Git\bin;C:\Program Files\Sublime Text 3;C:\Program Files\Calibre2\;C:\Program Files\nodejs\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;D:\Home\GitHub\purescript\dist\build\psc-docs;D:\Home\GitHub\purescript\dist\build\psc-publish;D:\Home\GitHub\purescript\dist\build\psc-ide-server;D:\Home\GitHub\purescript\dist\build\psc-ide-client;C:\Users\Gary\AppData\Roaming\cabal\bin;C:\Users\Gary\AppData\Roaming\npm;C:\Users\Gary\AppData\Roaming\local\bin;C:\Users\Gary\AppData\Local\atom\bin
10 verbose lifecycle @~build: CWD: D:\Home\GitHub\purescript-dom
11 silly lifecycle @~build: Args: [ '/d /s /c',
11 silly lifecycle 'jshint -c .jshintrc src && jscs -c .jscsrc src && pulp build' ]
12 silly lifecycle @~build: Returned: code: 1 signal: null
13 info lifecycle @~build: Failed to exec build script
14 verbose stack Error: @ build: `jshint -c .jshintrc src && jscs -c .jscsrc src && pulp build`
14 verbose stack Exit status 1
14 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\lifecycle.js:232:16)
14 verbose stack at emitTwo (events.js:87:13)
14 verbose stack at EventEmitter.emit (events.js:172:7)
14 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\lib\utils\spawn.js:24:14)
14 verbose stack at emitTwo (events.js:87:13)
14 verbose stack at ChildProcess.emit (events.js:172:7)
14 verbose stack at maybeClose (internal/child_process.js:818:16)
14 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)
15 verbose pkgid @
16 verbose cwd D:\Home\GitHub\purescript-dom
17 error Windows_NT 10.0.10586
18 error argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "build"
19 error node v5.3.0
20 error npm v3.3.12
21 error code ELIFECYCLE
22 error @ build: `jshint -c .jshintrc src && jscs -c .jscsrc src && pulp build`
22 error Exit status 1
23 error Failed at the @ build script 'jshint -c .jshintrc src && jscs -c .jscsrc src && pulp build'.
23 error Make sure you have the latest version of node.js and npm installed.
23 error If you do, this is most likely a problem with the package,
23 error not with npm itself.
23 error Tell the author that this fails on your system:
23 error jshint -c .jshintrc src && jscs -c .jscsrc src && pulp build
23 error You can get their info via:
23 error npm owner ls
23 error There is likely additional logging output above.
24 verbose exit [ 1, true ]
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,14 @@
{
"private": true,
"scripts": {
"clean": "rimraf output && rimraf .pulp-cache",
"build": "jshint -c .jshintrc src && jscs -c .jscsrc src && pulp build"
},
"devDependencies": {
"gulp": "^3.8.11",
"gulp-purescript": "^0.8.0",
"rimraf": "^2.3.3"
"jscs": "^2.8.0",
"jshint": "^2.9.1",
"pulp": "^8.2.0",
"purescript": "^0.7.6",
"rimraf": "^2.4.1"
}
}
6 changes: 4 additions & 2 deletions src/DOM/Event/DragEvent/DataTransfer.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"use strict";

// module DOM.Event.DragEvent.DataTransfer

exports.files = function(dataTransfer) {
exports.files = function (dataTransfer) {
return dataTransfer.files;
}
};
1 change: 0 additions & 1 deletion src/DOM/Event/Event.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.Event.Event
Expand Down
1 change: 0 additions & 1 deletion src/DOM/Event/EventTarget.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.Event.EventTarget
Expand Down
2 changes: 1 addition & 1 deletion src/DOM/Event/Types.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global exports, EventTarget */
/* global EventTarget */
"use strict";

// module DOM.Event.Types
Expand Down
6 changes: 4 additions & 2 deletions src/DOM/File/Blob.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"use strict";

// module DOM.File.Blob

exports.typeImpl = function(blob) { return blob.type };
exports.typeImpl = function (blob) { return blob.type; };

exports.size = function(blob) { return blob.size };
exports.size = function (blob) { return blob.size; };
8 changes: 5 additions & 3 deletions src/DOM/File/File.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
"use strict";

// module DOM.File.File

exports.name = function(file) { return file.name };
exports.lastModifiedDate = function(file) { return file.lastModifiedDate }
exports.lastModified = function(file) { return file.lastModified }
exports.name = function (file) { return file.name; };
exports.lastModifiedDate = function (file) { return file.lastModifiedDate; };
exports.lastModified = function (file) { return file.lastModified; };
10 changes: 6 additions & 4 deletions src/DOM/File/FileList.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
"use strict";

// module DOM.File.FileList

exports.length = function(fileList) { return fileList.length; };
exports.length = function (fileList) { return fileList.length; };

exports.item = function(index) {
return function(fileList) {
exports.item = function (index) {
return function (fileList) {
return fileList.item(index);
}
};
};
2 changes: 1 addition & 1 deletion src/DOM/HTML.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global exports, window */
/* global window */
"use strict";

// module DOM.HTML
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/Document.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.Document
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLAnchorElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLAnchorElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLAreaElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLAreaElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLBaseElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLBaseElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLButtonElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLButtonElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLCanvasElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLCanvasElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLDataElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLDataElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLDataListElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLDataListElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLEmbedElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLEmbedElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLFieldSetElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLFieldSetElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLFormElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLFormElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLIFrameElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLIFrameElement
Expand Down
2 changes: 1 addition & 1 deletion src/DOM/HTML/HTMLImageElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global exports, Image */
/* global Image */
"use strict";

// module DOM.HTML.HTMLImageElement
Expand Down
5 changes: 2 additions & 3 deletions src/DOM/HTML/HTMLInputElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLInputElement
Expand Down Expand Up @@ -727,7 +726,7 @@ exports["setRangeText'"] = function (replacement) {
return function (selectionMode) {
return function (input) {
return function () {
input.setRangeText(replacement);
input.setRangeText(replacement, start, end, selectionMode, input);
};
};
};
Expand All @@ -742,7 +741,7 @@ exports.setSelectionRange = function (start) {
return function (direction) {
return function (input) {
return function () {
input.setRangeText(replacement);
input.setSelectionRange(start, end, direction, input);
};
};
};
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLKeygenElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLKeygenElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLLIElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLLIElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLLabelElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLLabelElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLLegendElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLLegendElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLLinkElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLLinkElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLMapElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLMapElement
Expand Down
2 changes: 0 additions & 2 deletions src/DOM/HTML/HTMLMediaElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLMediaElement
Expand Down Expand Up @@ -219,7 +218,6 @@ exports.play = function (media) {
};
};


// ----------------------------------------------------------------------------

exports.pause = function (media) {
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLMetaElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLMetaElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLMeterElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLMeterElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLModElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLModElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLOListElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLOListElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLObjectElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLObjectElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLOptGroupElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLOptGroupElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLOptionElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLOptionElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLOutputElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLOutputElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLParamElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLParamElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLProgressElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLProgressElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLQuoteElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLQuoteElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLScriptElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLScriptElement
Expand Down
1 change: 0 additions & 1 deletion src/DOM/HTML/HTMLSelectElement.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
/* global exports */
"use strict";

// module DOM.HTML.HTMLSelectElement
Expand Down
Loading

0 comments on commit 3460fde

Please sign in to comment.