Add local_config, git ignore local config, and add exmaple file, for deployments

This commit is contained in:
Amrit Panesar committed 2016-11-05 19:36:40 -07:00
1 parent d928379480
commit 4dcc8f52a9
3 files changed
+14 -1

No files matched your search

+1
View File
@@ -1,6 +1,7 @@
# Created by https://www.gitignore.io/api/osx,windows,git,c,c++,visualstudio,visualstudiocode,sublimetext,netbeans,intellij,sublimetext,cmake,codeblocks,assembler,atmelstudio,eclipse,jetbrains,linux,macos
bin/
.local_config
### Intellij ###
# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm
+10
View File
@@ -0,0 +1,10 @@
#!/bin/bash
###############################################################################
# .local_config
###############################################################################
#
#
export DeployDirectory='/Volumes/boot/'
export DeployDevice='/Volumes/boot'
+3 -1
View File
@@ -1,3 +1,5 @@
#!/bin/bash
cp bin/kernel.img /Volumes/boot/ && sudo umount /Volumes/boot
source .local_config
cp bin/kernel.img $DeployDirectory && sudo umount $DeployDevice