forked from binary-com/binary-static
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
771 changed files
with
45 additions
and
38,178 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,6 @@ | ||
css: | ||
- 'sass' | ||
- 'postcss' | ||
- 'embedFonts' | ||
- 'cssmin' | ||
|
||
js: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,6 @@ module.exports = function (grunt) { | |
}, | ||
], | ||
}, | ||
app_2: {}, | ||
get all() { | ||
return this.app; | ||
}, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,57 +7,33 @@ const release_targets = { | |
repo : '[email protected]:binary-com/binary-static.git', | ||
CNAME: 'staging.binary.com', | ||
}, | ||
binarynex: { | ||
repo : '[email protected]:binary-com/binarynex-deployed.git', | ||
CNAME: 'www.binarynex.com', | ||
}, | ||
}; | ||
|
||
/** | ||
* branch : the required branch that should be checked out when releasing | ||
* target_folder : the folder name in gh-pages to release to | ||
* valid_sections: the list of sections that can use for this release | ||
* origin : the required origin that local clone should point to (also the target repo to release to, when `target_repo` not available) | ||
* target_repo : the target repo to release to | ||
* CNAME : creates a CNAME file based on this entry to push alongside the release when needed | ||
*/ | ||
const release_config = { | ||
production: { | ||
branch : 'master', | ||
target_folder : '', | ||
valid_sections: ['app', 'app_2', 'all'], | ||
origin : release_targets.production.repo, | ||
CNAME : release_targets.production.CNAME, | ||
branch : 'master', | ||
target_folder: '', | ||
origin : release_targets.production.repo, | ||
CNAME : release_targets.production.CNAME, | ||
}, | ||
staging: { | ||
branch : 'master', | ||
target_folder : '', | ||
valid_sections: ['app', 'app_2', 'all'], | ||
origin : release_targets.staging.repo, | ||
CNAME : release_targets.staging.CNAME, | ||
branch : 'master', | ||
target_folder: '', | ||
origin : release_targets.staging.repo, | ||
CNAME : release_targets.staging.CNAME, | ||
}, | ||
translations: { | ||
branch : 'translations', | ||
target_folder : 'translations', | ||
valid_sections: ['app'], | ||
origin : release_targets.staging.repo, | ||
CNAME : release_targets.staging.CNAME, | ||
}, | ||
nex_production: { | ||
branch : 'master', | ||
target_folder : '', | ||
valid_sections: ['app_2'], | ||
origin : release_targets.staging.repo, | ||
target_repo : release_targets.binarynex.repo, | ||
CNAME : release_targets.binarynex.CNAME, | ||
}, | ||
nex_beta: { | ||
branch : 'master', | ||
target_folder : 'beta', | ||
valid_sections: ['app_2'], | ||
origin : release_targets.staging.repo, | ||
target_repo : release_targets.binarynex.repo, | ||
CNAME : release_targets.binarynex.CNAME, | ||
branch : 'translations', | ||
target_folder: 'translations', | ||
origin : release_targets.staging.repo, | ||
CNAME : release_targets.staging.CNAME, | ||
}, | ||
}; | ||
|
||
|
@@ -67,10 +43,8 @@ const node_modules_paths = { | |
}; | ||
|
||
const config = { | ||
branch_prefix : 'br_', | ||
valid_sections : ['all', 'app', 'app_2'], | ||
default_section: 'all', | ||
app_2_folder : 'app', | ||
branch_prefix: 'br_', | ||
section : 'app', | ||
}; | ||
|
||
module.exports = { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.