forked from PopcornTimeCommunity/desktop
-
Notifications
You must be signed in to change notification settings - Fork 2
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
36 changed files
with
24,028 additions
and
18,464 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
# Javascript Node CircleCI 2.0 configuration file | ||
# | ||
# Check https://circleci.com/docs/2.0/language-javascript/ for more details | ||
# | ||
version: 2 | ||
general: | ||
branches: | ||
only: | ||
- master # list of branches to build | ||
- develop | ||
- /feature.*/ # or regexes | ||
jobs: | ||
build: | ||
docker: | ||
# specify the version you desire here | ||
- image: circleci/node:8.2.1 | ||
|
||
# Specify service dependencies here if necessary | ||
# CircleCI maintains a library of pre-built images | ||
# documented at https://circleci.com/docs/2.0/circleci-images/ | ||
# - image: circleci/mongo:3.4.4 | ||
|
||
working_directory: ~/repo | ||
|
||
steps: | ||
- checkout | ||
|
||
# Download and cache dependencies | ||
- restore_cache: | ||
keys: | ||
- v1-dependencies-{{ checksum "package.json" }} | ||
- v1-nodecache-{{ checksum "gulpfile.js" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- v1-dependencies- | ||
|
||
- run: npm install | ||
- run: sudo npm install -g gulp | ||
|
||
# run tests! | ||
#- run: gulp build linux32,linux64,win32 | ||
- run: gulp build -p linux32,linux64,win32,win64 | ||
|
||
- deploy: | ||
command: gulp zip | ||
|
||
#store cache dependencies | ||
- save_cache: | ||
paths: | ||
- node_modules | ||
key: v1-dependencies-{{ checksum "package.json" }} | ||
|
||
- save_cache: | ||
paths: | ||
- cache | ||
key: v1-nodecache-{{ checksum "gulpfile.js" }} | ||
|
||
- store_artifacts: | ||
path: ~/repo/dist | ||
|
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 |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"js": { | ||
"brace_style": "collapse", | ||
"break_chained_methods": false, | ||
"e4x": false, | ||
"eval_code": false, | ||
"indent_level": 0, | ||
"indent_with_tabs": false, | ||
"indent_size": 4, | ||
"indent_char": " ", | ||
"jslint_happy": true, | ||
"keep_array_indentation": false, | ||
"keep_function_indentation": false, | ||
"max_preserve_newlines": 3, | ||
"preserve_newlines": true, | ||
"space_before_conditional": true, | ||
"space-after-anon-function": true, | ||
"space_in_paren": false, | ||
"unescape_strings": true, | ||
"wrap_line_length": 0, | ||
"allowed_file_extensions": ["js", "json", "jshintrc", "jsbeautifyrc"] | ||
} | ||
} |
Oops, something went wrong.