https://github.com/icanzilb/donildisturbplugin
A plugin for your Xcode project that stops you from working outside work hours
https://github.com/icanzilb/donildisturbplugin
plugin swift xcode14
Last synced: 10 months ago
JSON representation
A plugin for your Xcode project that stops you from working outside work hours
- Host: GitHub
- URL: https://github.com/icanzilb/donildisturbplugin
- Owner: icanzilb
- License: mit
- Created: 2022-06-15T20:18:15.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-10T14:17:39.000Z (over 3 years ago)
- Last Synced: 2025-04-06T16:39:47.681Z (10 months ago)
- Topics: plugin, swift, xcode14
- Language: Swift
- Homepage:
- Size: 87.9 KB
- Stars: 109
- Watchers: 2
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# DoNilDisturb Swift Plugin
Use Xcode 14+ to make use of this amazing and novel Swift plugin in your package.
The plugin stops you from working on your 9-5 project outside of 9-5 hours:

Add this to your dependencies in your Package.swift:
```swift
.package(url: "https://github.com/icanzilb/DoNilDisturbPlugin.git", from: "0.0.2"),
```
**And then**, add the plugin in your target definition(still in Package.swift:
```swift
.target(
name: "MyTarget",
plugins: [
.plugin(name: "DoNilDisturbPlugin", package: "DoNilDisturbPlugin")
]
)
```
That's all. Your target will fail to build outside of working hours.
Enjoy your time off work.
## Public Holidays support
Grab an **.ics** file containing the public holidays for your locality. For example, grab this one for Spanish holidays: https://www.officeholidays.com/ics-clean/spain
Save the calendar file under your project's root directory in a sub-directory called `.config/DoNilDisturb`
The plugin will now respect your holidays:

## License
MIT, of course.