Skip to content
Merged
Show file tree
Hide file tree
Changes from 3 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
1 change: 1 addition & 0 deletions packages/create-react-native-library/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -657,6 +657,7 @@ async function create(_argv: yargs.Arguments<any>) {
repo: repoUrl,
example,
year: new Date().getFullYear(),
local,
};

const copyDir = async (source: string, dest: string) => {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ module.exports = {
dependency: {
platforms: {
android: {
<%_ if (local) { -%>
cmakeListsPath: 'build/generated/source/codegen/jni/CMakeLists.txt',
<%_ } else { -%>
cmakeListsPath: 'generated/jni/CMakeLists.txt',
<%_ } -%>
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ module.exports = {
dependency: {
platforms: {
android: {
<%_ if (local) { -%>
cmakeListsPath: 'build/generated/source/codegen/jni/CMakeLists.txt',
<%_ } else { -%>
cmakeListsPath: 'generated/jni/CMakeLists.txt',
<%_ } -%>
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ module.exports = {
dependency: {
platforms: {
android: {
<%_ if (local) { -%>
cmakeListsPath: 'build/generated/source/codegen/jni/CMakeLists.txt',
<%_ } else { -%>
cmakeListsPath: 'generated/jni/CMakeLists.txt',
<%_ } -%>
},
},
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,11 @@ module.exports = {
dependency: {
platforms: {
android: {
<%_ if (local) { -%>
cmakeListsPath: 'build/generated/source/codegen/jni/CMakeLists.txt',
<%_ } else { -%>
cmakeListsPath: 'generated/jni/CMakeLists.txt',
<%_ } -%>
},
},
},
Expand Down
Loading