Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
local-cdn
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
eterfund
local-cdn
Commits
eaebdb3c
Commit
eaebdb3c
authored
Nov 29, 2017
by
Дмитрий Никулин
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change naming rules: .js -> non-minified, .min.js -> minified, remove .development
parent
c383d865
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
functions.sh
functions.sh
+1
-2
No files found.
functions.sh
View file @
eaebdb3c
...
@@ -88,11 +88,10 @@ create_dist_link () {
...
@@ -88,11 +88,10 @@ create_dist_link () {
#fi
#fi
if
[
"
$main_file_minified
"
!=
"-"
]
;
then
if
[
"
$main_file_minified
"
!=
"-"
]
;
then
copy_and_print
"
$library_base
/
$main_file_minified
"
"
$public_base
/
$library
.min.js"
copy_and_print
"
$library_base
/
$main_file_minified
"
"
$public_base
/
$library
.min.js"
copy_and_print
"
$public_base
/
$library
.min.js"
"
$public_base
/
$library
.js"
fi
;
fi
;
if
[
"
$main_file
"
!=
"-"
]
;
then
if
[
"
$main_file
"
!=
"-"
]
;
then
copy_and_print
"
$library_base
/
$main_file
"
"
$public_base
/
$library
.
development.
js"
copy_and_print
"
$library_base
/
$main_file
"
"
$public_base
/
$library
.js"
fi
fi
add_custom_links
"
$library
"
"
$version
"
add_custom_links
"
$library
"
"
$version
"
}
}
...
...
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