Merge pull request #3 from daveverwer/main Possible typo in the package name
Merge pull request #3 from daveverwer/main
Possible typo in the package name
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:
.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:
.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.
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
.config/DoNilDisturb
The plugin will now respect your holidays:
MIT, of course.
版权所有:中国计算机学会技术支持:开源发展技术委员会 京ICP备13000930号-9 京公网安备 11010802032778号
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:
And then, add the plugin in your target definition(still in Package.swift:
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/DoNilDisturbThe plugin will now respect your holidays:
License
MIT, of course.