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

Created asmdef for sample + moved the sample to unity recommended directory (Samples~ instead of sample) #205

Merged
merged 11 commits into from
Jan 9, 2022
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@ jobs:
git branch -d upm &> /dev/null || echo upm branch not found # recreate the upm branch each time
git mv "$PKG_ROOT" "src/$UPM_ROOT"
git mv "src/$UPM_ROOT" .
git mv demo/Assets demo/Sample
git mv demo/Sample $UPM_ROOT
git mv demo/Assets demo/Samples~
git mv demo/Samples~ $UPM_ROOT
git mv doc Docs
git mv Docs $UPM_ROOT
git mv LICENSE $UPM_ROOT
Expand All @@ -33,11 +33,11 @@ jobs:
git commit -m "create release folder"
git subtree split -P "$UPM_ROOT" -b upm # create the upm branch
git checkout upm # checkout the branch
if [[ -d "Sample/Packages" ]]; then
git rm -rf Sample/Packages
git rm Sample/Packages.meta --ignore-unmatch
git rm Sample/packages.config
git rm Sample/packages.config.meta --ignore-unmatch
if [[ -d "Samples~/Packages" ]]; then
git rm -rf Samples~/Packages
git rm Samples~/Packages.meta --ignore-unmatch
git rm Samples~/packages.config
git rm Samples~/packages.config.meta --ignore-unmatch
fi
if [[ -d "Properties" ]]; then
git rm -rf Properties
Expand Down
16 changes: 16 additions & 0 deletions demo/Assets/Proyecto26.RestClient.Demo.asmdef
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "Proyecto26.RestClient.Demo",
"rootNamespace": "",
"references": [
"GUID:fbfbf4d8d5c249a458d69ae047a2fbd2"
],
"includePlatforms": [],
"excludePlatforms": [],
"allowUnsafeCode": false,
"overrideReferences": false,
"precompiledReferences": [],
"autoReferenced": true,
"defineConstraints": [],
"versionDefines": [],
"noEngineReferences": false
}
7 changes: 7 additions & 0 deletions demo/Assets/Proyecto26.RestClient.Demo.asmdef.meta

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/Proyecto26.RestClient/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
{
"displayName": "Sample",
"description": "RestClient Sample",
"path": "Sample"
"path": "Samples~"
}
]
}