diff --git a/.gitignore b/.gitignore index 7d4a77f..e0be75b 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ # 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 -scripts/deploy.sh bin/ ### Intellij ### diff --git a/bare-metal-pi.sublime-project b/bare-metal-pi.sublime-project index 24db303..639be88 100644 --- a/bare-metal-pi.sublime-project +++ b/bare-metal-pi.sublime-project @@ -4,5 +4,20 @@ { "path": "." } - ] + ], + "build_systems": + [ + { + "name": "Configure", + "shell_cmd": "./configure" + }, + { + "name": "Make", + "shell_cmd": "make" + }, + { + "name": "Deploy", + "shell_cmd": "./build" + } + ] } diff --git a/deploy b/deploy index 3d8b52a..dfb33ef 100755 --- a/deploy +++ b/deploy @@ -1,3 +1,3 @@ #!/bin/bash -cp kernel.img /Volumes/boot/ && sudo umount /Volumes/boot +cp bin/kernel.img /Volumes/boot/ && sudo umount /Volumes/boot