Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
rsvp.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boris Kocherov
rsvp.js
Commits
b6e626df
Commit
b6e626df
authored
Jan 11, 2013
by
tomhuda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Install browserify
parent
8ac85d1c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
1 deletion
+12
-1
Rakefile
Rakefile
+12
-1
No files found.
Rakefile
View file @
b6e626df
...
@@ -58,7 +58,18 @@ test_files = ["tests/test-adapter.js"]
...
@@ -58,7 +58,18 @@ test_files = ["tests/test-adapter.js"]
test_files
+=
Dir
[
"promises-tests/lib/tests/**/*.js"
]
test_files
+=
Dir
[
"promises-tests/lib/tests/**/*.js"
]
test_files
+=
Dir
[
"promises-tests/node_modules/sinon/lib/{sinon.js,sinon/*.js}"
]
test_files
+=
Dir
[
"promises-tests/node_modules/sinon/lib/{sinon.js,sinon/*.js}"
]
file
"tests/tmp/test-bundle.js"
=>
[
"tests/tmp"
].
concat
(
test_files
)
do
task
:install_browserify
do
if
`which npm`
.
empty?
puts
"You need NPM (for Browserify) to build the browser tests"
exit
1
end
if
`which browserify`
.
empty?
sh
"npm install browserify -g"
end
end
file
"tests/tmp/test-bundle.js"
=>
[
:install_browserify
,
"tests/tmp"
].
concat
(
test_files
)
do
sh
"browserify
#{
test_files
.
join
(
" "
)
}
> tests/tmp/test-bundle.js"
sh
"browserify
#{
test_files
.
join
(
" "
)
}
> tests/tmp/test-bundle.js"
end
end
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment