Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
J
jio
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
Hardik Juneja
jio
Commits
cd38c8b2
Commit
cd38c8b2
authored
Jan 18, 2016
by
Romain Courteaud
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Makefile: drop unused sections
parent
09b962bc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
81 deletions
+0
-81
Makefile
Makefile
+0
-81
No files found.
Makefile
View file @
cd38c8b2
...
@@ -2,14 +2,8 @@
...
@@ -2,14 +2,8 @@
QUERIES_DIR
=
src/queries
QUERIES_DIR
=
src/queries
# files
# files
JIO
=
jio.js
JIO_MIN
=
jio.min.js
JIODATE_MIN
=
jiodate.min.js
PARSER_PAR
=
$(QUERIES_DIR)
/core/parser.par
PARSER_PAR
=
$(QUERIES_DIR)
/core/parser.par
PARSER_OUT
=
$(QUERIES_DIR)
/build/parser.js
PARSER_OUT
=
$(QUERIES_DIR)
/build/parser.js
UGLIFY
=
./node_modules/grunt-contrib-uglify/node_modules/uglify-js/bin/uglifyjs
ZIP_FULL
=
jio.zip
ZIP_MINI
=
jio-min.zip
# npm install jscc-node
# npm install jscc-node
JSCC_CMD
=
node ./node_modules/jscc-node/jscc.js
-t
./node_modules/jscc-node/driver_node.js_
JSCC_CMD
=
node ./node_modules/jscc-node/jscc.js
-t
./node_modules/jscc-node/driver_node.js_
...
@@ -20,84 +14,9 @@ compile:
...
@@ -20,84 +14,9 @@ compile:
mkdir
-p
$(
dir
$(PARSER_OUT)
)
mkdir
-p
$(
dir
$(PARSER_OUT)
)
$(JSCC_CMD)
-o
$(PARSER_OUT)
$(PARSER_PAR)
$(JSCC_CMD)
-o
$(PARSER_OUT)
$(PARSER_PAR)
TMPDIR
:=
$(
shell
mktemp
-d
)
zip
:
@
echo
"Preparing
$(ZIP_FULL)
"
@
mkdir
$(TMPDIR)
/jio
@
mkdir
$(TMPDIR)
/jio/storage
@
cp
jio.js
$(TMPDIR)
/jio/
@
cp
src/sha1.amd.js
$(TMPDIR)
/jio/
@
cp
src/sha2.amd.js
$(TMPDIR)
/jio/
@
cp
src/sha256.amd.js
$(TMPDIR)
/jio/
@
cp
src/jio.date/jiodate.js
$(TMPDIR)
/jio/
@
cp
lib/rsvp/rsvp-custom.js
$(TMPDIR)
/jio/
@
cp
lib/rsvp/rsvp-custom.amd.js
$(TMPDIR)
/jio/
@
cp
lib/jquery/jquery.js
$(TMPDIR)
/jio/
@
cp
lib/require/require.js
$(TMPDIR)
/jio/
@
cp
src/jio.storage/localstorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/davstorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/dropboxstorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/erp5storage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/indexstorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/gidstorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/replicatestorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/splitstorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/cryptstorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/gdrivestorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/revisionstorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/zipstorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/websqlstorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/replicaterevisionstorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/s3storage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/splitstorage.js
$(TMPDIR)
/jio/storage/
@
cp
src/jio.storage/xwikistorage.js
$(TMPDIR)
/jio/storage/
@
cd
$(TMPDIR)
&&
zip
-q
$(ZIP_FULL)
-r
jio
@
mv
$(TMPDIR)
/
$(ZIP_FULL)
./
@
rm
-rf
$(TMPDIR)
/jio
@
echo
"Preparing
$(ZIP_MINI)
"
@
mkdir
$(TMPDIR)
/jio
@
mkdir
$(TMPDIR)
/jio/storage
@
echo
"Minimizing JS..."
@
cp
jio.min.js
$(TMPDIR)
/jio/
@
cp
jio.min.map
$(TMPDIR)
/jio/
@
cp
jiodate.min.js
$(TMPDIR)
/jio/
@
cp
jiodate.min.map
$(TMPDIR)
/jio/
@
$(UGLIFY)
src/sha1.amd.js
>
$(TMPDIR)
/jio/sha1.amd.min.js 2>/dev/null
@
$(UGLIFY)
src/sha2.amd.js
>
$(TMPDIR)
/jio/sha2.amd.min.js 2>/dev/null
@
$(UGLIFY)
src/sha256.amd.js
>
$(TMPDIR)
/jio/sha256.amd.min.js 2>/dev/null
@
$(UGLIFY)
lib/rsvp/rsvp-custom.js
>
$(TMPDIR)
/jio/rsvp-custom.min.js 2>/dev/null
@
$(UGLIFY)
lib/rsvp/rsvp-custom.amd.js
>
$(TMPDIR)
/jio/rsvp-custom.amd.min.js 2>/dev/null
@
cp
lib/jquery/jquery.min.js
$(TMPDIR)
/jio/
@
$(UGLIFY)
lib/require/require.js
>
$(TMPDIR)
/jio/require.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/localstorage.js
>
$(TMPDIR)
/jio/storage/localstorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/davstorage.js
>
$(TMPDIR)
/jio/storage/davstorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/dropboxstorage.js
>
$(TMPDIR)
/jio/storage/dropboxstorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/websqlstorage.js
>
$(TMPDIR)
/jio/storage/websqlstorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/erp5storage.js
>
$(TMPDIR)
/jio/storage/erp5storage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/indexstorage.js
>
$(TMPDIR)
/jio/storage/indexstorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/gidstorage.js
>
$(TMPDIR)
/jio/storage/gidstorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/replicatestorage.js
>
$(TMPDIR)
/jio/storage/replicatestorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/splitstorage.js
>
$(TMPDIR)
/jio/storage/splitstorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/cryptstorage.js
>
$(TMPDIR)
/jio/storage/cryptstorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/gdrivestorage.js
>
$(TMPDIR)
/jio/storage/gdrivestorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/revisionstorage.js
>
$(TMPDIR)
/jio/storage/revisionstorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/replicaterevisionstorage.js
>
$(TMPDIR)
/jio/storage/replicaterevisionstorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/zipstorage.js
>
$(TMPDIR)
/jio/storage/zipstorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/s3storage.js
>
$(TMPDIR)
/jio/storage/s3storage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/splitstorage.js
>
$(TMPDIR)
/jio/storage/splitstorage.min.js 2>/dev/null
@
$(UGLIFY)
src/jio.storage/xwikistorage.js
>
$(TMPDIR)
/jio/storage/xwikistorage.min.js 2>/dev/null
@
cd
$(TMPDIR)
&&
zip
-q
$(ZIP_MINI)
-r
jio
@
mv
$(TMPDIR)
/
$(ZIP_MINI)
./
@
rm
-rf
$(TMPDIR)
.phony
:
clean
.phony
:
clean
clean
:
clean
:
find
-name
'*~'
-delete
find
-name
'*~'
-delete
realclean
:
realclean
:
rm
-f
"
$(JIO)
"
rm
-f
"
$(JIO_MIN)
"
rm
-f
"
$(JIODATE_MIN)
"
rm
-f
"
$(PARSER_OUT)
"
rm
-f
"
$(PARSER_OUT)
"
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