Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio_mebibou
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
Alexandra Rogova
jio_mebibou
Commits
7478eb2a
Commit
7478eb2a
authored
Jan 10, 2013
by
Tristan Cavelier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile improved + jio.outro split to 2 files (jslint ok)
parent
c4165e2a
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
424 additions
and
381 deletions
+424
-381
Makefile
Makefile
+8
-5
src/jio/jio.core.js
src/jio/jio.core.js
+415
-0
src/jio/jio.outro.js
src/jio/jio.outro.js
+1
-376
No files found.
Makefile
View file @
7478eb2a
...
...
@@ -8,16 +8,19 @@ FILE_DIR = src/jio
STORAGE_DIR
=
src/jio.storage
# The order is important!
LINT_FILES
=
exceptions jio.intro storages/
*
commands/
*
jobs
/status/
*
jobs
/job announcements/announcement activityUpdater announcements/announcer
jobs
/jobIdHandler
jobs
/jobManager
jobs
/jobRules jio.outro jioNamespace
FILES
=
intro
$(LINT_FILES)
outro
STORAGE_FILES
=
*
CONCAT_NAMES
=
intro exceptions jio.intro storages/
*
commands/
*
jobs
/status/
*
jobs
/job announcements/announcement activityUpdater announcements/announcer
jobs
/jobIdHandler
jobs
/jobManager
jobs
/jobRules jio.core jio.outro jioNamespace outro
STORAGE_NAMES
=
*
LINT_NAMES
=
exceptions storages/
*
commands/
*
jobs
/status/
*
jobs
/
*
announcements/
*
activityUpdater jio.core jioNamespace
CONCAT_FILES
=
$
(
CONCAT_NAMES:%
=
$(FILE_DIR)
/%.js
)
LINT_FILES
=
$
(
LINT_NAMES:%
=
$(FILE_DIR)
/%.js
)
$
(
STORAGE_NAMES:%
=
$(STORAGE_DIR)
/%.js
)
auto
:
build lint
build
:
concat uglify
# concat source FILES to build jio.js
concat
:
cat
$
(
FILES:%
=
$(FILE_DIR)
/%.js
)
>
"
$(OUT)
"
cat
$(
CONCAT_FILES
)
>
"
$(OUT)
"
# uglify jio.js to build jio.min.js
uglify
:
...
...
@@ -30,7 +33,7 @@ uglify:
# /*jslint indent: 2, maxlen: 80 */
# /*global hex_sha256: true, jQuery: true */
lint
:
$(LINT_CMD)
$
(
LINT_FILES
:%
=
$(FILE_DIR)
/%.js
)
$(LINT_CMD)
$(LINT_FILES)
.phony
:
clean
clean
:
...
...
src/jio/jio.core.js
0 → 100644
View file @
7478eb2a
This diff is collapsed.
Click to expand it.
src/jio/jio.outro.js
View file @
7478eb2a
This diff is collapsed.
Click to expand it.
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