This file contains hidden or 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
| #… | |
| bootstrap: vendor/.last-build | |
| # run bootstrap before building anything | |
| *.o **/*.o: | bootstrap | |
| clean: | |
| rm -rf *.o lib/*.o test_assimp *.dSYM *.gcov *.gcno *.gcda genfiles $(BINS) | |
| distclean: clean |
This file contains hidden or 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
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| ''' | |
| The MIT License (MIT) | |
| Copyright (c) 2012-2013 Karsten Jeschkies <jeskar@web.de> | |
| Permission is hereby granted, free of charge, to any person obtaining a copy of | |
| this software and associated documentation files (the "Software"), to deal in | |
| the Software without restriction, including without limitation the rights to use, | |
| copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the |
This file contains hidden or 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
| import java.io.File | |
| import scala.slick.driver.SQLiteDriver.simple._ | |
| import Database.threadLocalSession | |
| //Define database schema | |
| case class Article(id: Long, title: String, text: String) | |
| object Articles extends Table[Article]("ARTICLES") { | |
| def id = column[Long]("ID", O.PrimaryKey) |
NewerOlder