Skip to content

Commit 001b54f

Browse files
committed
Refactor code samples exclusion from nativescript
1 parent 1f8b726 commit 001b54f

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

build/_config.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,6 @@ source: ./Content
55
# Release date in the format of: YYYY-MM-DD
66
release_date: "2016-11-16"
77

8-
# Exclude files which should not be in the output
9-
exclude: [Gemfile,Gemfile.lock,README.md,node_modules,dist]
108
navigation:
119
## List your directory names and order here, like this:
1210
start:

build/_config_angular.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@ baseurl: "/angular"
99
nsselected: ""
1010
ngselected: "selected"
1111

12+
# Exclude files which should not be in the output
13+
exclude: [Gemfile,Gemfile.lock,README.md,node_modules,dist]
14+
1215
# The google services configuration
1316
google_tag_manager: GTM-W58JDD
1417
google_custom_search: '001595215763381649090:asl7kpbijam'

build/_config_nativescript.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ destination: ./dist
44

55
## The application virtual path
66
baseurl: ""
7-
7+
# Exclude files which should not be in the output
8+
exclude: [Gemfile,Gemfile.lock,README.md,node_modules,dist, code-samples]
89
## The highlighting in the header
910
nsselected: "selected"
1011
ngselected: ""

build/build.sh

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,7 @@ fetchExternals=${FETCH_EXTERNALS:=}
1717

1818
# Run "nativescript" build first since Jekyll wipes its target dir and
1919
# would wipe the "angular" output subdir
20-
mv ./Content/code-samples ./code-samples
2120
./build-jekyll.sh "nativescript"
22-
mv ./code-samples ./Content/code-samples
2321
./build-jekyll.sh "angular"
2422

2523
extract_postbuild_dependencies

0 commit comments

Comments
 (0)