File: lua.py

package info (click to toggle)
thunar-dropbox-plugin 0.2.1%2Bdfsg1-5
  • links: PTS, VCS
  • area: contrib
  • in suites: buster
  • size: 684 kB
  • sloc: python: 11,406; ansic: 339; sh: 23; makefile: 17
file content (13 lines) | stat: -rw-r--r-- 392 bytes parent folder | download | duplicates (15)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /usr/bin/env python
# encoding: utf-8

import TaskGen
from TaskGen import taskgen,feature
from Constants import*
TaskGen.declare_chain(name='luac',rule='${LUAC} -s -o ${TGT} ${SRC}',ext_in='.lua',ext_out='.luac',reentrant=False,install='LUADIR',)
def init_lua(self):
	self.default_chmod=O755
def detect(conf):
	conf.find_program('luac',var='LUAC',mandatory=True)

feature('lua')(init_lua)