Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
renderjs
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
1
Merge Requests
1
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
nexedi
renderjs
Commits
3f1b27e6
Commit
3f1b27e6
authored
Feb 01, 2013
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allow jslint form command line.
parent
c0c383b2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletion
+7
-1
Makefile
Makefile
+4
-0
README
README
+3
-1
No files found.
Makefile
View file @
3f1b27e6
...
...
@@ -4,6 +4,7 @@ RENDERJS_MIN = renderjs.min.js
# npm install uglify-js
UGLIFY_CMD
=
$(
shell
which uglifyjs
||
echo
node ~/node_modules/uglify-js/bin/uglifyjs
)
LINT_CMD
=
$(
shell
which jslint
||
echo
node ~/node_modules/jslint/bin/jslint.js
)
--terse
auto
:
build
build
:
uglify
...
...
@@ -11,6 +12,9 @@ build: uglify
uglify
:
$(UGLIFY_CMD)
"
$(RENDERJS)
"
>
"
$(RENDERJS_MIN)
"
lint
:
$(LINT_CMD)
$(RENDERJS)
clean
:
find
-name
'*~'
-delete
find
-name
'renderjs.min.js'
-delete
...
...
README
View file @
3f1b27e6
...
...
@@ -13,4 +13,6 @@ Developer
> git clone https://git.erp5.org/repos/renderjs.git
> make (will produce a minified version for now, requires nodejs installed as well its uglifyjs module)
\ No newline at end of file
> make (will produce a minified version for now, requires nodejs installed as well its uglifyjs module)
> make lint (will produce a jslint report, requires nodejs installed as well its jslint module)
\ No newline at end of file
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