Skip to content

Commit

Permalink
update project hierarchy
Browse files Browse the repository at this point in the history
  • Loading branch information
bhl09 committed Apr 3, 2020
1 parent 11aac44 commit 8035017
Show file tree
Hide file tree
Showing 143 changed files with 191 additions and 34 deletions.
6 changes: 3 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,6 @@ pubspec.lock
# If you don't generate documentation locally you can remove this line.
doc/api/
device_calendar.code-workspace
device_calendar/example/.flutter-plugins-dependencies
device_calendar/example/ios/Flutter/flutter_export_environment.sh
device_calendar/example/ios/Flutter/Flutter.podspec
example/.flutter-plugins-dependencies
example/ios/Flutter/flutter_export_environment.sh
example/ios/Flutter/Flutter.podspec
2 changes: 1 addition & 1 deletion device_calendar/CHANGELOG.md → CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
## 3.2.0

* Added time zone support
* Project clean up
* Project directory and code clean up

## 3.1.0 6th March 2020 - Bug fixes and new features

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
26 changes: 13 additions & 13 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,13 +31,13 @@ stages:
displayName: 'Flutter build - Android'
inputs:
target: 'aab'
projectDirectory: 'device_calendar/example'
projectDirectory: 'example'

- task: FlutterBuild@0
displayName: 'Flutter build - iOS'
inputs:
target: 'ios'
projectDirectory: 'device_calendar/example'
projectDirectory: 'example'
iosCodesign: false

# -----------CD Pre-release -----------
Expand All @@ -60,10 +60,10 @@ stages:
inputs:
targetType: 'inline'
script: |
[string] $version = select-string -path "$(Build.SourcesDirectory)/device_calendar/pubspec.yaml" -pattern "$(versionNumberRegex)" | %{ $_.Matches[0].Value }
[string] $version = select-string -path "$(Build.SourcesDirectory)/pubspec.yaml" -pattern "$(versionNumberRegex)" | %{ $_.Matches[0].Value }
Write-Host "##vso[task.setvariable variable=currentVersion]$version"
[string] $pubspecContent = Get-Content -Path "$(Build.SourcesDirectory)/device_calendar/pubspec.yaml" -Raw
[string] $pubspecContent = Get-Content -Path "$(Build.SourcesDirectory)/pubspec.yaml" -Raw
Write-Host " (i) Current version: $version"
Write-Host " (i) Original pubspec.yaml content: $pubspecContent"
Expand All @@ -74,14 +74,14 @@ stages:
Write-Host " (i) Updated pubspec.yaml content: $newPubspecContent"
$newPubspecContent | Set-Content -Path "$(Build.SourcesDirectory)/device_calendar/pubspec.yaml"
$newPubspecContent | Set-Content -Path "$(Build.SourcesDirectory)/pubspec.yaml"
- task: PowerShell@2
displayName: 'Pre-release versioning - CHANGELOG.md'
inputs:
targetType: 'inline'
script: |
[string] $changelogContent = Get-Content -Path "$(Build.SourcesDirectory)/device_calendar/CHANGELOG.md" -Raw
[string] $changelogContent = Get-Content -Path "$(Build.SourcesDirectory)/CHANGELOG.md" -Raw
Write-Host " (i) Current version: $env.currentVersion"
Write-Host " (i) Original CHANGELOG.md content: $changelogContent"
Expand All @@ -90,7 +90,7 @@ stages:
Write-Host " (i) Updated CHANGELOG.md content: $newChangelogContent"
$newChangelogContent | Set-Content -Path "$(Build.SourcesDirectory)/device_calendar/CHANGELOG.md"
$newChangelogContent | Set-Content -Path "$(Build.SourcesDirectory)/CHANGELOG.md"
- task: PowerShell@2
displayName: 'Create publisher credentials file'
Expand All @@ -112,13 +112,13 @@ stages:
- task: CmdLine@2
displayName: 'Dry run publish'
inputs:
workingDirectory: '$(Build.SourcesDirectory)/device_calendar'
workingDirectory: '$(Build.SourcesDirectory)'
script: '$(flutterExecPath) pub publish --dry-run'

- task: CmdLine@2
displayName: 'Publish'
inputs:
workingDirectory: '$(Build.SourcesDirectory)/device_calendar'
workingDirectory: '$(Build.SourcesDirectory)'
script: '$(flutterExecPath) pub publish --force'

# ----------- CD Production -----------
Expand All @@ -141,7 +141,7 @@ stages:
inputs:
targetType: 'inline'
script: |
[string] $version = select-string -path "$(Build.SourcesDirectory)/device_calendar/pubspec.yaml" -pattern "$(versionNumberRegex)" | %{ $_.Matches[0].Value }
[string] $version = select-string -path "$(Build.SourcesDirectory)/pubspec.yaml" -pattern "$(versionNumberRegex)" | %{ $_.Matches[0].Value }
Write-Host "##vso[task.setvariable variable=currentVersion]$version"
Expand All @@ -150,7 +150,7 @@ stages:
inputs:
targetType: 'inline'
script: |
[string] $summary = select-string -path "$(Build.SourcesDirectory)/device_calendar/CHANGELOG.md" -pattern "($([regex]::escape($env:currentVersion))).*" | %{ $_.Matches[0].Value }
[string] $summary = select-string -path "$(Build.SourcesDirectory)/CHANGELOG.md" -pattern "($([regex]::escape($env:currentVersion))).*" | %{ $_.Matches[0].Value }
Write-Host "##vso[task.setvariable variable=versionSummary]$summary"
Expand All @@ -174,13 +174,13 @@ stages:
- task: CmdLine@2
displayName: 'Dry run publish'
inputs:
workingDirectory: '$(Build.SourcesDirectory)/device_calendar'
workingDirectory: '$(Build.SourcesDirectory)'
script: '$(flutterExecPath) pub publish --dry-run'

- task: CmdLine@2
displayName: 'Publish'
inputs:
workingDirectory: '$(Build.SourcesDirectory)/device_calendar'
workingDirectory: '$(Build.SourcesDirectory)'
script: '$(flutterExecPath) pub publish --force'

- task: GitHubReleasePublish@1
Expand Down
File renamed without changes.
17 changes: 0 additions & 17 deletions device_calendar/.gitignore

This file was deleted.

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Binary file not shown.
116 changes: 116 additions & 0 deletions example/android/.idea/codeStyles/Project.xml

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

21 changes: 21 additions & 0 deletions example/android/.idea/gradle.xml

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

9 changes: 9 additions & 0 deletions example/android/.idea/misc.xml

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

10 changes: 10 additions & 0 deletions example/android/.idea/modules.xml

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

12 changes: 12 additions & 0 deletions example/android/.idea/runConfigurations.xml

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

6 changes: 6 additions & 0 deletions example/android/.idea/vcs.xml

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

File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 8035017

Please sign in to comment.