Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
R
renderjs
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
Ivan Tyagov
renderjs
Commits
28a6dc1e
Commit
28a6dc1e
authored
Jul 08, 2013
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Automate external libs download
parent
7bacc24c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
2 deletions
+23
-2
Makefile
Makefile
+23
-2
No files found.
Makefile
View file @
28a6dc1e
...
...
@@ -5,7 +5,28 @@ BUILDDIR = tmp
include
config.mk
all
:
lint test build doc
all
:
external lint test build doc
#########################################
# Download external lib
#########################################
# Download all external libs
external
:
lib/sinon/sinon.js
\
lib/jquery/jquery.js
\
lib/qunit/qunit.js
\
lib/qunit/qunit.css
lib/sinon/sinon.js
:
@
mkdir
-p
$
(
@D
)
curl
-s
-o
$@
http://sinonjs.org/releases/sinon-1.7.3.js
lib/jquery/jquery.js
:
@
mkdir
-p
$
(
@D
)
curl
-s
-o
$@
http://code.jquery.com/jquery-2.0.3.js
lib/qunit/qunit.%
:
@
mkdir
-p
$
(
@D
)
curl
-s
-o
$@
http://code.jquery.com/qunit/qunit-1.12.0
$(
suffix
$@
)
$(RENDERJS_MIN)
:
$(RENDERJS)
$(UGLIFY_CMD)
"
$<
"
>
"
$@
"
...
...
@@ -28,4 +49,4 @@ lint: ${BUILDDIR}/$(RENDERJS).lint
doc
:
$(YUIDOC_CMD)
.
clean
:
rm
-rf
$(RENDERJS_MIN)
${BUILDDIR}
rm
-rf
$(RENDERJS_MIN)
${BUILDDIR}
lib/sinon lib/jquery lib/qunit
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