Skip to content

Commit

Permalink
Feat: Sitemap inlucding (#5)
Browse files Browse the repository at this point in the history
* feat: clone sitemap

* chore: format

* chore: submodule
  • Loading branch information
GuangChen2333 authored Nov 24, 2024
1 parent e33636f commit a4cfd10
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[submodule "data"]
path = data
url = https://github.com/GuangChen2333/CanWeTalkSimplyData.git
branch = sitemap
8 changes: 8 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@
{
"glob": "**/*",
"input": "public"
},
{
"glob": "**/*",
"input": "data"
}
],
"styles": [
Expand Down Expand Up @@ -90,6 +94,10 @@
{
"glob": "**/*",
"input": "public"
},
{
"glob": "**/*",
"input": "data"
}
],
"styles": [
Expand Down
1 change: 1 addition & 0 deletions data
Submodule data added at 854df0
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@
"scripts": {
"ng": "ng",
"start": "ng serve",
"build": "ng build",
"build:prod": "ng build -c production",
"build": "git submodule update --init --recursive && ng build",
"build:prod": "git submodule update --init --recursive && ng build -c production",
"watch": "ng build --watch --configuration development",
"test": "ng test"
},
Expand Down

0 comments on commit a4cfd10

Please sign in to comment.