@wesbillman/locker
v0.0.7
Published
A nice place to store iOS frameworks
Downloads
14
Maintainers
Readme
Locker
Locker is simple tool for syncing files and folders between your local machine and "lockers". Available lockers are:
- Amazon S3
- Local folder
Why?
On many software projects there is a need to version large files outside of git (or other version control systems). Locker solves this problem by providing a way to version raw files and folders and store them to a shared locker. Once a version is pushed to locker other team members can pull down the exact "bundle" of dependencies to ensure everyone is using the same shared data
Getting Started
Create a Lockerfile
at the root of your project. This can be done manually or via the locker init
command.
Typical workflows
Updating locker files
- Update your dependencies. Add any versioned files you want to store in locker.
- Add any new
files
orfolders
to yourLockerfile
- Update the
version
field in yourLockerfile
- Commit
Lockerfile
changes to git - Use
locker push
to push your new files
Getting files from a locker
- Use
locker pull
to pull down changes from your locker
Lockerfile
# unique id for this bundle
version: 1.0.0
# locations to store the bundles
lockers:
local: ~/Library/Caches/Locker
s3: your-bucket-name
# specify the directories and files you'd like to store
gear:
folders:
- Carthage/Build/iOS
- Vendor
files:
- codecov.yml