Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛: prebuild時に.始まりのファイル(.gitignoreなど)がコピーされてない問題を修正 #1225

Merged
merged 5 commits into from
Sep 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 8 additions & 8 deletions example-app/SantokuApp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,14 @@
"postprebuild:stg": "run-p copy:stg:*",
"postprebuild:prod": "run-p copy:prod:*",
"build:plugin": "rimraf config/plugin/build && tsc --build config/plugin",
"copy:local:android": "rimraf prebuild/local/android && cpx \"android/**\" prebuild/local/android",
"copy:local:ios": "rimraf prebuild/local/ios && cpx \"ios/**\" prebuild/local/ios",
"copy:dev:android": "rimraf prebuild/dev/android && cpx \"android/**\" prebuild/dev/android",
"copy:dev:ios": "rimraf prebuild/dev/ios && cpx \"ios/**\" prebuild/dev/ios",
"copy:stg:android": "rimraf prebuild/stg/android && cpx \"android/**\" prebuild/stg/android",
"copy:stg:ios": "rimraf prebuild/stg/ios && cpx \"ios/**\" prebuild/stg/ios",
"copy:prod:android": "rimraf prebuild/prod/android && cpx \"android/**\" prebuild/prod/android",
"copy:prod:ios": "rimraf prebuild/prod/ios && cpx \"ios/**\" prebuild/prod/ios",
"copy:local:android": "rimraf prebuild/local/android && cpx \"android/**/{.*,*}\" prebuild/local/android",
in-a-paddy marked this conversation as resolved.
Show resolved Hide resolved
"copy:local:ios": "rimraf prebuild/local/ios && cpx \"ios/**/{.*,*}\" prebuild/local/ios",
"copy:dev:android": "rimraf prebuild/dev/android && cpx \"android/**/{.*,*}\" prebuild/dev/android",
"copy:dev:ios": "rimraf prebuild/dev/ios && cpx \"ios/**/{.*,*}\" prebuild/dev/ios",
"copy:stg:android": "rimraf prebuild/stg/android && cpx \"android/**/{.*,*}\" prebuild/stg/android",
"copy:stg:ios": "rimraf prebuild/stg/ios && cpx \"ios/**/{.*,*}\" prebuild/stg/ios",
"copy:prod:android": "rimraf prebuild/prod/android && cpx \"android/**/{.*,*}\" prebuild/prod/android",
"copy:prod:ios": "rimraf prebuild/prod/ios && cpx \"ios/**/{.*,*}\" prebuild/prod/ios",
"test:coverage": "jest --runInBand --forceExit --coverage",
"test:report": "jest --runInBand --forceExit --reporters=default --reporters=jest-junit --coverage",
"lint": "run-s --print-name --continue-on-error lint:*",
Expand Down
15 changes: 15 additions & 0 deletions example-app/SantokuApp/prebuild/dev/android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# OSX
#
.DS_Store

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml
*.hprof

# Bundle artifacts
*.jsbundle
30 changes: 30 additions & 0 deletions example-app/SantokuApp/prebuild/dev/ios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
.xcode.env.local

# Bundle artifacts
*.jsbundle

# CocoaPods
/Pods/
11 changes: 11 additions & 0 deletions example-app/SantokuApp/prebuild/dev/ios/.xcode.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This `.xcode.env` file is versioned and is used to source the environment
# used when running script phases inside Xcode.
# To customize your local environment, you can create an `.xcode.env.local`
# file that is not versioned.

# NODE_BINARY variable contains the PATH to the node executable.
#
# Customize the NODE_BINARY variable here.
# For example, to use nvm with brew, add the following line
# . "$(brew --prefix nvm)/nvm.sh" --no-use
export NODE_BINARY=$(command -v node)
15 changes: 15 additions & 0 deletions example-app/SantokuApp/prebuild/local/android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# OSX
#
.DS_Store

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml
*.hprof

# Bundle artifacts
*.jsbundle
30 changes: 30 additions & 0 deletions example-app/SantokuApp/prebuild/local/ios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
.xcode.env.local

# Bundle artifacts
*.jsbundle

# CocoaPods
/Pods/
11 changes: 11 additions & 0 deletions example-app/SantokuApp/prebuild/local/ios/.xcode.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This `.xcode.env` file is versioned and is used to source the environment
# used when running script phases inside Xcode.
# To customize your local environment, you can create an `.xcode.env.local`
# file that is not versioned.

# NODE_BINARY variable contains the PATH to the node executable.
#
# Customize the NODE_BINARY variable here.
# For example, to use nvm with brew, add the following line
# . "$(brew --prefix nvm)/nvm.sh" --no-use
export NODE_BINARY=$(command -v node)
15 changes: 15 additions & 0 deletions example-app/SantokuApp/prebuild/prod/android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# OSX
#
.DS_Store

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml
*.hprof

# Bundle artifacts
*.jsbundle
30 changes: 30 additions & 0 deletions example-app/SantokuApp/prebuild/prod/ios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
.xcode.env.local

# Bundle artifacts
*.jsbundle

# CocoaPods
/Pods/
11 changes: 11 additions & 0 deletions example-app/SantokuApp/prebuild/prod/ios/.xcode.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This `.xcode.env` file is versioned and is used to source the environment
# used when running script phases inside Xcode.
# To customize your local environment, you can create an `.xcode.env.local`
# file that is not versioned.

# NODE_BINARY variable contains the PATH to the node executable.
#
# Customize the NODE_BINARY variable here.
# For example, to use nvm with brew, add the following line
# . "$(brew --prefix nvm)/nvm.sh" --no-use
export NODE_BINARY=$(command -v node)
15 changes: 15 additions & 0 deletions example-app/SantokuApp/prebuild/stg/android/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# OSX
#
.DS_Store

# Android/IntelliJ
#
build/
.idea
.gradle
local.properties
*.iml
*.hprof

# Bundle artifacts
*.jsbundle
30 changes: 30 additions & 0 deletions example-app/SantokuApp/prebuild/stg/ios/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# OSX
#
.DS_Store

# Xcode
#
build/
*.pbxuser
!default.pbxuser
*.mode1v3
!default.mode1v3
*.mode2v3
!default.mode2v3
*.perspectivev3
!default.perspectivev3
xcuserdata
*.xccheckout
*.moved-aside
DerivedData
*.hmap
*.ipa
*.xcuserstate
project.xcworkspace
.xcode.env.local

# Bundle artifacts
*.jsbundle

# CocoaPods
/Pods/
11 changes: 11 additions & 0 deletions example-app/SantokuApp/prebuild/stg/ios/.xcode.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# This `.xcode.env` file is versioned and is used to source the environment
# used when running script phases inside Xcode.
# To customize your local environment, you can create an `.xcode.env.local`
# file that is not versioned.

# NODE_BINARY variable contains the PATH to the node executable.
#
# Customize the NODE_BINARY variable here.
# For example, to use nvm with brew, add the following line
# . "$(brew --prefix nvm)/nvm.sh" --no-use
export NODE_BINARY=$(command -v node)