This repository has been archived by the owner on Dec 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d89ab44
commit 5234adc
Showing
9 changed files
with
74 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
*.py[cod] | ||
test/testconfig/cache | ||
MANIFEST | ||
|
||
# C extensions | ||
*.so | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
include README.md COPYING | ||
include packaging/distutils/setup.py | ||
recursive-include share * | ||
include Makefile |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#!/usr/bin/make | ||
# WARN: gmake syntax | ||
######################################################## | ||
# Makefile for Battleschool | ||
# | ||
# useful targets: | ||
# make sdist ---------------- produce a tarball | ||
|
||
######################################################## | ||
# variable section | ||
|
||
NAME = "battleschool" | ||
OS = $(shell uname -s) | ||
|
||
PYTHON=python | ||
SITELIB = $(shell $(PYTHON) -c "from distutils.sysconfig import get_python_lib; print get_python_lib()") | ||
|
||
# VERSION file provides one place to update the software version | ||
VERSION := $(shell cat VERSION) | ||
|
||
######################################################## | ||
|
||
all: clean python | ||
|
||
clean: | ||
@echo "Cleaning up distutils stuff" | ||
rm -rf build | ||
rm -rf dist | ||
@echo "Cleaning up byte compiled python stuff" | ||
find . -type f -regex ".*\.py[co]$$" -delete | ||
@echo "Cleaning up editor backup files" | ||
find . -type f \( -name "*~" -or -name "#*" \) -delete | ||
find . -type f \( -name "*.swp" \) -delete | ||
|
||
python: | ||
$(PYTHON) setup.py build | ||
|
||
install: | ||
$(PYTHON) setup.py install | ||
|
||
sdist: clean | ||
$(PYTHON) setup.py sdist -t MANIFEST.in |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- | ||
- hosts: workstation | ||
vars_files: | ||
- ~/.battleschool/config.yml | ||
|
||
tasks: | ||
- name: print from playbook | ||
debug: msg="in battleschool.yml" | ||
|
||
#- include: {{item}} | ||
# with_items: playbooks |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
[workstation] | ||
localhost ansible_connection=local |